Top |
GladeSignal * | glade_signal_new () |
GladeSignal * | glade_signal_clone () |
gboolean | glade_signal_equal () |
GladeSignal * | glade_signal_read () |
void | glade_signal_write () |
void | glade_signal_editor_enable_dnd () |
gboolean | glade_signal_get_after () |
const GladeSignalDef * | glade_signal_get_def () |
const gchar * | glade_signal_get_detail () |
const gchar * | glade_signal_get_handler () |
const gchar * | glade_signal_get_name () |
const gchar * | glade_signal_get_support_warning () |
gboolean | glade_signal_get_swapped () |
const gchar * | glade_signal_get_userdata () |
void | glade_signal_set_after () |
void | glade_signal_set_detail () |
void | glade_signal_set_handler () |
void | glade_signal_set_support_warning () |
void | glade_signal_set_swapped () |
void | glade_signal_set_userdata () |
GladeSignal * glade_signal_new (const GladeSignalDef *sig_def
,const gchar *handler
,const gchar *userdata
,gboolean after
,gboolean swapped
);
Creates a new GladeSignal with the given parameters.
gboolean glade_signal_equal (const GladeSignal *sig1
,const GladeSignal *sig2
);
GladeSignal * glade_signal_read (GladeXmlNode *node
,GladeWidgetAdaptor *adaptor
);
Reads and creates a ner GladeSignal based on node
void glade_signal_write (GladeSignal *signal
,GladeXmlContext *context
,GladeXmlNode *node
);
Writes signal
to node
void glade_signal_editor_enable_dnd (GladeSignalEditor *editor
,gboolean enabled
);
If drag and drop support is enabled, the user will be able to drag signal handler from the tree to some editor. The type of the dnd data will be "application/x-glade-signal" and it will be in the form of "widget:signal:handler" so for example "GtkToggleButton:toggled:on_toggle_button_toggled".
gboolean
glade_signal_get_after (const GladeSignal *signal
);
Get whether the handler should be called before or after the default handler of the signal.
const GladeSignalDef *
glade_signal_get_def (const GladeSignal *signal
);
Get the signal definition.
const gchar *
glade_signal_get_detail (const GladeSignal *signal
);
Get the signal detail.
const gchar *
glade_signal_get_handler (const GladeSignal *signal
);
Get the signal handler.
const gchar *
glade_signal_get_name (const GladeSignal *signal
);
Get the name of the signal from the signal definition.
const gchar *
glade_signal_get_support_warning (const GladeSignal *signal
);
gboolean
glade_signal_get_swapped (const GladeSignal *signal
);
Get whether the instance and userdata arguments should be swapped.
const gchar *
glade_signal_get_userdata (const GladeSignal *signal
);
Get the userdata handler.
void glade_signal_set_after (GladeSignal *signal
,gboolean after
);
Set whether the handler should be called before or after the default handler of the signal.
void glade_signal_set_detail (GladeSignal *signal
,const gchar *detail
);
Set the detail of the signal.
void glade_signal_set_handler (GladeSignal *signal
,const gchar *handler
);
Set the handler of the signal.
void glade_signal_set_support_warning (GladeSignal *signal
,const gchar *support_warning
);
void glade_signal_set_swapped (GladeSignal *signal
,gboolean swapped
);
Set whether the instance and userdata arguments should be swapped.
void glade_signal_set_userdata (GladeSignal *signal
,const gchar *userdata
);
Set the userdata of the signal.