1wxStaticBoxSizer(3) Erlang Module Definition wxStaticBoxSizer(3)
2
3
4
6 wxStaticBoxSizer - Functions for wxStaticBoxSizer class
7
9 wxStaticBoxSizer is a sizer derived from wxBoxSizer but adds a static
10 box around the sizer.
11
12 The static box may be either created independently or the sizer may
13 create it itself as a convenience. In any case, the sizer owns the
14 wxStaticBox control and will delete it in the wxStaticBoxSizer destruc‐
15 tor.
16
17 Note that since wxWidgets 2.9.1 you are encouraged to create the win‐
18 dows which are added to wxStaticBoxSizer as children of wxStaticBox it‐
19 self, see this class documentation for more details.
20
21 Example of use of this class:
22
23 See: wxSizer, wxStaticBox, wxBoxSizer, Overview sizer
24
25 This class is derived (and can use functions) from: wxBoxSizer wxSizer
26
27 wxWidgets docs: wxStaticBoxSizer
28
30 wxStaticBoxSizer() = wx:wx_object()
31
33 new(Orient, Parent) -> wxStaticBoxSizer()
34
35 new(Box, Orient) -> wxStaticBoxSizer()
36
37 Types:
38
39 Box = wxStaticBox:wxStaticBox()
40 Orient = integer()
41
42 This constructor uses an already existing static box.
43
44 new(Orient, Parent, Options :: [Option]) -> wxStaticBoxSizer()
45
46 Types:
47
48 Orient = integer()
49 Parent = wxWindow:wxWindow()
50 Option = {label, unicode:chardata()}
51
52 This constructor creates a new static box with the given label
53 and parent window.
54
55 getStaticBox(This) -> wxStaticBox:wxStaticBox()
56
57 Types:
58
59 This = wxStaticBoxSizer()
60
61 Returns the static box associated with the sizer.
62
63 destroy(This :: wxStaticBoxSizer()) -> ok
64
65 Destroys the object.
66
67
68
69wxWidgets team. wx 2.1 wxStaticBoxSizer(3)