[Gtk-sharp-list] Add MenuItem

innominate natenate at gmail.com
Thu Aug 21 16:24:03 EDT 2008


Hi I am a first time gtk# user.  I am looking for an equivalent way to do
this in gtk#:

MenuItem m2 = new MenuItem("bla");
m1.MenuItems.Add(m2);

In other words dynamically add or remove menu items.  Right now I am using
the gui editor with monodevelop to generate my gui code, and from the code
it generates the only way I can see would be to regenerate the entire menu.
-- 
View this message in context: http://www.nabble.com/Add-MenuItem-tp19023962p19023962.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.



More information about the Gtk-sharp-list mailing list