[gnome-love] gtkbuilder and signals



In the move from libglade to gtkbuilder, if you pop the following in your
shiny new .ui file:

<object class "GtkAction" id=...
<signal name="activate" handler="my_signal_handler">

and in your code:

gtk_builder_connect_signals(builder_pointer, my_data_pointer);

What does my_signal_handler actually get called as? Allegedly it is
void my_signal_handler(void*), but I get the feeling it's more like

gboolean my_signal_handler(GtkWidget *obj, void *my_data_pointer)

?

How can I find out?
(GtkWidget not GtkAction right? so gtk_action_get_name(obj) isn't going to
get me far?)


Cheers,

Patrick



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]