Wt: Wt::WSplitButton Class Reference

Wt 3.3.0

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Hierarchy
- Class Members

Public Member Functions
Wt::WSplitButton Class Reference

A split button. More...

`#include <Wt/WSplitButton>`

Inheritance diagram for Wt::WSplitButton:
[legend]

List of all members.

## Public Member Functions
| WSplitButton (WContainerWidget *parent=0)
| Constructor.
| WSplitButton (const WString &label, WContainerWidget *parent=0)
| Constructor passing the label.
WPushButton * | actionButton () const
| Returns the action button.
WPushButton * | dropDownButton () const
| Returns the drop down button.
void | setMenu (WPopupMenu *menu)
| Sets the menu for the drop-down button.
WPopupMenu * | menu () const
| Returns the menu for the drop-down button.

## Detailed Description

A split button.

A split button combines a button and a drop down menu. Typically, the button represents an action, with related alternative actions accessible from the drop down menu.

## Member Function Documentation

WPushButton * Wt::WSplitButton::actionButton | ( |  | ) | const

Returns the action button.

This is the button that represents the main action.

WPushButton * Wt::WSplitButton::dropDownButton | ( |  | ) | const

Returns the drop down button.

This represents the button that represents the drop-down action.

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator