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

NAME

6       wxStaticLine - Functions for wxStaticLine class
7

DESCRIPTION

9       A  static line is just a line which may be used in a dialog to separate
10       the groups of controls.
11
12       The line may be only vertical or horizontal. Moreover,  not  all  ports
13       (notably not wxGTK) support specifying the transversal direction of the
14       line (e.g. height for a horizontal line) so for maximal portability you
15       should specify it as wxDefaultCoord.
16
17       Styles
18
19       This class supports the following styles:
20
21       See: wxStaticBox
22
23       This  class is derived (and can use functions) from: wxControl wxWindow
24       wxEvtHandler
25
26       wxWidgets docs: wxStaticLine
27

DATA TYPES

29       wxStaticLine() = wx:wx_object()
30

EXPORTS

32       new() -> wxStaticLine()
33
34              Default constructor.
35
36       new(Parent) -> wxStaticLine()
37
38              Types:
39
40                 Parent = wxWindow:wxWindow()
41
42       new(Parent, Options :: [Option]) -> wxStaticLine()
43
44              Types:
45
46                 Parent = wxWindow:wxWindow()
47                 Option =
48                     {id, integer()} |
49                     {pos, {X :: integer(), Y :: integer()}} |
50                     {size, {W :: integer(), H :: integer()}} |
51                     {style, integer()}
52
53              Constructor, creating and showing a static line.
54
55              See: create/3
56
57       create(This, Parent) -> boolean()
58
59              Types:
60
61                 This = wxStaticLine()
62                 Parent = wxWindow:wxWindow()
63
64       create(This, Parent, Options :: [Option]) -> boolean()
65
66              Types:
67
68                 This = wxStaticLine()
69                 Parent = wxWindow:wxWindow()
70                 Option =
71                     {id, integer()} |
72                     {pos, {X :: integer(), Y :: integer()}} |
73                     {size, {W :: integer(), H :: integer()}} |
74                     {style, integer()}
75
76              Creates the static line for two-step construction.
77
78              See new/2 for further details.
79
80       isVertical(This) -> boolean()
81
82              Types:
83
84                 This = wxStaticLine()
85
86              Returns true if the line is vertical, false if horizontal.
87
88       getDefaultSize() -> integer()
89
90              This static function returns the size which will be given to the
91              smaller dimension of the static line, i.e.
92
93              its  height  for  a  horizontal line or its width for a vertical
94              one.
95
96       destroy(This :: wxStaticLine()) -> ok
97
98              Destroys the object.
99
100
101
102wxWidgets team.                     wx 2.1                     wxStaticLine(3)
Impressum