GtkItemFactoryEntry question
- From: Peter Jay Salzman <p dirac org>
- To: gtk-app-devel-list gnome org
- Subject: GtkItemFactoryEntry question
- Date: Thu, 12 Jul 2001 17:19:16 -0700
hi there,
i'm trying to understand some code. here are some entries in the menubar:
static GtkItemFactoryEntry menu_items[] = {
{ "/_File", NULL, NULL, 0, "<Branch>" },
{ "/File/_New", "<control>N", hello, 0, NULL },
}
however, the hello function takes two arguments:
void hello( GtkWidget *widget, gpointer data );
when the call to hello is made by clicking File | New, , what *widget gets
passed? and what data? the menu item doesn't give any arguments.
thanks!
pete
--
"The following addresses had permanent fatal errors..." p dirac org
-- Mailer Daemon www.dirac.org/p
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]