1wxMiniFrame(3) Erlang Module Definition wxMiniFrame(3)
2
3
4
6 wxMiniFrame - Functions for wxMiniFrame class
7
9 A miniframe is a frame with a small title bar. It is suitable for
10 floating toolbars that must not take up too much screen area.
11
12 An example of mini frame can be seen in the page_samples_dialogs using
13 the "Mini frame" command of the "Generic dialogs" submenu.
14
15 Styles
16
17 This class supports the following styles:
18
19 Remark: This class has miniframe functionality under Windows and GTK,
20 i.e. the presence of mini frame will not be noted in the task bar and
21 focus behaviour is different. On other platforms, it behaves like a
22 normal frame.
23
24 See: wxMDIParentFrame, wxMDIChildFrame, wxFrame, wxDialog
25
26 This class is derived (and can use functions) from: wxFrame wxTopLevelâ
27 Window wxWindow wxEvtHandler
28
29 wxWidgets docs: wxMiniFrame
30
32 wxMiniFrame() = wx:wx_object()
33
35 new() -> wxMiniFrame()
36
37 Default ctor.
38
39 new(Parent, Id, Title) -> wxMiniFrame()
40
41 Types:
42
43 Parent = wxWindow:wxWindow()
44 Id = integer()
45 Title = unicode:chardata()
46
47 new(Parent, Id, Title, Options :: [Option]) -> wxMiniFrame()
48
49 Types:
50
51 Parent = wxWindow:wxWindow()
52 Id = integer()
53 Title = unicode:chardata()
54 Option =
55 {pos, {X :: integer(), Y :: integer()}} |
56 {size, {W :: integer(), H :: integer()}} |
57 {style, integer()}
58
59 Constructor, creating the window.
60
61 Remark: The frame behaves like a normal frame on non-Windows
62 platforms.
63
64 See: create/5
65
66 destroy(This :: wxMiniFrame()) -> ok
67
68 Destructor.
69
70 Destroys all child windows and menu bar if present.
71
72 create(This, Parent, Id, Title) -> boolean()
73
74 Types:
75
76 This = wxMiniFrame()
77 Parent = wxWindow:wxWindow()
78 Id = integer()
79 Title = unicode:chardata()
80
81 create(This, Parent, Id, Title, Options :: [Option]) -> boolean()
82
83 Types:
84
85 This = wxMiniFrame()
86 Parent = wxWindow:wxWindow()
87 Id = integer()
88 Title = unicode:chardata()
89 Option =
90 {pos, {X :: integer(), Y :: integer()}} |
91 {size, {W :: integer(), H :: integer()}} |
92 {style, integer()}
93
94 Used in two-step frame construction.
95
96 See new/4 for further details.
97
98
99
100wxWidgets team. wx 2.2.2 wxMiniFrame(3)