Above is a link to code which uses something besides "<main>" which you may want to follow as an example... (see "<PolyLine>" in the example). I'm going to guess (Without implementing/testing, again, since I'm not at the office) that it has something to do with where you want your menu located (i.e. as a sub-menu, perhaps). My reply text probably isn't so helpful, but I'm hoping the above link will be of some use. -Rob ----- Original Message ----- From: David J. Topper Sent: Tuesday, May 22, 2001 9:13 PM To: gtk-list gnome org Subject: Item factory args Hi folks,
Can anyone explain arg 2?
gtk_item_factory_new (GtkType container_type, const gchar *path, GtkAccelGroup *accel_group);
What is the "path" all about? The examples / docs reference <main> but that has little or no meaning to me.
Thanks,
DT -- Technical Director - Virginia Center for Computer Music http://www.virginia.edu/music/vccm.html
_______________________________________________ gtk-list mailing list gtk-list gnome org http://mail.gnome.org/mailman/listinfo/gtk-list
|