Well, if you're looking at an XML schema for GTK menus, I'd recommend the Glade file format. It would be a lot less work for you than rolling your own.
shandy On Wed, 2002-09-11 at 06:49, Arjan Molenaar wrote: > Hi, > > What's the best way to create dynamic menus (the user can change the > menu content through a dialog box and plugins can add their). I'm > currently coding in Python, but a C example/implementation is fine. > > I am thinking about some sort of XML file where I save the menu > configuration (maybe using gconf). I want to make my app (Gaphor) very > extensible, so hard coded menus are not-done. > > I'm also trying to come up with a plugin architecture (in python or > bonobo based). A plugin should be able to add one or more menu items > (for example for radio menu items) and theoratically should be able to > load and unload on demand. > > Ant ideas? > > Thanks in advance. > > Regards, > > Arjan > > > > > > _______________________________________________ > pygtk mailing list [EMAIL PROTECTED] > http://www.daa.com.au/mailman/listinfo/pygtk > Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/ _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/