foxGUIbGUI Creator for Ruby + Fox |
|
Guide Contents
Creating menus
Conventional menusfoxGUIb has a number of widgets to provide menus. Here is the tree for a menu bar with two menus: File and Edit.The File menu has Open and Save, and The Edit menu has Cut, Copy and Paste.
MainWindow
MenuBar
MenuTitle (set its text to File)
MenuPane (added automatically by foxGUIb)
MenuCommandOpen
MenuCommandSave
MenuTitle (set its text to Edit)
MenuPane (added automatically by foxGUIb)
MenuCommandCut
MenuCommandCopy
MenuCommandPaste
VerticalFrame
etc...
Note:
Pop-up Menus...cannot be created currently in foxGUIb.
|