[MonoDevelop] Stetic questios
Lluis Sanchez
lluis at ximian.com
Wed Dec 12 06:15:02 EST 2007
El dl 10 de 12 del 2007 a les 23:57 -0500, en/na Miguel de Icaza va
escriure:
> Hello,
>
> Am creating some data dynamically for a menu, and it is not clear
> how I can add this information to my window.
>
> The UIManager that Stetic creates is a local variable to the build
> routine so I can not access that. Another option is to use the
> menubar that is attached to the Window, and the manually walk the menu
> hierarchy, but that sounds incredibly suboptimal since we have the UImanager in place.
>
> Alternatively, I would be happy if I could insert a placeholder in
> the menu structure inside Stetic and reference that from the source.
You can add a set of actions to the menu and dynamically
hide/show/update them at run-time. If that is not enough, the only
option right now is to walk the menu hierarchy. However, it might make
sense to make the UIManager accessible. I add it to my TODO.
Lluis.
More information about the Monodevelop-list
mailing list