Re: function type
- From: Paul Davis <pbd Op Net>
- To: Ignacio Nodal <inodal teleline es>
- Cc: GTK-List <gtk-list gnome org>
- Subject: Re: function type
- Date: Tue, 20 Mar 2001 10:13:24 -0500
>Hi, i'm writing a class in C++ which has a member-function to add a
>button into the widget. It's declared like this:
>
>gboolean AddButton(gint* id, gchar* label, function_type callback,
>gpointer data);
>
>Which type should I use for the callback? Something like GtkSignalFunc??
can't be answered without knowing which signal you plan on connecting to.
clicked ? button_press ? button_release ? enter_notify? etc.
why aren't you using Gtk-- ?
--p
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]