]> git.saurik.com Git - wxWidgets.git/blame_incremental - docs/latex/wx/minifram.tex
Wine fixes
[wxWidgets.git] / docs / latex / wx / minifram.tex
... / ...
CommitLineData
1\section{\class{wxMiniFrame}}\label{wxminiframe}
2
3A miniframe is a frame with a small title bar. It is suitable for floating toolbars that must not
4take up too much screen area.
5
6\wxheading{Derived from}
7
8\helpref{wxFrame}{wxframe}\\
9\helpref{wxWindow}{wxwindow}\\
10\helpref{wxEvtHandler}{wxevthandler}\\
11\helpref{wxObject}{wxobject}
12
13\wxheading{Include files}
14
15<wx/minifram.h>
16
17\wxheading{Window styles}
18
19\twocolwidtha{5cm}
20\begin{twocollist}\itemsep=0pt
21\twocolitem{\windowstyle{wxICONIZE}}{Display the frame iconized (minimized) (Windows only).}
22\twocolitem{\windowstyle{wxCAPTION}}{Puts a caption on the frame.}
23\twocolitem{\windowstyle{wxMINIMIZE}}{Identical to {\bf wxICONIZE}.}
24\twocolitem{\windowstyle{wxMINIMIZE\_BOX}}{Displays a minimize box on the frame (Windows and Motif only).}
25\twocolitem{\windowstyle{wxMAXIMIZE}}{Displays the frame maximized (Windows only).}
26\twocolitem{\windowstyle{wxMAXIMIZE\_BOX}}{Displays a maximize box on the frame (Windows and Motif only).}
27\twocolitem{\windowstyle{wxCLOSE\_BOX}}{Displays a close box on the frame.}
28\twocolitem{\windowstyle{wxSTAY\_ON\_TOP}}{Stay on top of other windows (Windows only).}
29\twocolitem{\windowstyle{wxSYSTEM\_MENU}}{Displays a system menu (Windows and Motif only).}
30\twocolitem{\windowstyle{wxTINY\_CAPTION\_HORIZ}}{This style is obsolete and
31not used any longer.}
32\twocolitem{\windowstyle{wxTINY\_CAPTION\_VERT}}{This style is obsolete and not
33used any longer.}
34\twocolitem{\windowstyle{wxRESIZE\_BORDER}}{Displays a resizeable border around the window.}
35\end{twocollist}
36
37\wxheading{Remarks}
38
39This class has miniframe functionality under Windows and GTK, i.e. the presence
40of mini frame will not be noted in the task bar and focus behaviour is different.
41On other platforms, it behaves like a normal frame.
42
43\wxheading{See also}
44
45\helpref{wxMDIParentFrame}{wxmdiparentframe}, \helpref{wxMDIChildFrame}{wxmdichildframe},\rtfsp
46\helpref{wxFrame}{wxframe}, \helpref{wxDialog}{wxdialog}
47
48\latexignore{\rtfignore{\wxheading{Members}}}
49
50\membersection{wxMiniFrame::wxMiniFrame}\label{wxminiframector}
51
52\func{}{wxMiniFrame}{\void}
53
54Default constructor.
55
56\func{}{wxMiniFrame}{\param{wxWindow* }{parent}, \param{wxWindowID }{id},\rtfsp
57\param{const wxString\& }{title}, \param{const wxPoint\&}{ pos = wxDefaultPosition},\rtfsp
58\param{const wxSize\&}{ size = wxDefaultSize}, \param{long}{ style = wxCAPTION | wxRESIZE\_BORDER},\rtfsp
59\param{const wxString\& }{name = ``frame"}}
60
61Constructor, creating the window.
62
63\wxheading{Parameters}
64
65\docparam{parent}{The window parent. This may be NULL. If it is non-NULL, the frame will
66always be displayed on top of the parent window on Windows.}
67
68\docparam{id}{The window identifier. It may take a value of -1 to indicate a default value.}
69
70\docparam{title}{The caption to be displayed on the frame's title bar.}
71
72\docparam{pos}{The window position. A value of (-1, -1) indicates a default position, chosen by
73either the windowing system or wxWidgets, depending on platform.}
74
75\docparam{size}{The window size. A value of (-1, -1) indicates a default size, chosen by
76either the windowing system or wxWidgets, depending on platform.}
77
78\docparam{style}{The window style. See \helpref{wxMiniFrame}{wxminiframe}.}
79
80\docparam{name}{The name of the window. This parameter is used to associate a name with the item,
81allowing the application user to set Motif resource values for
82individual windows.}
83
84\wxheading{Remarks}
85
86The frame behaves like a normal frame on non-Windows platforms.
87
88\wxheading{See also}
89
90\helpref{wxMiniFrame::Create}{wxminiframecreate}
91
92\membersection{wxMiniFrame::\destruct{wxMiniFrame}}\label{wxminiframedtor}
93
94\func{void}{\destruct{wxMiniFrame}}{\void}
95
96Destructor. Destroys all child windows and menu bar if present.
97
98\membersection{wxMiniFrame::Create}\label{wxminiframecreate}
99
100\func{bool}{Create}{\param{wxWindow* }{parent}, \param{wxWindowID }{id},\rtfsp
101\param{const wxString\& }{title}, \param{const wxPoint\&}{ pos = wxDefaultPosition},\rtfsp
102\param{const wxSize\&}{ size = wxDefaultSize}, \param{long}{ style = wxCAPTION | wxRESIZE\_BORDER},\rtfsp
103\param{const wxString\& }{name = ``frame"}}
104
105Used in two-step frame construction. See \helpref{wxMiniFrame::wxMiniFrame}{wxminiframector}\rtfsp
106for further details.
107
108
109