wx.Button Class Reference

Inheritance diagram for wx.Button:

wx.Control wx.Window wx.EvtHandler wx.Object

List of all members.

Public Member Functions

 Button (Window parent, string label, Point pos, Size size, wx.WindowStyles style, string name)
 Button (Window parent, string label, Point pos, Size size, wx.WindowStyles style)
 Button (Window parent, string label, Point pos, Size size)
 Button (Window parent, string label, Point pos)
 Button (Window parent, string label)
 Button (Window parent, int id, string label, Point pos, Size size, wx.WindowStyles style, string name)
 Button (Window parent, int id, string label, Point pos, Size size, wx.WindowStyles style)
 Button (Window parent, int id, string label, Point pos, Size size)
 Button (Window parent, int id, string label, Point pos)
 Button (Window parent, int id, string label)
 Button ()
 Button (IntPtr wxObject)
bool Create (Window parent, int id, wxString label, Point pos, Size size, wx.WindowStyles style, wxString name)
bool Create (Window parent, int id, string label, Point pos, Size size, wx.WindowStyles style, string name)
void SetDefault ()
virtual void SetImageMargins (int x, int y)

Static Public Member Functions

static Size GetDefaultSize ()

Properties

virtual Bitmap ImageLabel [set]
new string Label [get, set]

Events

event EventListener Click [add, remove]


Detailed Description

Class of buttons with text labels. Refer also to wx.BitmapButton. Style flags (enumeration wx.WindowStyles) applying to this class of control in particular start with BU_ as prefix.

Constructor & Destructor Documentation

wx.Button.Button ( IntPtr  wxObject  ) 

wx.Button.Button (  ) 

wx.Button.Button ( Window  parent,
int  id,
string  label 
)

wx.Button.Button ( Window  parent,
int  id,
string  label,
Point  pos 
)

wx.Button.Button ( Window  parent,
int  id,
string  label,
Point  pos,
Size  size 
)

wx.Button.Button ( Window  parent,
int  id,
string  label,
Point  pos,
Size  size,
wx.WindowStyles  style 
)

wx.Button.Button ( Window  parent,
int  id,
string  label,
Point  pos,
Size  size,
wx.WindowStyles  style,
string  name 
)

wx.Button.Button ( Window  parent,
string  label 
)

wx.Button.Button ( Window  parent,
string  label,
Point  pos 
)

wx.Button.Button ( Window  parent,
string  label,
Point  pos,
Size  size 
)

wx.Button.Button ( Window  parent,
string  label,
Point  pos,
Size  size,
wx.WindowStyles  style 
)

wx.Button.Button ( Window  parent,
string  label,
Point  pos,
Size  size,
wx.WindowStyles  style,
string  name 
)


Member Function Documentation

bool wx.Button.Create ( Window  parent,
int  id,
wxString  label,
Point  pos,
Size  size,
wx.WindowStyles  style,
wxString  name 
)

bool wx.Button.Create ( Window  parent,
int  id,
string  label,
Point  pos,
Size  size,
wx.WindowStyles  style,
string  name 
)

static Size wx.Button.GetDefaultSize (  )  [static]

void wx.Button.SetDefault (  ) 

virtual void wx.Button.SetImageMargins ( int  x,
int  y 
) [virtual]


Property Documentation

virtual Bitmap wx.Button.ImageLabel [set]

new string wx.Button.Label [get, set]

Reimplemented from wx.Control.


Event Documentation

event EventListener wx.Button.Click [add, remove]


Manual of the wx.NET   (c) 2003-2011 the wx.NET project at   Get wx.NET at SourceForge.net. Fast, secure and Free Open Source software downloads