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