Ardour  9.0-pre0-582-g084a23a80d
gtkcolorsel.h File Reference
#include <gtk/gtkdialog.h>
#include <gtk/gtkvbox.h>
Include dependency graph for gtkcolorsel.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _GtkColorSelection
 
struct  _GtkColorSelectionClass
 

Macros

#define GTK_TYPE_COLOR_SELECTION   (gtk_color_selection_get_type ())
 
#define GTK_COLOR_SELECTION(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_COLOR_SELECTION, GtkColorSelection))
 
#define GTK_COLOR_SELECTION_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_COLOR_SELECTION, GtkColorSelectionClass))
 
#define GTK_IS_COLOR_SELECTION(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_COLOR_SELECTION))
 
#define GTK_IS_COLOR_SELECTION_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_COLOR_SELECTION))
 
#define GTK_COLOR_SELECTION_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_COLOR_SELECTION, GtkColorSelectionClass))
 

Typedefs

typedef struct _GtkColorSelection GtkColorSelection
 
typedef struct _GtkColorSelectionClass GtkColorSelectionClass
 
typedef void(* GtkColorSelectionChangePaletteFunc) (const GdkColor *colors, gint n_colors)
 
typedef void(* GtkColorSelectionChangePaletteWithScreenFunc) (GdkScreen *screen, const GdkColor *colors, gint n_colors)
 

Functions

GType gtk_color_selection_get_type (void) G_GNUC_CONST
 
GtkWidgetgtk_color_selection_new (void)
 
gboolean gtk_color_selection_get_has_opacity_control (GtkColorSelection *colorsel)
 
void gtk_color_selection_set_has_opacity_control (GtkColorSelection *colorsel, gboolean has_opacity)
 
gboolean gtk_color_selection_get_has_palette (GtkColorSelection *colorsel)
 
void gtk_color_selection_set_has_palette (GtkColorSelection *colorsel, gboolean has_palette)
 
void gtk_color_selection_set_current_color (GtkColorSelection *colorsel, const GdkColor *color)
 
void gtk_color_selection_set_current_alpha (GtkColorSelection *colorsel, guint16 alpha)
 
void gtk_color_selection_get_current_color (GtkColorSelection *colorsel, GdkColor *color)
 
guint16 gtk_color_selection_get_current_alpha (GtkColorSelection *colorsel)
 
void gtk_color_selection_set_previous_color (GtkColorSelection *colorsel, const GdkColor *color)
 
void gtk_color_selection_set_previous_alpha (GtkColorSelection *colorsel, guint16 alpha)
 
void gtk_color_selection_get_previous_color (GtkColorSelection *colorsel, GdkColor *color)
 
guint16 gtk_color_selection_get_previous_alpha (GtkColorSelection *colorsel)
 
gboolean gtk_color_selection_is_adjusting (GtkColorSelection *colorsel)
 
gboolean gtk_color_selection_palette_from_string (const gchar *str, GdkColor **colors, gint *n_colors)
 
gchar * gtk_color_selection_palette_to_string (const GdkColor *colors, gint n_colors)
 
GtkColorSelectionChangePaletteFunc gtk_color_selection_set_change_palette_hook (GtkColorSelectionChangePaletteFunc func)
 
GtkColorSelectionChangePaletteWithScreenFunc gtk_color_selection_set_change_palette_with_screen_hook (GtkColorSelectionChangePaletteWithScreenFunc func)
 
void gtk_color_selection_set_color (GtkColorSelection *colorsel, gdouble *color)
 
void gtk_color_selection_get_color (GtkColorSelection *colorsel, gdouble *color)
 
void gtk_color_selection_set_update_policy (GtkColorSelection *colorsel, GtkUpdateType policy)
 

Macro Definition Documentation

◆ GTK_COLOR_SELECTION

#define GTK_COLOR_SELECTION (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_COLOR_SELECTION, GtkColorSelection))

Definition at line 41 of file gtkcolorsel.h.

◆ GTK_COLOR_SELECTION_CLASS

#define GTK_COLOR_SELECTION_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_COLOR_SELECTION, GtkColorSelectionClass))

Definition at line 42 of file gtkcolorsel.h.

◆ GTK_COLOR_SELECTION_GET_CLASS

#define GTK_COLOR_SELECTION_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_COLOR_SELECTION, GtkColorSelectionClass))

Definition at line 45 of file gtkcolorsel.h.

◆ GTK_IS_COLOR_SELECTION

#define GTK_IS_COLOR_SELECTION (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_COLOR_SELECTION))

Definition at line 43 of file gtkcolorsel.h.

