menu bars

5 views
Skip to first unread message

Cire

unread,
Nov 17, 2009, 8:50:00 PM11/17/09
to limelight
I've been looking for examples on how to create and use menu bars.

Micah Martin

unread,
Nov 18, 2009, 2:42:38 AM11/18/09
to limelig...@googlegroups.com
Cire,

Support for menu bars is a little half baked at the moment. There is a DSL to build menu bars in Limelight::DSL::MenuBar and you can add a menu to any stage's frame.....

menu_bar = Limelight::DSL::MenuBar.build do
...
end
stage.frame.setJMenuBar(menu_bar)

Micah

emeyer

unread,
Nov 18, 2009, 3:28:47 PM11/18/09
to limelight
To add on to what Micah said, there is a section in the RDoc for the
Limelight::DSL::MenuBar that explains this in more detail.

Eric
Reply all
Reply to author
Forward
0 new messages