dropdown-button

You can create more complex buttons using a drop down button.

Example

<x:overlay xmlns="http://xopus.com/2009/lui">
  <dropdown-button after="SaveButton">  
    <menu>
      <menu-group>
        <menu-item />
      </menu-group>  
    </menu>
  </dropdown-button>
</x:overlay>

dropdown-button element

Namespace: http://xopus.com/2009/lui

Allowed Children

menu

Attributes

after
The ID of the user interface component where the button is positioned after. (Optional)
before
The ID of the user interface component where the button is positioned before. If neither before or after is set, then the toolbar-button element should have a parent with an id attribute, and the button will be appended to the component with that ID. (Optional)
iconsrc
URL for the icon on this button. Relative URI's are resolved from the location of the configuration file. The size of this icon should be 24x24, with the picture inside the 18x18 range. Use a transparent GIF, as we are not adding alpha styling for PNG. (Optional)
id
The ID for this button component. (Optional)
available
When false the button will no longer be available in the toolbar. See also Command.getAvailable.
label
The alt/title text of the button when the user mouseovers the button.

Parent Elements

toolbar-group
overlay

History

version event
Xopus 4.1.3 Introduction.