#include <mgui/ctrl.h>
Inheritance diagram for MGUI::CTRL_TOGGLEBUTTON:

Public Types | |
| enum | STYLE { STYLE_Check, STYLE_Radio, STYLE_RadioFirst } |
Public Member Functions | |
| void | Create (MGUI::LAYOUT_PANE_BASE &ParentPane, ICONID iconid, const MISTRING &tooltip, STYLE style=STYLE_Check, bool dftvalue=false, int iconsize=0) |
| void | Create (MGUI::LAYOUT_PANE_BASE &ParentPane, ICONID iconid, const char *tooltip, STYLE style=STYLE_Check, bool dftvalue=false, int iconsize=0) |
| void | Create (MGUI::LAYOUT_PANE_BASE &ParentPane, const MISTRING &label, STYLE style=STYLE_Check, bool dftvalue=false, MGUI::LAYOUT_SIZEALIGN sizealign=MGUI::LAYOUT_SIZEALIGN_FixedSize) |
| void | Create (MGUI::LAYOUT_PANE_BASE &ParentPane, const char *label, STYLE style=STYLE_Check, bool dftvalue=false, MGUI::LAYOUT_SIZEALIGN sizealign=MGUI::LAYOUT_SIZEALIGN_FixedSize) |
| CTRL_TOGGLEBUTTON () | |
| CButton & | GetCtrl () |
| bool | GetValue () const |
| void | SetValue (bool value, bool notify=true) |
| virtual | ~CTRL_TOGGLEBUTTON () |
Protected Member Functions | |
| virtual void | OnPressed () |
Note that in the X version radio behavior between buttons is NOT enforced by this control. For portability it is recommended that the MGUI::FORM_RADIOBUTTONS class be used to manage a set of radio buttons or that the code enforce radio behavior itself for more complex cases.
Definition at line 841 of file ctrl.h.
|
|
|
|
|
Constructor.
|
|
|
Destructor.
|
|
||||||||||||||||||||||||||||
|
Create icon togglebutton with Unicode ToolTip.
|
|
||||||||||||||||||||||||||||
|
Create icon togglebutton with ToolTip from resource lookup.
|
|
||||||||||||||||||||||||
|
Create with Unicode label.
|
|
||||||||||||||||||||||||
|
Create with label from resource lookup.
|
|
|
Get reference to MFC control (MFC only).
|
|
|
Get current toggle setting.
|
|
|
Called when button is pushed.
|
|
||||||||||||
|
Set control value.
|
1.3.8-20040913