Closed Bug 4049 Opened 26 years ago Closed 26 years ago

Accessing menu items for XML built components

Categories

(Grendel Graveyard :: User Interface, enhancement, P3)

All
Windows 98
enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mabotelh, Assigned: grail)

Details

How can I access a specific menu item, when it's created from XML. What I want to do is set the status of the menu to checked when I create the frame.
Status: NEW → ASSIGNED
I'm going to change the menu that is returned from XMLMenuBuilder.getComponent() to be a MenuBarCtrl. This object will have a getMenu(String key) that returns a menu item of some sort. Does this sound adequate?
That would be perfect!
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Done. Needs testing. Let me know how it goes. Look at grendel/ui/MenuBarCtrl and grendel/ui/MenuCtrl. Mail me questions if you have questions.
You need to log in before you can comment on or make changes to this bug.