X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9670b83cfcdf3c48b632458e4e2ad0fb72b74d37..3cc305b2b4a0674c56c84d7088cfd70676b850f0:/docs/latex/wx/auimanager.tex?ds=sidebyside diff --git a/docs/latex/wx/auimanager.tex b/docs/latex/wx/auimanager.tex index b112c5378f..4328db3810 100644 --- a/docs/latex/wx/auimanager.tex +++ b/docs/latex/wx/auimanager.tex @@ -10,9 +10,9 @@ determine each pane's docking and floating behavior. wxAuiManager uses wxWidgets' sizer mechanism to plan the layout of each frame. It uses a replaceable dock art class to do all drawing, so all drawing is localized in one area, and may be customized depending on an -applications' specific needs. +application's specific needs. -wxAuiManager works as follows: The programmer adds panes to the class, +wxAuiManager works as follows: the programmer adds panes to the class, or makes changes to existing pane properties (dock position, floating state, show state, etc.). To apply these changes, wxAuiManager's Update() function is called. This batch processing can be used to avoid @@ -48,19 +48,18 @@ Center. This is fairly self-explanatory. The pane will be placed in the location specified by this variable. {\bf Position:} -More than one pane can be placed inside of a dock. Imagine to panes +More than one pane can be placed inside of a dock. Imagine two panes being docked on the left side of a window. One pane can be placed over another. In proportionally managed docks, the pane position indicates -it's sequential position, starting with zero. So, in our scenario with +its sequential position, starting with zero. So, in our scenario with two panes docked on the left side, the top pane in the dock would have position 0, and the second one would occupy position 1. {\bf Row:} A row can allow for two docks to be placed next to each other. One of the most common places for this to happen is in the toolbar. Multiple -toolbar rows are allowed, the first row being in row 0, and the second -in row 1. Rows can also be used on vertically docked panes. - +toolbar rows are allowed, the first row being row 0, and the second +row 1. Rows can also be used on vertically docked panes. {\bf Layer:} A layer is akin to an onion. Layer 0 is the very center of the @@ -73,7 +72,7 @@ understand layers is by running the wxAUI sample. \wxheading{Derived from} -\helpref{wxEvent}{wxevent} +\helpref{wxEvtHandler}{wxevthandler} \wxheading{Include files} @@ -126,7 +125,7 @@ enum wxAuiManagerOption \func{}{wxAuiManager}{\param{wxWindow* }{managed\_wnd = NULL}, \param{unsigned int }{flags = wxAUI\_MGR\_DEFAULT}} -Constructor. \arg{frame} specifies the wxFrame which should be managed. +Constructor. \arg{managed\_wnd} specifies the wxFrame which should be managed. \arg{flags} specifies options which allow the frame management behavior to be modified. @@ -167,9 +166,11 @@ Returns the current art provider being used. See also: \helpref{wxAuiDockArt}{wxauidockart}. -\func{void}{GetDockSizeConstraint}{\param{double* }{width_pct}, \param{double* }{height_pct}} +\membersection{wxAuiManager::GetDockSizeConstraint}\label{wxauimanagergetdocksizeconstraint} + +\func{void}{GetDockSizeConstraint}{\param{double* }{widthpct}, \param{double* }{heightpct}} -Returns the current dock constraint values. See SetDockSizeConstraint() for more information. +Returns the current dock constraint values. See \helpref{SetDockSizeConstraint()}{wxauimanagersetdocksizeconstraint} for more information. \membersection{wxAuiManager::GetFlags}\label{wxauimanagergetflags} @@ -183,6 +184,8 @@ Returns the current manager's flags. Returns the frame currently being managed by wxAuiManager. +\membersection{wxAuiManager::GetManager}\label{wxauimanagergetmanager} + \func{static wxAuiManager*}{GetManager}{\param{wxWindow* }{window}} Calling this method will return the wxAuiManager for a given window. The \arg{window} parameter should @@ -270,7 +273,9 @@ will be deleted by wxAuiManager. See also: \helpref{wxAuiDockArt}{wxauidockart}. -\func{void}{SetDockSizeConstraint}{\param{double }{width_pct}, \param{double }{height_pct}} +\membersection{wxAuiManager::SetDockSizeConstraint}\label{wxauimanagersetdocksizeconstraint} + +\func{void}{SetDockSizeConstraint}{\param{double }{widthpct}, \param{double }{heightpct}} When a user creates a new dock by dragging a window into a docked position, often times the large size of the window will create a dock that is unwieldly large. wxAuiManager by default limits the size of any