Padre-Plugin-WxWidgets
view release on metacpan or search on metacpan
share/doc/wxwidgets.pod view on Meta::CPAN
name
The name of the window. This parameter is used to associate a name
with the item, allowing the application user to set Motif resource
values for individual windows.
Remarks
During the construction of the frame, the client window will be
created. To use a different class from wxMDIClientWindow, override
wxMDIParentFrame::OnCreateClient.
Under Windows 95, the client window will automatically have a sunken
border style when the active child is not maximized, and no border
style when a child is maximized.
See also
wxMDIParentFrame::Create, wxMDIParentFrame::OnCreateClient
=head2 Wx::MDIParentFrame::DESTROY
~wxMDIParentFrame()
Destructor. Destroys all child windows and menu bar if present.
=head2 Wx::MDIParentFrame::ActivateNext
void ActivateNext()
Activates the MDI child following the currently active one.
See also
wxMDIParentFrame::ActivatePrevious
=head2 Wx::MDIParentFrame::ActivatePrevious
void ActivatePrevious()
Activates the MDI child preceding the currently active one.
See also
wxMDIParentFrame::ActivateNext
=head2 Wx::MDIParentFrame::ArrangeIcons
void ArrangeIcons()
Arranges any iconized (minimized) MDI child windows.
See also
wxMDIParentFrame::Cascade, wxMDIParentFrame::Tile
=head2 Wx::MDIParentFrame::Cascade
void Cascade()
Arranges the MDI child windows in a cascade.
See also
wxMDIParentFrame::Tile, wxMDIParentFrame::ArrangeIcons
=head2 Wx::MDIParentFrame::Create
bool Create(wxWindow* parent, wxWindowID id, const wxString& title,
const wxPoint& pos = wxDefaultPosition, const wxSize& size =
wxDefaultSize, long style = wxDEFAULT_FRAME_STYLE | wxVSCROLL |
wxHSCROLL, const wxString& name = "frame")
Used in two-step frame construction. See
wxMDIParentFrame::wxMDIParentFrame for further details.
=head2 Wx::MDIParentFrame::GetClientSize
virtual void GetClientSize(int* width, int* height) const
This gets the size of the frame 'client area' in pixels.
Parameters
width
Receives the client width in pixels.
height
Receives the client height in pixels.
Remarks
The client area is the area which may be drawn on by the programmer,
excluding title bar, border, status bar, and toolbar if present.
If you wish to manage your own toolbar (or perhaps you have more than
one), provide an OnSize event handler. Call GetClientSize to find how
much space there is for your windows and don't forget to set the size
and position of the MDI client window as well as your toolbar and
other windows (but not the status bar).
If you have set a toolbar with wxMDIParentFrame::SetToolbar, the
client size returned will have subtracted the toolbar height. However,
the available positions for the client window and other windows of the
frame do not start at zero - you must add the toolbar height.
The position and size of the status bar and toolbar (if known to the
frame) are always managed by wxMDIParentFrame, regardless of what
behaviour is defined in your OnSize event handler. However, the client
window position and size are always set in OnSize, so if you override
this event handler, make sure you deal with the client window.
You do not have to manage the size and position of MDI child windows,
since they are managed automatically by the client window.
See also
wxMDIParentFrame::GetToolBar, wxMDIParentFrame::SetToolBar,
wxMDIClientWindow
( run in 1.147 second using v1.01-cache-2.11-cpan-9581c071862 )