ToolBar Class Reference

Inheritance diagram for ToolBar:

Control Window EvtHandler wxObject IDisposable

List of all members.

Public Types

enum  {
  wxTB_HORIZONTAL = Orientation.wxHORIZONTAL,
  wxTB_VERTICAL = Orientation.wxVERTICAL,
  wxTB_3DBUTTONS = 0x0010,
  wxTB_FLAT = 0x0020,
  wxTB_DOCKABLE = 0x0040,
  wxTB_NOICONS = 0x0080,
  wxTB_TEXT = 0x0100,
  wxTB_NODIVIDER = 0x0200,
  wxTB_NOALIGN = 0x0400,
  wxTB_HORZ_LAYOUT = 0x0800,
  wxTB_HORZ_TEXT = wxTB_HORZ_LAYOUT | wxTB_TEXT
}

Public Member Functions

 this (IntPtr wxobj)
 this (Window parent, int id, Point pos=wxDefaultPosition, Size size=wxDefaultSize, int style=wxNO_BORDER|wxTB_HORIZONTAL)
 this (Window parent, Point pos=wxDefaultPosition, Size size=wxDefaultSize, int style=wxNO_BORDER|wxTB_HORIZONTAL)
ToolBarTool AddTool (int toolid, string label, Bitmap bitmap)
ToolBarTool AddTool (int toolid, string label, Bitmap bitmap, Bitmap bmpDisabled, ItemKind kind, string shortHelp, string longHelp, ClientData clientData)
ToolBarTool AddTool (int toolid, string label, Bitmap bitmap, string shortHelp, ItemKind kind=ItemKind.wxITEM_NORMAL)
ToolBarTool AddTool (int toolid, Bitmap bitmap, Bitmap bmpDisabled, bool toggle, ClientData clientData, string shortHelpString, string longHelpString)
ToolBarTool AddTool (int toolid, Bitmap bitmap, string shortHelpString)
ToolBarTool AddTool (int toolid, Bitmap bitmap, string shortHelpString, string longHelpString)
ToolBarTool AddTool (int toolid, Bitmap bitmap, Bitmap bmpDisabled, bool toggle, int xPos, int yPos, ClientData clientData, string shortHelp, string longHelp)
ToolBarTool InsertTool (int pos, int toolid, Bitmap bitmap, Bitmap bmpDisabled, bool toggle, ClientData clientData, string shortHelp, string longHelp)
ToolBarTool AddCheckTool (int toolid, string label, Bitmap bitmap, Bitmap bmpDisabled, string shortHelp, string longHelp)
ToolBarTool AddRadioTool (int toolid, string label, Bitmap bitmap, Bitmap bmpDisabled, string shortHelp, string longHelp)
ToolBarTool AddControl (Control ctrl)
ToolBarTool InsertControl (int pos, Control ctrl)
ToolBarTool FindControl (int toolid)
ToolBarTool AddSeparator ()
ToolBarTool InsertSeparator (int pos)
ToolBarTool RemoveTool (int toolid)
bool DeleteToolByPos (int pos)
bool DeleteTool (int toolid)
void ClearTools ()
bool Realize ()
void EnableTool (int toolid, bool enable)
void ToggleTool (int toolid, bool toggle)
void SetToolClientData (int toolid, ClientData clientData)
ClientData GetToolClientData (int toolid)
bool GetToolState (int toolid)
bool GetToolEnable (int toolid)
string GetToolShortHelp (int toolid)
void SetToolShortHelp (int toolid, string helpString)
string GetToolLongHelp (int toolid)
void SetToolLongHelp (int toolid, string helpString)
void SetMargins (int x, int y)
Size Margins ()
void Margins (Size value)
int ToolPacking ()
void ToolPacking (int value)
int Separation ()
void Separation (int value)
void Rows (int value)
int MaxRows ()
int MaxCols ()
void SetMaxRowsCols (int rows, int cols)
Size ToolBitmapSize ()
void ToolBitmapSize (Size value)
Size ToolSize ()
ToolBarTool FindToolForPosition (int x, int y)
bool IsVertical ()
override bool AcceptsFocus ()


Member Enumeration Documentation

anonymous enum

Enumerator:
wxTB_HORIZONTAL 
wxTB_VERTICAL 
wxTB_3DBUTTONS 
wxTB_FLAT 
wxTB_DOCKABLE 
wxTB_NOICONS 
wxTB_TEXT 
wxTB_NODIVIDER 
wxTB_NOALIGN 
wxTB_HORZ_LAYOUT 
wxTB_HORZ_TEXT 


