On Fri, 2005-07-29 at 16:46 -0700, Wallace Owen wrote:
> Am I doing something wrong? the online ref. man for GtkMenuItem says:
>
> "As it derives from GtkBin it can hold any valid child widget, altough
> only a few are really useful."
>
>
> .. so I put a GtkTable in it, then put a 2D array of GtkEntry widgets in
> that, and then connected the GtkEventBoxes to the button_press_event.
>
> If I put the table into an hbox, the signal handler gets invoked and
> all's hoopy.
>
> What might I be doing wrong? Am I abusing the MenuItem class somehow?
Yes! You are trying to put an a table event boxes (or entries???) in
a menu item? What would that mean?
(Do you want a grid menu? That is supported in the GTK+-2.6 API)
The note in the documentation is probably a bit confusing ... "not
useful" here doesn't just mean "doesn't make sense" but also
"won't fully work" ... interactive widgets in general won't work within
a menu.
Owen
_______________________________________________
gtk-app-devel-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list