There is a problem with the Option Menu.  Glade doesn't allow callbacks
to be specified when the menu option item is selected.  The only thing I
could come up with was to edit the 'interface.c' file.

  gtk_signal_connect (GTK_OBJECT (glade_menuitem), "activate",
                      GTK_SIGNAL_FUNC (on_settings_menu_activate),
                      "Setting 1");

  gtk_signal_connect (GTK_OBJECT (glade_menuitem), "activate",
                      GTK_SIGNAL_FUNC (on_settings_menu_activate),
                      "Setting 2");

....


This is bad because:

1) Editing the inerface.c file is not real slick

2) Having to specify a callback for each menu option is not the way to
do things.  There should be one callback for the entire menu.  The
callback function could then be able to figure out which option was
selected (by label?)


+---------------------------------------------------------------------+
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the line "unsubscribe glade-devel" in the body of the message.

Reply via email to