MGUI::FORM_BUTTONTEXT Class Reference

Form containing PUSHBUTTON and non-editable text field. More...

#include <mgui/formbtxt.h>

Inheritance diagram for MGUI::FORM_BUTTONTEXT:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 FORM_BUTTONTEXT ()
void ClearText ()
void Create (MGUI::LAYOUT_PANE_BASE &ParentPane, const MISTRING &label, int width=0, MGUI::LAYOUT_SIZEALIGN sizealign=MGUI::LAYOUT_SIZEALIGN_Expand)
CTRL_PUSHBUTTONGetButton ()
CTRL_EDIT_STRINGGetTextCtrl ()
void SetDelegateOnPressed (DELEGATE_VOID_NOPARMS delegate)
void SetText (const MISTRING &string)
void SetToolTipString (const MISTRING &string)

Detailed Description

Form containing PUSHBUTTON and non-editable text field.


Constructor & Destructor Documentation

MGUI::FORM_BUTTONTEXT::FORM_BUTTONTEXT (  ) 

Constructor.


Member Function Documentation

void MGUI::FORM_BUTTONTEXT::ClearText (  )  [inline]

Clear the text field.

void MGUI::FORM_BUTTONTEXT::Create ( MGUI::LAYOUT_PANE_BASE ParentPane,
const MISTRING label,
int  width = 0,
MGUI::LAYOUT_SIZEALIGN  sizealign = MGUI::LAYOUT_SIZEALIGN_Expand 
)

Create with MISTRING/TEXTID label.

Parameters:
ParentPane Parent pane
label Button label string
width Width in 'em' characters
CTRL_PUSHBUTTON& MGUI::FORM_BUTTONTEXT::GetButton (  )  [inline]

Get reference to button control.

CTRL_EDIT_STRING& MGUI::FORM_BUTTONTEXT::GetTextCtrl (  )  [inline]

Get reference to text control.

Returns:
non-editable control reference.
void MGUI::FORM_BUTTONTEXT::SetDelegateOnPressed ( DELEGATE_VOID_NOPARMS  delegate  )  [inline]

Set delegate to call when button pressed.

void MGUI::FORM_BUTTONTEXT::SetText ( const MISTRING string  ) 

Set text to show in field.

void MGUI::FORM_BUTTONTEXT::SetToolTipString ( const MISTRING string  ) 

Set text to show as ToolTip.


The documentation for this class was generated from the following file:

Generated on Sun Oct 7 21:35:55 2012 for TNTsdk 2012 by  doxygen 1.6.1