Wt  3.3.0
Public Member Functions
Wt::WSplitButton Class Reference

A split button. More...

#include <Wt/WSplitButton>

Inheritance diagram for Wt::WSplitButton:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 WSplitButton (WContainerWidget *parent=0)
 Constructor.
 WSplitButton (const WString &label, WContainerWidget *parent=0)
 Constructor passing the label.
WPushButtonactionButton () const
 Returns the action button.
WPushButtondropDownButton () const
 Returns the drop down button.
void setMenu (WPopupMenu *menu)
 Sets the menu for the drop-down button.
WPopupMenumenu () 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

Generated on Mon Apr 8 2013 for the C++ Web Toolkit (Wt) by doxygen 1.7.5.1