wx.Choice Class Reference

Inheritance diagram for wx.Choice:

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

List of all members.

Public Member Functions

 Choice (Window parent, Point pos, Size size, string[] choices, wx.WindowStyles style, string name)
 Choice (Window parent, Point pos, Size size, string[] choices, wx.WindowStyles style)
 Choice (Window parent, Point pos, Size size, string[] choices)
 Choice (Window parent)
 Choice (Window parent, int id, Point pos, Size size, string[] choices, wx.WindowStyles style, string name)
 Choice (Window parent, int id, Point pos, Size size, string[] choices, wx.WindowStyles style)
 Choice (Window parent, int id, Point pos, Size size, string[] choices)
 Choice (Window parent, int id)
 Choice ()
 Choice (IntPtr wxObject)
void Command (Event evt)
bool Create (Window parent, int id, Point pos, Size size, ArrayString choices, wx.WindowStyles style, wxString name)
bool Create (Window parent, int id, Point pos, Size size, string[] choices, wx.WindowStyles style, string name)

Protected Member Functions

override void CallDTor ()

Properties

int Columns [get, set]
int CurrentSelection [get]

Events

event EventListener Selected [add, remove]


Constructor & Destructor Documentation

wx.Choice.Choice ( IntPtr  wxObject  ) 

wx.Choice.Choice (  ) 

wx.Choice.Choice ( Window  parent,
int  id 
)

wx.Choice.Choice ( Window  parent,
int  id,
Point  pos,
Size  size,
string[]  choices 
)

wx.Choice.Choice ( Window  parent,
int  id,
Point  pos,
Size  size,
string[]  choices,
wx.WindowStyles  style 
)

Refer to prefix CB_ for especially applicable style flags.

wx.Choice.Choice ( Window  parent,
int  id,
Point  pos,
Size  size,
string[]  choices,
wx.WindowStyles  style,
string  name 
)

Refer to prefix CB_ for especially applicable style flags.

wx.Choice.Choice ( Window  parent  ) 

wx.Choice.Choice ( Window  parent,
Point  pos,
Size  size,
string[]  choices 
)

wx.Choice.Choice ( Window  parent,
Point  pos,
Size  size,
string[]  choices,
wx.WindowStyles  style 
)

wx.Choice.Choice ( Window  parent,
Point  pos,
Size  size,
string[]  choices,
wx.WindowStyles  style,
string  name 
)


Member Function Documentation

override void wx.Choice.CallDTor (  )  [protected, virtual]

This will be called by Dispose() to delete the C++ object. Overload this if you have to use another DTor.

Reimplemented from wx.Object.

void wx.Choice.Command ( Event  evt  ) 

bool wx.Choice.Create ( Window  parent,
int  id,
Point  pos,
Size  size,
ArrayString  choices,
wx.WindowStyles  style,
wxString  name 
)

bool wx.Choice.Create ( Window  parent,
int  id,
Point  pos,
Size  size,
string[]  choices,
wx.WindowStyles  style,
string  name 
)


Property Documentation

int wx.Choice.Columns [get, set]

int wx.Choice.CurrentSelection [get]

Read-only property returning the index of the current selection. Unlike ControlWithItems.Selection() which only returns the accepted selection value, i.e. the selection in the control once the user closes the dropdown list, this function returns the current selection. That is, while the dropdown list is shown, it returns the currently selected item in it. When it is not shown, its result is the same as for the other function.


Event Documentation

event EventListener wx.Choice.Selected [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