Re: Popup menu refuses appends :-(



"Shantanu  Kumar" <shantanu_k06 rediffmail com> writes:

Hi,

Is it possible to add menuitems to a menu at runtime? I mean, when the
menu is already displayed. And same, is it possible to set/remove
submenus to menuitems at runtime?

I am listing below a small program, which is a sample of what I have
been unsuccessfully trying to do. I wanted to either add menuitems or
set new submenus at runtime through callbacks, while the menu is
already displayed. But not only the runtime assertion error shows up,
also no effect is seen on the menu. Any pointers/guidance will be of
immense help.

This is known not to work in 2.0.x; its been fixed in the
2.1.x series.

See:
  
  http://bugzilla.gnome.org/show_bug.cgi?id=78949

Regards,
                                        Owen



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