modifying Gtk2::MenuItem on the fly
- From: Jens Luedicke <jens gcc dyndns org>
- To: gtk-perl list <gtk-perl-list gnome org>
- Subject: modifying Gtk2::MenuItem on the fly
- Date: Sun, 25 Apr 2004 21:42:58 +0200
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?
Jens
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]