ListBox Class Reference

Inheritance diagram for ListBox:

Control Window EvtHandler wxObject IDisposable CheckListBox

List of all members.

Public Types

enum  {
  wxLB_SORT = 0x0010,
  wxLB_SINGLE = 0x0020,
  wxLB_MULTIPLE = 0x0040,
  wxLB_EXTENDED = 0x0080,
  wxLB_OWNERDRAW = 0x0100,
  wxLB_NEED_SB = 0x0200,
  wxLB_ALWAYS_SB = 0x0400,
  wxLB_HSCROLL = wxHSCROLL,
  wxLB_INT_HEIGHT = 0x0800
}

Public Member Functions

 this (IntPtr wxobj)
 this ()
 this (Window parent, int id, Point pos=wxDefaultPosition, Size size=wxDefaultSize, string[] choices=null, int style=0, Validator validator=null, string name=wxListBoxNameStr)
 this (Window parent, Point pos=wxDefaultPosition, Size size=wxDefaultSize, string[] choices=null, int style=0, Validator validator=null, string name=wxListBoxNameStr)
bool Create (Window parent, int id, inout Point pos, inout Size size, int n, string[] choices, int style, Validator validator, string name)
int Selection ()
void Selection (int value)
string StringSelection ()
void StringSelection (string value)
void SetSelection (int n, bool select)
void SetSelection (string item, bool select)
void Clear ()
string GetString (int n)
void SetString (int n, string str)
void Append (string item)
void Append (string item, ClientData data)
void Delete (int n)
void Insert (string item, int pos)
void Insert (string item, int pos, ClientData data)
void InsertItems (string[] items, int pos)
void Set (string[] items, ClientData data)
void Set (string[] items)
bool Selected (int n)
bool Sorted ()
bool HasMultipleSelection ()
void Deselect (int n)
void DeselectAll (int itemToLeaveSelected)
int[] Selections ()
void SetFirstItem (int n)
void SetFirstItem (string s)
void Command (Event evt)
int Count ()
void Select_Add (EventListener value)
void Select_Remove (EventListener value)
void DoubleClick_Add (EventListener value)
void DoubleClick_Remove (EventListener value)

Static Public Member Functions

static wxObject New (IntPtr wxobj)

Public Attributes

const string wxListBoxNameStr = "listBox"


Member Enumeration Documentation

anonymous enum

Enumerator:
wxLB_SORT 
wxLB_SINGLE 
wxLB_MULTIPLE 
wxLB_EXTENDED 
wxLB_OWNERDRAW 
wxLB_NEED_SB 
wxLB_ALWAYS_SB 
wxLB_HSCROLL 
wxLB_INT_HEIGHT 


Constructor & Destructor Documentation

this ( IntPtr  wxobj  ) 

Reimplemented from Control.

Reimplemented in CheckListBox.

this (  ) 

Reimplemented in CheckListBox.

this ( Window  parent,
int  id,
Point  pos = wxDefaultPosition,
Size  size = wxDefaultSize,
string[]  choices = null,
int  style = 0,
Validator  validator = null,
string  name = wxListBoxNameStr 
)

Reimplemented in CheckListBox.

this ( Window  parent,
Point  pos = wxDefaultPosition,
Size  size = wxDefaultSize,
string[]  choices = null,
int  style = 0,
Validator  validator = null,
string  name = wxListBoxNameStr 
)

Reimplemented in CheckListBox.


Member Function Documentation

static wxObject New ( IntPtr  wxobj  )  [static]

Reimplemented from Control.

bool Create ( Window  parent,
int  id,
inout Point  pos,
inout Size  size,
int  n,
string[]  choices,
int  style,
Validator  validator,
string  name 
)

int Selection (  ) 

void Selection ( int  value  ) 

string StringSelection (  ) 

void StringSelection ( string  value  ) 

void SetSelection ( int  n,
bool  select 
)

void SetSelection ( string  item,
bool  select 
)

void Clear (  ) 

string GetString ( int  n  ) 

void SetString ( int  n,
string  str 
)

void Append ( string  item  ) 

void Append ( string  item,
ClientData  data 
)

void Delete ( int  n  ) 

void Insert ( string  item,
int  pos 
)

void Insert ( string  item,
int  pos,
ClientData  data 
)

void InsertItems ( string[]  items,
int  pos 
)

void Set ( string[]  items,
ClientData  data 
)

void Set ( string[]  items  ) 

bool Selected ( int  n  ) 

bool Sorted (  ) 

bool HasMultipleSelection (  ) 

void Deselect ( int  n  ) 

void DeselectAll ( int  itemToLeaveSelected  ) 

int [] Selections (  ) 

void SetFirstItem ( int  n  ) 

void SetFirstItem ( string  s  ) 

void Command ( Event  evt  ) 

int Count (  ) 

void Select_Add ( EventListener  value  ) 

void Select_Remove ( EventListener  value  ) 

void DoubleClick_Add ( EventListener  value  ) 

void DoubleClick_Remove ( EventListener  value  ) 


Member Data Documentation

const string wxListBoxNameStr = "listBox"

Reimplemented in CheckListBox.


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