Top |
Functions
gpointer | (*GOSelectorDndDataGet) () |
void | (*GOSelectorDndDataReceived) () |
void | (*GOSelectorDndFillIcon) () |
void | go_selector_activate () |
int | go_selector_get_active () |
gpointer | go_selector_get_user_data () |
GtkWidget * | go_selector_new () |
gboolean | go_selector_set_active () |
void | go_selector_setup_dnd () |
void | go_selector_update_swatch () |
Object Hierarchy
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkBox ╰── GOSelector
Functions
GOSelectorDndDataReceived ()
void (*GOSelectorDndDataReceived) (GOSelector *selector
,guchar const *data
);
go_selector_activate ()
void
go_selector_activate (GOSelector *selector
);
Updates slector swatch and emits an "activate" signal.
go_selector_get_active ()
int go_selector_get_active (GOSelector *selector
,gboolean *is_auto
);
Retrieves current selection index, and set is_auto
to TRUE if
current selection was set by clicking on automatic palette item.
go_selector_get_user_data ()
gpointer
go_selector_get_user_data (GOSelector *selector
);
A convenience function to access user_data of selector palette.
(See go_palette_get_user_data
).
go_selector_new ()
GtkWidget *
go_selector_new (GOPalette *palette
);
Creates a new selector, using palette
. Selector button swatch will use
swatch render function of palette
.
go_selector_set_active ()
gboolean go_selector_set_active (GOSelector *selector
,int index
);
Sets current selection index, and emits "activate" signal if selection is actually changed.
go_selector_setup_dnd ()
void go_selector_setup_dnd (GOSelector *selector
,char const *dnd_target
,int dnd_length
,GOSelectorDndDataGet data_get
,GOSelectorDndDataReceived data_received
,GOSelectorDndFillIcon fill_icon
);
Setups drag and drop for selector
.
go_selector_update_swatch ()
void
go_selector_update_swatch (GOSelector *selector
);
Requests a swatch update.
Signal Details
The “activate”
signal
void user_function (GOSelector *goselector, gpointer user_data)
Parameters
goselector |
the object which received the signal. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last