-
Book Overview & Buying
-
Table Of Contents
qooxdoo Beginner's Guide
By :
A menu allows users to perform an action from the list of actions available in an application. It saves the space by displaying the list in pop-up or pull-down kind of widgets. A menu usually appears in a menu bar, toolbar, or as a context menu. qooxdoo provides two more components to display a menu directly in a form. Those components are MenuButton and SplitButton. When a user chooses or clicks on a menu item, the appropriate event fires and the menu item disappears. Pull-down menus or pop-up menus save space as they display menu items and sub menus over the widgets.
All menu-related classes are shown in the following screenshot:

Let's explore the classes used for creating Menu, Menubar, and Toolbar.
A menu can be constructed with one or more different menu items, such as, Button, CheckBox, RadioButton, and Separator. All these items are given under the qx.ui.menu namespace and are listed as follows:
Button is used to perform an action; mostly, it will...
Change the font size
Change margin width
Change background colour