wx.VListBox Class Reference

Inheritance diagram for wx.VListBox:

wx.VScrolledWindow wx.Panel wx.Window wx.EvtHandler wx.Object wx.HtmlListBox

List of all members.

Public Member Functions

void Clear ()
new bool Create (Window parent, int id, Point pos, Size size, wx.WindowStyles style, wxString name)
new bool Create (Window parent, int id, Point pos, Size size, wx.WindowStyles style, string name)
bool DeselectAll ()
IEnumerator GetEnumerator ()
int GetFirstSelected (out ulong cookie)
int GetNextSelected (out ulong cookie)
bool IsCurrent (int item)
bool IsSelected (int item)
bool Select (int item, bool select)
bool Select (int item)
bool SelectAll ()
bool SelectRange (int from, int to)
void SetMargins (int x, int y)
void Toggle (int item)
 VListBox (Window parent, Point pos, Size size, wx.WindowStyles style, string name)
 VListBox (Window parent, Point pos, Size size, wx.WindowStyles style)
 VListBox (Window parent, Point pos, Size size)
 VListBox (Window parent, Point pos)
 VListBox (Window parent, int id, Point pos, Size size, wx.WindowStyles style, wxString name)
 VListBox (Window parent, int id, Point pos, Size size, wx.WindowStyles style, string name)
 VListBox (Window parent, int id, Point pos, Size size, wx.WindowStyles style)
 VListBox (Window parent, int id, Point pos, Size size)
 VListBox (Window parent, int id, Point pos)
 VListBox (Window parent, int id)
 VListBox (Window parent)
 VListBox ()
 VListBox (IntPtr wxObject)

Protected Member Functions

virtual void OnDrawBackground (DC dc, Rectangle rect, int n)
abstract void OnDrawItem (DC dc, Rectangle rect, int n)
virtual void OnDrawSeparator (DC dc, Rectangle rect, int n)
override int OnGetLineHeight (int line)
abstract int OnMeasureItem (int n)

Properties

bool HasMultipleSelection [get]
int ItemCount [get, set]
Point Margins [get, set]
int SelectedCount [get]
int Selection [get, set]
Colour SelectionBackground [get, set]

Classes

class  EnumerateSelections


Constructor & Destructor Documentation

wx.VListBox.VListBox ( IntPtr  wxObject  ) 

wx.VListBox.VListBox (  ) 

wx.VListBox.VListBox ( Window  parent  ) 

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

wx.VListBox.VListBox ( Window  parent,
int  id,
Point  pos 
)

wx.VListBox.VListBox ( Window  parent,
int  id,
Point  pos,
Size  size 
)

wx.VListBox.VListBox ( Window  parent,
int  id,
Point  pos,
Size  size,
wx.WindowStyles  style 
)

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

wx.VListBox.VListBox ( Window  parent,
int  id,
Point  pos,
Size  size,
wx.WindowStyles  style,
wxString  name 
)

wx.VListBox.VListBox ( Window  parent,
Point  pos 
)

wx.VListBox.VListBox ( Window  parent,
Point  pos,
Size  size 
)

wx.VListBox.VListBox ( Window  parent,
Point  pos,
Size  size,
wx.WindowStyles  style 
)

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


Member Function Documentation

void wx.VListBox.Clear (  ) 

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

Do not forget to use style wx.WindowStyles.TAB_TRAVERSAL if you want this panel to be traversal.

Reimplemented from wx.VScrolledWindow.

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

Do not forget to use style wx.WindowStyles.TAB_TRAVERSAL if you want this panel to be traversal.

Reimplemented from wx.VScrolledWindow.

Reimplemented in wx.HtmlListBox.

bool wx.VListBox.DeselectAll (  ) 

IEnumerator wx.VListBox.GetEnumerator (  ) 

This returns a new instance of EnumerateSelections on this list box.

int wx.VListBox.GetFirstSelected ( out ulong  cookie  ) 

int wx.VListBox.GetNextSelected ( out ulong  cookie  ) 

bool wx.VListBox.IsCurrent ( int  item  ) 

bool wx.VListBox.IsSelected ( int  item  ) 

virtual void wx.VListBox.OnDrawBackground ( DC  dc,
Rectangle  rect,
int  n 
) [protected, virtual]

Reimplemented in wx.HtmlListBox.

abstract void wx.VListBox.OnDrawItem ( DC  dc,
Rectangle  rect,
int  n 
) [protected, pure virtual]

Implemented in wx.HtmlListBox.

virtual void wx.VListBox.OnDrawSeparator ( DC  dc,
Rectangle  rect,
int  n 
) [protected, virtual]

Reimplemented in wx.HtmlListBox.

override int wx.VListBox.OnGetLineHeight ( int  line  )  [protected, virtual]

Implements wx.VScrolledWindow.

Reimplemented in wx.HtmlListBox.

abstract int wx.VListBox.OnMeasureItem ( int  n  )  [protected, pure virtual]

Implemented in wx.HtmlListBox.

bool wx.VListBox.Select ( int  item,
bool  select 
)

bool wx.VListBox.Select ( int  item  ) 

bool wx.VListBox.SelectAll (  ) 

bool wx.VListBox.SelectRange ( int  from,
int  to 
)

void wx.VListBox.SetMargins ( int  x,
int  y 
)

void wx.VListBox.Toggle ( int  item  ) 


Property Documentation

bool wx.VListBox.HasMultipleSelection [get]

int wx.VListBox.ItemCount [get, set]

Point wx.VListBox.Margins [get, set]

int wx.VListBox.SelectedCount [get]

int wx.VListBox.Selection [get, set]

Colour wx.VListBox.SelectionBackground [get, set]


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