Optionmenues



Hi!

I'm still having problems with a couple of optionmenues. I want one of
them to affect the contents of the other. Does anyone have a suggestion on
how to do that?

I'm trying to solve it by simply keeping a few menues in a linked list,
and every time you select another option in the first optionmenu, the
second one gets a corresponding menu assigned to it by
gtk_option_menu_set_menu().

This works well as long as I work my way downwards in the first optionmenu
(i.e. each time I pick an option with a higher index). However, if I try
to go "back", I get this error:

Gtk-CRITICAL **: file gtkoptionmenu.c: line 191
(gtk_option_menu_set_menu): assertion `GTK_IS_MENU (menu)' failed.


Does anyone know what my program is suffering from? If you feel like
helping me, I could post the code, but it's quite extensive so I'll wait
and see if there's any interest.

Thanks!
/Emil

-----
Emil Malmberg
Programmer
Icon Medialab Denmark

+45 3338 1458
emil@iconmedialab.dk
www.iconmedialab.dk



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