Sven Neumann a �crit :

> Hi,
>
> Thierry Brichler <[EMAIL PROTECTED]> writes:
>
> > > I currently have a callback fuction called
> > > void
> > > on_butApply_clicked                    (GtkButton       *button,
> > >                                       gpointer         user_data)
> > >
> >
> > I don't know if this is your main concern, but the general prototype of a
> > callback function is :
> > gboolean callback (GtkObject *object, gpointer data)
> > and not void callback (GtkButton *button, gpointer data)
>
> this is not true. Most signal callbacks in GTK+ are void functions.
> Only all GDK event callbacks have gboolean return values. There is no
> general rule for this; you'll have to check the header files or the
> API reference.
>
> Salut, Sven

Sorry for this simplification.
When I read the original message, it looked as a callback function called
after click (typically GDK event callback).

_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to