Constructor & Destructor Documentation

this ( IntPtr  wxobj  ) 

Reimplemented from Control.

this ( Window  parent,
int  id,
Point  pos = wxDefaultPosition,
Size  size = wxDefaultSize,
int  style = wxNO_BORDER|wxTB_HORIZONTAL 
)

this ( Window  parent,
Point  pos = wxDefaultPosition,
Size  size = wxDefaultSize,
int  style = wxNO_BORDER|wxTB_HORIZONTAL 
)


Member Function Documentation

ToolBarTool AddTool ( int  toolid,
string  label,
Bitmap  bitmap 
)

ToolBarTool AddTool ( int  toolid,
string  label,
Bitmap  bitmap,
Bitmap  bmpDisabled,
ItemKind  kind,
string  shortHelp,
string  longHelp,
ClientData  clientData 
)

ToolBarTool AddTool ( int  toolid,
string  label,
Bitmap  bitmap,
string  shortHelp,
ItemKind  kind = ItemKind.wxITEM_NORMAL 
)

ToolBarTool AddTool ( int  toolid,
Bitmap  bitmap,
Bitmap  bmpDisabled,
bool  toggle,
ClientData  clientData,
string  shortHelpString,
string  longHelpString 
)

ToolBarTool AddTool ( int  toolid,
Bitmap  bitmap,
string  shortHelpString 
)

ToolBarTool AddTool ( int  toolid,
Bitmap  bitmap,
string  shortHelpString,
string  longHelpString 
)

ToolBarTool AddTool ( int  toolid,
Bitmap  bitmap,
Bitmap  bmpDisabled,
bool  toggle,
int  xPos,
int  yPos,
ClientData  clientData,
string  shortHelp,
string  longHelp 
)

ToolBarTool InsertTool ( int  pos,
int  toolid,
Bitmap  bitmap,
Bitmap  bmpDisabled,
bool  toggle,
ClientData  clientData,
string  shortHelp,
string  longHelp 
)

ToolBarTool AddCheckTool ( int  toolid,
string  label,
Bitmap  bitmap,
Bitmap  bmpDisabled,
string  shortHelp,
string  longHelp 
)

ToolBarTool AddRadioTool ( int  toolid,
string  label,
Bitmap  bitmap,
Bitmap  bmpDisabled,
string  shortHelp,
string  longHelp 
)

ToolBarTool AddControl ( Control  ctrl  ) 

ToolBarTool InsertControl ( int  pos,
Control  ctrl 
)

ToolBarTool FindControl ( int  toolid  ) 

ToolBarTool AddSeparator (  ) 

ToolBarTool InsertSeparator ( int  pos  ) 

ToolBarTool RemoveTool ( int  toolid  ) 

bool DeleteToolByPos ( int  pos  ) 

bool DeleteTool ( int  toolid  ) 

void ClearTools (  ) 

bool Realize (  ) 

void EnableTool ( int  toolid,
bool  enable 
)

void ToggleTool ( int  toolid,
bool  toggle 
)

void SetToolClientData ( int  toolid,
ClientData  clientData 
)

ClientData GetToolClientData ( int  toolid  ) 

bool GetToolState ( int  toolid  ) 

bool GetToolEnable ( int  toolid  ) 

string GetToolShortHelp ( int  toolid  ) 

void SetToolShortHelp ( int  toolid,
string  helpString 
)

string GetToolLongHelp ( int  toolid  ) 

void SetToolLongHelp ( int  toolid,
string  helpString 
)

void SetMargins ( int  x,
int  y 
)

Size Margins (  ) 

void Margins ( Size  value  ) 

int ToolPacking (  ) 

void ToolPacking ( int  value  ) 

int Separation (  ) 

void Separation ( int  value  ) 

void Rows ( int  value  ) 

int MaxRows (  ) 

int MaxCols (  ) 

void SetMaxRowsCols ( int  rows,
int  cols 
)

Size ToolBitmapSize (  ) 

void ToolBitmapSize ( Size  value  ) 

Size ToolSize (  ) 

ToolBarTool FindToolForPosition ( int  x,
int  y 
)

bool IsVertical (  ) 

override bool AcceptsFocus (  ) 

Reimplemented from Window.


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