Wt
3.3.0
|
A split button. More...
#include <Wt/WSplitButton>
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. |
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.
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.