On Aug 31, 2005, at 12:03 PM, Chase wrote:
The most important detail is that declares don't work in 5.x for
modifying the application menu.
what can i do then?
couldn't it be done via a plugin?
i haven't tinkered with building plugins in a while, but i don't think
this would be too tricky would it?
The inability to tweak application menus via external functions is a
consequence of the redesign of menus in Rb 5, so I don't think that a
plugin will get it done either. But it is possible to replace the
menus entirely. You can lay out the menus using Interface Builder and
load the menus from a .nib file in your Rb application. I discuss the
technique for doing so in my book on declares
<http://www.declareSub.com/>. Of course you lose all of the Rb support
for menu handlers, etc. and must implement it yourself. This would be
a substantial chunk of work.
--------------
Charles Yeomans
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|