1wxGridSizer(3)             Erlang Module Definition             wxGridSizer(3)
2
3
4

NAME

6       wxGridSizer - Functions for wxGridSizer class
7

DESCRIPTION

9       A  grid  sizer  is  a sizer which lays out its children in a two-dimen‐
10       sional table with all table fields having the same size, i.e. the width
11       of  each  field  is  the  width of the widest child, the height of each
12       field is the height of the tallest child.
13
14       See: wxSizer, Overview sizer
15
16       This class is derived (and can use functions) from: wxSizer
17
18       wxWidgets docs: wxGridSizer
19

DATA TYPES

21       wxGridSizer() = wx:wx_object()
22

EXPORTS

24       new(Cols) -> wxGridSizer()
25
26              Types:
27
28                 Cols = integer()
29
30       new(Cols, Options :: [Option]) -> wxGridSizer()
31
32              Types:
33
34                 Cols = integer()
35                 Option = {gap, {W :: integer(), H :: integer()}}
36
37       new(Cols, Vgap, Hgap) -> wxGridSizer()
38
39       new(Rows, Cols, Gap) -> wxGridSizer()
40
41              Types:
42
43                 Rows = Cols = integer()
44                 Gap = {W :: integer(), H :: integer()}
45
46       new(Rows, Cols, Vgap, Hgap) -> wxGridSizer()
47
48              Types:
49
50                 Rows = Cols = Vgap = Hgap = integer()
51
52       getCols(This) -> integer()
53
54              Types:
55
56                 This = wxGridSizer()
57
58              Returns the number of columns that has been  specified  for  the
59              sizer.
60
61              Returns  zero if the sizer is automatically adjusting the number
62              of columns depending on number of its children. To get  the  ef‐
63              fective number of columns or rows being currently used, see Get‐
64              EffectiveColsCount() (not implemented in wx)
65
66       getHGap(This) -> integer()
67
68              Types:
69
70                 This = wxGridSizer()
71
72              Returns the horizontal gap (in  pixels)  between  cells  in  the
73              sizer.
74
75       getRows(This) -> integer()
76
77              Types:
78
79                 This = wxGridSizer()
80
81              Returns  the  number  of  rows  that  has been specified for the
82              sizer.
83
84              Returns zero if the sizer is automatically adjusting the  number
85              of  rows  depending on number of its children. To get the effec‐
86              tive number of columns or rows being currently used, see  GetEf‐
87              fectiveRowsCount() (not implemented in wx).
88
89       getVGap(This) -> integer()
90
91              Types:
92
93                 This = wxGridSizer()
94
95              Returns  the  vertical  gap (in pixels) between the cells in the
96              sizer.
97
98       setCols(This, Cols) -> ok
99
100              Types:
101
102                 This = wxGridSizer()
103                 Cols = integer()
104
105              Sets the number of columns in the sizer.
106
107       setHGap(This, Gap) -> ok
108
109              Types:
110
111                 This = wxGridSizer()
112                 Gap = integer()
113
114              Sets the horizontal gap (in pixels) between cells in the sizer.
115
116       setRows(This, Rows) -> ok
117
118              Types:
119
120                 This = wxGridSizer()
121                 Rows = integer()
122
123              Sets the number of rows in the sizer.
124
125       setVGap(This, Gap) -> ok
126
127              Types:
128
129                 This = wxGridSizer()
130                 Gap = integer()
131
132              Sets the vertical gap (in  pixels)  between  the  cells  in  the
133              sizer.
134
135       destroy(This :: wxGridSizer()) -> ok
136
137              Destroys the object.
138
139
140
141wxWidgets team.                    wx 2.2.1                     wxGridSizer(3)
Impressum