Control Class Reference

This is the base class for a control or "widget". A control is generally a small window which processes user input and/or displays one or more item of data. More...

Inheritance diagram for Control:

Window EvtHandler wxObject IDisposable BitmapButton Button CalendarCtrl CheckBox Choice ComboBox Gauge Listbook ListBox ListCtrl Notebook RadioBox RadioButton ScrollBar Slider SpinButton SpinCtrl StaticBitmap StaticBox StaticLine StaticText StyledTextCtrl TabCtrl TextCtrl ToggleButton ToolBar TreeCtrl

List of all members.

Public Member Functions

 this (IntPtr wxobj)
 this (Window parent, int id, Point pos=wxDefaultPosition, Size size=wxDefaultSize, int style=0, string name=wxControlNameStr)
 this (Window parent, Point pos=wxDefaultPosition, Size size=wxDefaultSize, int style=0, string name=wxControlNameStr)
void Command ()
string Label ()
void Label (string value)
int GetAlignment ()
bool SetFont (Font font)

Static Public Member Functions

static wxObject New (IntPtr wxobj)

Public Attributes

const string wxControlNameStr = "control"


Detailed Description

This is the base class for a control or "widget". A control is generally a small window which processes user input and/or displays one or more item of data.

Constructor & Destructor Documentation

this ( IntPtr  wxobj  ) 

Reimplemented from Window.

Reimplemented in BitmapButton, Button, CalendarCtrl, CheckBox, Choice, ComboBox, Gauge, Listbook, ListBox, CheckListBox, ListCtrl, ListView, Notebook, RadioBox, RadioButton, ScrollBar, Slider, SpinButton, SpinCtrl, StaticBitmap, StaticBox, StaticLine, StaticText, StyledTextCtrl, TabCtrl, TextCtrl, ToggleButton, ToolBar, and TreeCtrl.

this ( Window  parent,
int  id,
Point  pos = wxDefaultPosition,
Size  size = wxDefaultSize,
int  style = 0,
string  name = wxControlNameStr 
)

Constructs a window, which can be a child of a frame, dialog or any other non-control window.

Parameters:
parent Pointer to a parent window.
id Window identifier. If -1, will automatically create an identifier.
pos Window position. wxDefaultPosition is (-1, -1) which indicates that wxWidgets should generate a default position for the window. If using the wxWindow class directly, supply an actual position.
size Window size. wxDefaultSize is (-1, -1) which indicates that wxWidgets should generate a default size for the window. If no suitable size can be found, the window will be sized to 20x20 pixels so that the window is visible but obviously not correctly sized.
style Window style. For generic window styles, please see wxWindow.
name Window name.

Reimplemented from Window.

this ( Window  parent,
Point  pos = wxDefaultPosition,
Size  size = wxDefaultSize,
int  style = 0,
string  name = wxControlNameStr 
)

Reimplemented from Window.


Member Function Documentation

static wxObject New ( IntPtr  wxobj  )  [static]

Reimplemented from Window.

Reimplemented in BitmapButton, Button, CheckBox, Choice, ComboBox, Gauge, Listbook, ListBox, ListCtrl, Notebook, RadioBox, RadioButton, ScrollBar, Slider, SpinButton, SpinCtrl, StaticBitmap, StaticBox, StaticLine, StaticText, StyledTextCtrl, TabCtrl, TextCtrl, ToggleButton, and TreeCtrl.

void Command (  ) 

string Label (  ) 

Reimplemented in BitmapButton, and RadioBox.

void Label ( string  value  ) 

Reimplemented in Button, and RadioBox.

int GetAlignment (  ) 

bool SetFont ( Font  font  ) 


Member Data Documentation

const string wxControlNameStr = "control"


The documentation for this class was generated from the following file:
Generated on Sun Feb 1 21:30:23 2009 for wxD by  doxygen 1.5.4