wxToolObject Class Reference

Base class for all Tool Objects (tabs, items, buttons). More...

#include <wxToolBox.h>

Inheritance diagram for wxToolObject:

wxToolBoxItem wxToolBoxScrollButton wxToolBoxTab List of all members.

Public Member Functions

wxRect & GetRectangle ()
 Returns Tool Object's rectangle.
wxSize GetSize ()
 Returns size of Tool Object.
wxString GetToolTip ()
 Returns tooltip text.
void SetRectangle (wxRect value)
 Sets position and size of Tool Object.
void SetSize (int w, int h)
 Sets Tool Object's size.
void SetToolTip (wxString value)
 Sets tooltip text.
 wxToolObject (const wxToolObject &toolobject)
 Copy constructor.
 wxToolObject (wxRect r)
 Parametrized constructor.
 wxToolObject ()
 Default constructor.

Protected Attributes

wxRect m_Rectangle
 Stores position and size of Tool Object.
wxString m_ToolTip
 Tooltip text.

Detailed Description

Base class for all Tool Objects (tabs, items, buttons).


Constructor & Destructor Documentation

wxToolObject::wxToolObject ( wxRect  r  ) 

Parametrized constructor.

Parameters:
r - rectangle that specifies position and size of Tool Object


Member Function Documentation

void wxToolObject::SetSize ( int  w,
int  h 
) [inline]

Sets Tool Object's size.

Parameters:
w - new width
h - new height


Generated on Sun Apr 8 00:19:07 2007 for wxToolBox by  doxygen 1.5.2
Hosted by uCoz