On Sun, Apr 25, 2004 at 21:42:58 +0200, Jens Luedicke wrote:
Hi... I want to modify a Gtk2::MenuItem on-the-fly when its activated. The item is defined inside a item factory and a callback is attached, that should modify it. In my case adding a generated submenu to it and showing it. This fails, and dumps lots of those error messages to the console: Gtk-CRITICAL **: file gtkwidget.c: line 3359 (gtk_widget_event): assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed at ./filer.pl line 53. Gtk-CRITICAL **: file gtkwidget.c: line 3359 (gtk_widget_event): assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed at ./filer.pl line 53. Any ideas how this could be done?
What is at the abovementioned line "filter.pl:53"? So we can find what widget does the "widget" stand for... ------------------------------------------------------------------------------- Jan 'Bulb' Hudec <bulb ucw cz>
Attachment:
signature.asc
Description: Digital signature