% % automatically generated by HelpGen $Revision$ from % dyntbar.h at 05/Jan/02 22:50:56 % \section{\class{wxDynamicToolBar}}\label{wxdynamictoolbar} class manages containment and layouting of tool-windows \wxheading{Derived from} \helpref{wxToolBarBase}{wxtoolbarbase} \wxheading{Data structures} \latexignore{\rtfignore{\wxheading{Members}}} \membersection{wxDynamicToolBar::wxDynamicToolBar}\label{wxdynamictoolbarwxdynamictoolbar} \func{}{wxDynamicToolBar}{\void} \func{}{wxDynamicToolBar}{\param{wxWindow* }{parent}, \param{const wxWindowID }{id}, \param{const wxPoint\& }{pos = wxDefaultPosition}, \param{const wxSize\& }{size = wxDefaultSize}, \param{const long }{style = wxNO\_BORDER}, \param{const int }{orientation = wxVERTICAL}, \param{const int }{RowsOrColumns = 1}, \param{const wxString\& }{name = wxToolBarNameStr}} \membersection{wxDynamicToolBar::\destruct{wxDynamicToolBar}}\label{wxdynamictoolbardtor} \func{}{\destruct{wxDynamicToolBar}}{\void} \membersection{wxDynamicToolBar::AddSeparator}\label{wxdynamictoolbaraddseparator} \func{void}{AddSeparator}{\param{wxWindow* }{pSepartorWnd = NULL}} \membersection{wxDynamicToolBar::AddTool}\label{wxdynamictoolbaraddtool} \func{void}{AddTool}{\param{int }{toolIndex}, \param{wxWindow* }{pToolWindow}, \param{const wxSize\& }{size = wxDefaultSize}} overridables \func{void}{AddTool}{\param{int }{toolIndex}, \param{const wxString\& }{imageFileName}, \param{wxBitmapType }{imageFileType = wxBITMAP\_TYPE\_BMP}, \param{const wxString\& }{labelText = ""}, \param{bool }{alignTextRight = FALSE}, \param{bool }{isFlat = TRUE}} \func{void}{AddTool}{\param{int }{toolIndex}, \param{wxBitmap }{labelBmp}, \param{const wxString\& }{labelText = ""}, \param{bool }{alignTextRight = FALSE}, \param{bool }{isFlat = TRUE}} \func{wxToolBarToolBase*}{AddTool}{\param{const int }{toolIndex}, \param{const wxBitmap\& }{bitmap}, \param{const wxBitmap\& }{pushedBitmap = wxNullBitmap}, \param{const bool }{toggle = FALSE}, \param{const long }{xPos = -1}, \param{const long }{yPos = -1}, \param{wxObject* }{clientData = NULL}, \param{const wxString\& }{helpString1 = ""}, \param{const wxString\& }{helpString2 = ""}} method from wxToolBarBase (for compatibility), only first two arguments are valid \membersection{wxDynamicToolBar::Create}\label{wxdynamictoolbarcreate} \func{bool}{Create}{\param{wxWindow* }{parent}, \param{const wxWindowID }{id}, \param{const wxPoint\& }{pos = wxDefaultPosition}, \param{const wxSize\& }{size = wxDefaultSize}, \param{const long }{style = wxNO\_BORDER}, \param{const int }{orientation = wxVERTICAL}, \param{const int }{RowsOrColumns = 1}, \param{const wxString\& }{name = wxToolBarNameStr}} \membersection{wxDynamicToolBar::CreateDefaulLayout}\label{wxdynamictoolbarcreatedefaullayout} \func{LayoutManagerBase*}{CreateDefaulLayout}{\void} \membersection{wxDynamicToolBar::CreateTool}\label{wxdynamictoolbarcreatetool} \func{wxToolBarToolBase*}{CreateTool}{\param{wxControl* }{control}} \func{wxToolBarToolBase*}{CreateTool}{\param{int }{id}, \param{const wxBitmap\& }{bitmap1}, \param{const wxBitmap\& }{bitmap2}, \param{bool }{toggle}, \param{wxObject* }{clientData}, \param{const wxString\& }{shortHelpString}, \param{const wxString\& }{longHelpString}} the functions to create toolbar tools \membersection{wxDynamicToolBar::DoDeleteTool}\label{wxdynamictoolbardodeletetool} \func{bool}{DoDeleteTool}{\param{size\_t }{pos}, \param{wxToolBarToolBase* }{tool}} the tool is still in m\_tools list when this function is called, it will only be deleted from it if it succeeds \membersection{wxDynamicToolBar::DoEnableTool}\label{wxdynamictoolbardoenabletool} \func{void}{DoEnableTool}{\param{wxToolBarToolBase* }{tool}, \param{bool }{enable}} called when the tools enabled flag changes \membersection{wxDynamicToolBar::DoInsertTool}\label{wxdynamictoolbardoinserttool} \func{bool}{DoInsertTool}{\param{size\_t }{pos}, \param{wxToolBarToolBase* }{tool}} \membersection{wxDynamicToolBar::DoSetToggle}\label{wxdynamictoolbardosettoggle} \func{void}{DoSetToggle}{\param{wxToolBarToolBase* }{tool}, \param{bool }{toggle}} called when the tools "can be toggled" flag changes \membersection{wxDynamicToolBar::DoToggleTool}\label{wxdynamictoolbardotoggletool} \func{void}{DoToggleTool}{\param{wxToolBarToolBase* }{tool}, \param{bool }{toggle}} called when the tool is toggled \membersection{wxDynamicToolBar::DrawSeparator}\label{wxdynamictoolbardrawseparator} \func{void}{DrawSeparator}{\param{wxDynToolInfo\& }{info}, \param{wxDC\& }{dc}} the default implementation draws shaded line \membersection{wxDynamicToolBar::EnableTool}\label{wxdynamictoolbarenabletool} \func{void}{EnableTool}{\param{const int }{toolIndex}, \param{const bool }{enable = TRUE}} \membersection{wxDynamicToolBar::FindToolForPosition}\label{wxdynamictoolbarfindtoolforposition} \constfunc{wxToolBarToolBase*}{FindToolForPosition}{\param{wxCoord }{x}, \param{wxCoord }{y}} stuff from the 2.1.15 \membersection{wxDynamicToolBar::GetPreferredDim}\label{wxdynamictoolbargetpreferreddim} \func{void}{GetPreferredDim}{\param{const wxSize\& }{givenDim}, \param{wxSize\& }{prefDim}} \membersection{wxDynamicToolBar::GetToolInfo}\label{wxdynamictoolbargettoolinfo} \func{wxDynToolInfo*}{GetToolInfo}{\param{int }{toolIndex}} \membersection{wxDynamicToolBar::Layout}\label{wxdynamictoolbarlayout} \func{bool}{Layout}{\void} see definitions of orientation types \membersection{wxDynamicToolBar::OnEraseBackground}\label{wxdynamictoolbaronerasebackground} \func{void}{OnEraseBackground}{\param{wxEraseEvent\& }{event}} \membersection{wxDynamicToolBar::OnPaint}\label{wxdynamictoolbaronpaint} \func{void}{OnPaint}{\param{wxPaintEvent\& }{event}} \membersection{wxDynamicToolBar::OnSize}\label{wxdynamictoolbaronsize} \func{void}{OnSize}{\param{wxSizeEvent\& }{event}} event handlers \membersection{wxDynamicToolBar::Realize}\label{wxdynamictoolbarrealize} \func{bool}{Realize}{\void} overriden from wxToolBarBase \membersection{wxDynamicToolBar::RemveTool}\label{wxdynamictoolbarremvetool} \func{void}{RemveTool}{\param{int }{toolIndex}} \membersection{wxDynamicToolBar::SetLayout}\label{wxdynamictoolbarsetlayout} \func{void}{SetLayout}{\param{LayoutManagerBase* }{pLayout}} \membersection{wxDynamicToolBar::SizeToolWindows}\label{wxdynamictoolbarsizetoolwindows} \func{void}{SizeToolWindows}{\void}