Re: question about menu item callback and window closing




thanks!

On 15 Sep 2001, Havoc Pennington wrote:


mcmahill mtl mit edu writes: 
Is the following the correct prototype at least for window_close()?

static void window_close(GtkWidget *widget,
                     GdkEventAny *event,
                     gpointer data)

It should be:

 GtkItemFactoryCallback1 ()

void        (*GtkItemFactoryCallback1)      (gpointer callback_data,
                                             guint callback_action,
                                             GtkWidget *widget);

 
I know this should be a simple question, but I've been unable to find the
answer in the tutorial or API guide.

Yes, the 1.2 API guide is a bit limited. For 2.0 we have 80% of
functions documented so far, and hopefully will have 100% by release.
Not enough time in the day...

Havoc

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list






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