Accessing menu items for XML built components

RESOLVED FIXED

Status

Grendel
User Interface
P3
enhancement
RESOLVED FIXED
20 years ago
17 years ago

People

(Reporter: Mauro Botelho, Assigned: grail)

Tracking

Details

(Reporter)

Description

20 years ago
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.
(Assignee)

Updated

20 years ago
Status: NEW → ASSIGNED
(Assignee)

Comment 1

20 years ago
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?
(Reporter)

Comment 2

20 years ago
That would be perfect!
(Assignee)

Updated

20 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 20 years ago
Resolution: --- → FIXED
(Assignee)

Comment 3

20 years ago
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.