◆ GTK_IS_COLOR_SELECTION_CLASS

#define GTK_IS_COLOR_SELECTION_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_COLOR_SELECTION))

Definition at line 44 of file gtkcolorsel.h.

◆ GTK_TYPE_COLOR_SELECTION

#define GTK_TYPE_COLOR_SELECTION   (gtk_color_selection_get_type ())

Definition at line 40 of file gtkcolorsel.h.

Typedef Documentation

◆ GtkColorSelection

Definition at line 38 of file gtkcolorsel.h.

◆ GtkColorSelectionChangePaletteFunc

typedef void(* GtkColorSelectionChangePaletteFunc) (const GdkColor *colors, gint n_colors)

Definition at line 52 of file gtkcolorsel.h.

◆ GtkColorSelectionChangePaletteWithScreenFunc

typedef void(* GtkColorSelectionChangePaletteWithScreenFunc) (GdkScreen *screen, const GdkColor *colors, gint n_colors)

Definition at line 54 of file gtkcolorsel.h.

◆ GtkColorSelectionClass

Definition at line 38 of file gtkcolorsel.h.

Function Documentation

◆ gtk_color_selection_get_color()

void gtk_color_selection_get_color ( GtkColorSelection colorsel,
gdouble *  color 
)

◆ gtk_color_selection_get_current_alpha()

guint16 gtk_color_selection_get_current_alpha ( GtkColorSelection colorsel)

◆ gtk_color_selection_get_current_color()

void gtk_color_selection_get_current_color ( GtkColorSelection colorsel,
GdkColor color 
)

◆ gtk_color_selection_get_has_opacity_control()

gboolean gtk_color_selection_get_has_opacity_control ( GtkColorSelection colorsel)

◆ gtk_color_selection_get_has_palette()

gboolean gtk_color_selection_get_has_palette ( GtkColorSelection colorsel)

◆ gtk_color_selection_get_previous_alpha()

guint16 gtk_color_selection_get_previous_alpha ( GtkColorSelection colorsel)

◆ gtk_color_selection_get_previous_color()

void gtk_color_selection_get_previous_color ( GtkColorSelection colorsel,
GdkColor color 
)

◆ gtk_color_selection_get_type()

GType gtk_color_selection_get_type ( void  )

◆ gtk_color_selection_is_adjusting()

gboolean gtk_color_selection_is_adjusting ( GtkColorSelection colorsel)

◆ gtk_color_selection_new()

GtkWidget* gtk_color_selection_new ( void  )

◆ gtk_color_selection_palette_from_string()

gboolean gtk_color_selection_palette_from_string ( const gchar *  str,
GdkColor **  colors,
gint *  n_colors 
)

◆ gtk_color_selection_palette_to_string()

gchar* gtk_color_selection_palette_to_string ( const GdkColor colors,
gint  n_colors 
)

◆ gtk_color_selection_set_change_palette_hook()

GtkColorSelectionChangePaletteFunc gtk_color_selection_set_change_palette_hook ( GtkColorSelectionChangePaletteFunc  func)

◆ gtk_color_selection_set_change_palette_with_screen_hook()

GtkColorSelectionChangePaletteWithScreenFunc gtk_color_selection_set_change_palette_with_screen_hook ( GtkColorSelectionChangePaletteWithScreenFunc  func)

◆ gtk_color_selection_set_color()

void gtk_color_selection_set_color ( GtkColorSelection colorsel,
gdouble *  color 
)

◆ gtk_color_selection_set_current_alpha()

void gtk_color_selection_set_current_alpha ( GtkColorSelection colorsel,
guint16  alpha 
)

◆ gtk_color_selection_set_current_color()

void gtk_color_selection_set_current_color ( GtkColorSelection colorsel,
const GdkColor color 
)

◆ gtk_color_selection_set_has_opacity_control()

void gtk_color_selection_set_has_opacity_control ( GtkColorSelection colorsel,
gboolean  has_opacity 
)

◆ gtk_color_selection_set_has_palette()

void gtk_color_selection_set_has_palette ( GtkColorSelection colorsel,
gboolean  has_palette 
)

◆ gtk_color_selection_set_previous_alpha()

void gtk_color_selection_set_previous_alpha ( GtkColorSelection colorsel,
guint16  alpha 
)

◆ gtk_color_selection_set_previous_color()

void gtk_color_selection_set_previous_color ( GtkColorSelection colorsel,
const GdkColor color 
)

◆ gtk_color_selection_set_update_policy()

void gtk_color_selection_set_update_policy ( GtkColorSelection colorsel,
GtkUpdateType  policy 
)