wx.ToolBarTool Class Reference

Inheritance diagram for wx.ToolBarTool:

wx.Object

List of all members.

Public Member Functions

void Attach (ToolBar tbar)
void Detach ()
void Toggle (bool toggle)
void Toggle ()
 ToolBarTool (ToolBar tbar, Control control)
 ToolBarTool (ToolBar tbar, int toolid, wxString label, Bitmap bmpNormal, Bitmap bmpDisabled, ItemKind kind, ClientData clientData, wxString shortHelpString, wxString longHelpString)
 ToolBarTool (ToolBar tbar, int toolid, string label, Bitmap bmpNormal, Bitmap bmpDisabled, ItemKind kind, ClientData clientData, string shortHelpString, string longHelpString)
 ToolBarTool (IntPtr wxObject)

Properties

bool CanBeToggled [get]
ClientData ClientData [get, set]
Control Control [get]
Bitmap DisabledBitmap [set]
bool Enabled [get, set]
int ID [get]
bool IsButton [get]
bool IsControl [get]
bool IsSeparator [get]
ItemKind Kind [get]
string Label [get, set]
string LongHelp [get, set]
Bitmap NormalBitmap [set]
string ShortHelp [get, set]
uint style [get]
bool Toggled [get, set]
ToolBar ToolBar [get]


Constructor & Destructor Documentation

wx.ToolBarTool.ToolBarTool ( IntPtr  wxObject  ) 

wx.ToolBarTool.ToolBarTool ( ToolBar  tbar,
int  toolid,
string  label,
Bitmap  bmpNormal,
Bitmap  bmpDisabled,
ItemKind  kind,
ClientData  clientData,
string  shortHelpString,
string  longHelpString 
)

wx.ToolBarTool.ToolBarTool ( ToolBar  tbar,
int  toolid,
wxString  label,
Bitmap  bmpNormal,
Bitmap  bmpDisabled,
ItemKind  kind,
ClientData  clientData,
wxString  shortHelpString,
wxString  longHelpString 
)

wx.ToolBarTool.ToolBarTool ( ToolBar  tbar,
Control  control 
)


Member Function Documentation

void wx.ToolBarTool.Attach ( ToolBar  tbar  ) 

void wx.ToolBarTool.Detach (  ) 

void wx.ToolBarTool.Toggle ( bool  toggle  ) 

Toggles a tool on or off. This does not cause any event to get emitted. Only applies to a tool that has been specified as a toggle tool.

Parameters:
toggle If true, toggles the tool on, otherwise toggles it off.
See also:
GetToolState

void wx.ToolBarTool.Toggle (  ) 

Toggles the tool.


Property Documentation

bool wx.ToolBarTool.CanBeToggled [get]

ClientData wx.ToolBarTool.ClientData [get, set]

Control wx.ToolBarTool.Control [get]

Bitmap wx.ToolBarTool.DisabledBitmap [set]

bool wx.ToolBarTool.Enabled [get, set]

int wx.ToolBarTool.ID [get]

bool wx.ToolBarTool.IsButton [get]

bool wx.ToolBarTool.IsControl [get]

bool wx.ToolBarTool.IsSeparator [get]

ItemKind wx.ToolBarTool.Kind [get]

string wx.ToolBarTool.Label [get, set]

string wx.ToolBarTool.LongHelp [get, set]

Bitmap wx.ToolBarTool.NormalBitmap [set]

string wx.ToolBarTool.ShortHelp [get, set]

uint wx.ToolBarTool.style [get]

bool wx.ToolBarTool.Toggled [get, set]

ToolBar wx.ToolBarTool.ToolBar [get]


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