[Gtk-sharp-list] Menu Questions
Fri, 26 Sep 2003 17:57:34 -0400
There must be an answer to these questions *somewhere*, but Google
didn't help too much...
1. How do I dynamically append to a menu? Consider gedit: when you
create a new tab/window, the Documents menu is modified so that all
currently open documents are listed.
How do I do this in Gtk#? Grabbing the (e.g.) Document MenuItem, then
grabbing the Submenu property, and calling Menu.Append with the new
MenuItem doesn't work.
2. Is it possible to modify the font used by a *single* menu item? I'd
like to make one of my MenuItems use a bold font, but just a *single*
MenuItem, not all of them. Why? I'm trying to go for a Mac OS X-style
menu, with a Bolded Application menu.