Re: dynamic menus

2007-02-22 Thread Dan McMahill
David Nečas (Yeti) wrote: > On Wed, Feb 21, 2007 at 10:40:07PM -0500, Dan McMahill wrote: > >>Question #1 >> >> - is it possible to keep certain menuitems in the xml and the >>associated GtkActionEntry but toggle if they are visible or not? >>Something like gtk_widget_hide() and gtk_widget_sho

Re: dynamic menus

2007-02-21 Thread Yeti
On Wed, Feb 21, 2007 at 10:40:07PM -0500, Dan McMahill wrote: > Question #1 > >- is it possible to keep certain menuitems in the xml and the > associated GtkActionEntry but toggle if they are visible or not? > Something like gtk_widget_hide() and gtk_widget_show()? Or do I have to > basica

dynamic menus

2007-02-21 Thread Dan McMahill
Hello, I have two questions about menus in gtk. I've created the menus via an xml description and the gtk UI manager. Question #1 - is it possible to keep certain menuitems in the xml and the associated GtkActionEntry but toggle if they are visible or not? Something like gtk_widget_hide()

Dynamic Menus (proper post)

2006-04-25 Thread Ivan N. Zlatev
Hi again, My greatest apologies for posting twice, but unfortunately my experience with mailing lists is limited and I've just found out that my attachment is missing and also I will provide a more detailed explanation of my problem in this re-post. The code/test case you can find at http://files

Dynamic Menus?

2006-04-24 Thread Ivan N. Zlatev
Hi, I have provided a test case as an attachment.What I am trying to do is dynamically create submenus by handling "select" and "deselect" events. I have two problems: 1) The actual sub menu is not being shown. It is shown only if I click on the menu item. 2) It crashes if I double click on a men