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

NAME

6       wxTextAttr - See external documentation: wxTextAttr.
7

DESCRIPTION

9       See external documentation: wxTextAttr.
10

DATA TYPES

12         wxTextAttr():
13
14
15           An  object  reference,  The  representation  is internal and can be
16           changed without notice. It can't be used for comparsion  stored  on
17           disc or distributed for use on other nodes.
18

EXPORTS

20       new() -> wxTextAttr()
21
22              See external documentation.
23
24       new(ColText) -> wxTextAttr()
25
26              Types:
27
28                 ColText = wx:wx_colour()
29
30              Equivalent to new(ColText, []).
31
32       new(ColText, Options::[Option]) -> wxTextAttr()
33
34              Types:
35
36                 ColText = wx:wx_colour()
37                 Option  = {colBack, wx:wx_colour()} | {font, wxFont:wxFont()}
38                 | {alignment, wx:wx_enum()}
39
40              See external documentation.
41              Alignment = ?wxTEXT_ALIGNMENT_DEFAULT | ?wxTEXT_ALIGNMENT_LEFT |
42              ?wxTEXT_ALIGNMENT_CENTRE   |   ?wxTEXT_ALIGNMENT_CENTER  |  ?wx‐
43              TEXT_ALIGNMENT_RIGHT | ?wxTEXT_ALIGNMENT_JUSTIFIED
44
45       getAlignment(This) -> wx:wx_enum()
46
47              Types:
48
49                 This = wxTextAttr()
50
51              See external documentation.
52              Res = ?wxTEXT_ALIGNMENT_DEFAULT | ?wxTEXT_ALIGNMENT_LEFT |  ?wx‐
53              TEXT_ALIGNMENT_CENTRE    |   ?wxTEXT_ALIGNMENT_CENTER   |   ?wx‐
54              TEXT_ALIGNMENT_RIGHT | ?wxTEXT_ALIGNMENT_JUSTIFIED
55
56       getBackgroundColour(This) -> wx:wx_colour4()
57
58              Types:
59
60                 This = wxTextAttr()
61
62              See external documentation.
63
64       getFont(This) -> wxFont:wxFont()
65
66              Types:
67
68                 This = wxTextAttr()
69
70              See external documentation.
71
72       getLeftIndent(This) -> integer()
73
74              Types:
75
76                 This = wxTextAttr()
77
78              See external documentation.
79
80       getLeftSubIndent(This) -> integer()
81
82              Types:
83
84                 This = wxTextAttr()
85
86              See external documentation.
87
88       getRightIndent(This) -> integer()
89
90              Types:
91
92                 This = wxTextAttr()
93
94              See external documentation.
95
96       getTabs(This) -> [integer()]
97
98              Types:
99
100                 This = wxTextAttr()
101
102              See external documentation.
103
104       getTextColour(This) -> wx:wx_colour4()
105
106              Types:
107
108                 This = wxTextAttr()
109
110              See external documentation.
111
112       hasBackgroundColour(This) -> boolean()
113
114              Types:
115
116                 This = wxTextAttr()
117
118              See external documentation.
119
120       hasFont(This) -> boolean()
121
122              Types:
123
124                 This = wxTextAttr()
125
126              See external documentation.
127
128       hasTextColour(This) -> boolean()
129
130              Types:
131
132                 This = wxTextAttr()
133
134              See external documentation.
135
136       getFlags(This) -> integer()
137
138              Types:
139
140                 This = wxTextAttr()
141
142              See external documentation.
143
144       isDefault(This) -> boolean()
145
146              Types:
147
148                 This = wxTextAttr()
149
150              See external documentation.
151
152       setAlignment(This, Alignment) -> ok
153
154              Types:
155
156                 This = wxTextAttr()
157                 Alignment = wx:wx_enum()
158
159              See external documentation.
160              Alignment = ?wxTEXT_ALIGNMENT_DEFAULT | ?wxTEXT_ALIGNMENT_LEFT |
161              ?wxTEXT_ALIGNMENT_CENTRE   |   ?wxTEXT_ALIGNMENT_CENTER  |  ?wx‐
162              TEXT_ALIGNMENT_RIGHT | ?wxTEXT_ALIGNMENT_JUSTIFIED
163
164       setBackgroundColour(This, ColBack) -> ok
165
166              Types:
167
168                 This = wxTextAttr()
169                 ColBack = wx:wx_colour()
170
171              See external documentation.
172
173       setFlags(This, Flags) -> ok
174
175              Types:
176
177                 This = wxTextAttr()
178                 Flags = integer()
179
180              See external documentation.
181
182       setFont(This, Font) -> ok
183
184              Types:
185
186                 This = wxTextAttr()
187                 Font = wxFont:wxFont()
188
189              Equivalent to setFont(This, Font, []).
190
191       setFont(This, Font, Options::[Option]) -> ok
192
193              Types:
194
195                 This = wxTextAttr()
196                 Font = wxFont:wxFont()
197                 Option = {flags, integer()}
198
199              See external documentation.
200
201       setLeftIndent(This, Indent) -> ok
202
203              Types:
204
205                 This = wxTextAttr()
206                 Indent = integer()
207
208              Equivalent to setLeftIndent(This, Indent, []).
209
210       setLeftIndent(This, Indent, Options::[Option]) -> ok
211
212              Types:
213
214                 This = wxTextAttr()
215                 Indent = integer()
216                 Option = {subIndent, integer()}
217
218              See external documentation.
219
220       setRightIndent(This, Indent) -> ok
221
222              Types:
223
224                 This = wxTextAttr()
225                 Indent = integer()
226
227              See external documentation.
228
229       setTabs(This, Tabs) -> ok
230
231              Types:
232
233                 This = wxTextAttr()
234                 Tabs = [integer()]
235
236              See external documentation.
237
238       setTextColour(This, ColText) -> ok
239
240              Types:
241
242                 This = wxTextAttr()
243                 ColText = wx:wx_colour()
244
245              See external documentation.
246
247       destroy(This::wxTextAttr()) -> ok
248
249              Destroys this object, do not use object again
250

AUTHORS

252       <>
253
254
255
256                                  wx 1.9.3.1                     wxTextAttr(3)
Impressum