You should be able to see exactly what the MenuFactory code in GtkExtra.py
does by reading it. It is probably better to switch over to using
GtkItemFactory, as the GtkMenuFactory interface for GTK has been
deprecated. With that interface, you can call the create_items method
as many times as you want, and use the get_widget() method if you need to
do anything extra (eg getting the submenu attached to an item and
appending extra items).
The other option is to use the GNOME UIInfo stuff in the gnome-python
package.
James Henstridge.
--
Email: [EMAIL PROTECTED]
WWW: http://www.daa.com.au/~james/
On Wed, 13 Jan 1999, David M. Cook wrote:
> Is it possible to insert items into a MenuFactory menu? All I can think of
> now is destroying the old one and putting a new one in its place.
>
> Dave Cook
> To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]
>
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]