mozilla
Your Search Results

    toolbarbutton.type

    type
    Type: string
    The type of button. If this attribute is not present, a normal button is created. You can set this attribute to the value menu to create a button with a menu popup. This will typically cause the button to be displayed differently.
    • menu: Set the type attribute to the value menu to create a button with a menu popup. Place a menupopup element inside the button in this case. The user may click anywhere on the button to open and close the menu.
    • menu-button: You can also use the value menu-button to create a button with a menu. Unlike the menu type, this type requires the user to press the arrow to open the menu, but a different command may be invoked when the main part of the button is pressed.
    • checkbox: Use this type to create a toggle button which will switch the checked state each time the button is pressed.
    • radio: Use this type to create a radio button. You can also create a group of toolbarbuttons using this type and the attribute group.

    See also

    Document Tags and Contributors

    Contributors to this page: Sheppy, Enn, pwalton, Marsf, Mgjbot, Dria, codefisher, Yanmorin
    Last updated by: Sheppy,