wxminiframe
a miniframe is a frame with a small title bar. it is suitable for floating toolbars that must not
take up too much screen area.
derived from
wxframe
wxwindow
wxevthandler
wxobject
include files
<wx/minifram.h>
window styles
wxiconize
|
display the frame iconized (minimized) (windows only).
|
wxcaption
|
puts a caption on the frame.
|
wxminimize
|
identical to wxiconize.
|
wxminimize_box
|
displays a minimize box on the frame (windows and motif only).
|
wxmaximize
|
displays the frame maximized (windows only).
|
wxmaximize_box
|
displays a maximize box on the frame (windows and motif only).
|
wxclose_box
|
displays a close box on the frame.
|
wxstay_on_top
|
stay on top of other windows (windows only).
|
wxsystem_menu
|
displays a system menu (windows and motif only).
|
wxtiny_caption_horiz
|
this style is obsolete and
not used any longer.
|
wxtiny_caption_vert
|
this style is obsolete and not
used any longer.
|
wxresize_border
|
displays a resizeable border around the window.
|
remarks
this class has miniframe functionality under windows and gtk, i.e. the presence
of mini frame will not be noted in the task bar and focus behaviour is different.
on other platforms, it behaves like a normal frame.
see also
wxmdiparentframe, wxmdichildframe,
wxframe, wxdialog
members
wxminiframe::wxminiframe
wxminiframe::~wxminiframe
wxminiframe::create
wxminiframe::wxminiframe
wxminiframe()
default constructor.
wxminiframe(wxwindow* parent, wxwindowid id,
const wxstring& title, const wxpoint& pos = wxdefaultposition,
const wxsize& size = wxdefaultsize, long style = wxcaption | wxresize_border,
const wxstring& name = "frame")
constructor, creating the window.
parameters
parent
the window parent. this may be null. if it is non-null, the frame will
always be displayed on top of the parent window on windows.
id
the window identifier. it may take a value of -1 to indicate a default value.
title
the caption to be displayed on the frame's title bar.
pos
the window position. a value of (-1, -1) indicates a default position, chosen by
either the windowing system or wxwidgets, depending on platform.
size
the window size. a value of (-1, -1) indicates a default size, chosen by
either the windowing system or wxwidgets, depending on platform.
style
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
the frame behaves like a normal frame on non-windows platforms.
see also
wxminiframe::create
wxminiframe::~wxminiframe
void ~wxminiframe()
destructor. destroys all child windows and menu bar if present.
wxminiframe::create
bool create(wxwindow* parent, wxwindowid id,
const wxstring& title, const wxpoint& pos = wxdefaultposition,
const wxsize& size = wxdefaultsize, long style = wxcaption | wxresize_border,
const wxstring& name = "frame")
used in two-step frame construction. see wxminiframe::wxminiframe
for further details.
|