table of contents
- stretch 1:19.2.1+dfsg-2+deb9u2
- testing 1:21.2.6+dfsg-1
- unstable 1:21.2.6+dfsg-1
- experimental 1:22.0.4+dfsg-1
wxTextAttr(3erl) | Erlang Module Definition | wxTextAttr(3erl) |
NAME¶
wxTextAttr - See external documentation: wxTextAttr.DESCRIPTION¶
See external documentation: wxTextAttr.DATA TYPES¶
- wxTextAttr():
An object reference, The representation is internal and can be changed without notice. It can't be used for comparsion stored on disc or distributed for use on other nodes.
EXPORTS¶
new() -> wxTextAttr()See external documentation.
new(ColText) -> wxTextAttr()
Types:
Equivalent to new(ColText, []).
new(ColText, Options::[Option]) -> wxTextAttr()
Types:
Option = {colBack, wx:wx_colour()} | {font, wxFont:wxFont()} | {alignment, wx:wx_enum()}
See external documentation.
Alignment = ?wxTEXT_ALIGNMENT_DEFAULT | ?wxTEXT_ALIGNMENT_LEFT |
?wxTEXT_ALIGNMENT_CENTRE | ?wxTEXT_ALIGNMENT_CENTER |
?wxTEXT_ALIGNMENT_RIGHT | ?wxTEXT_ALIGNMENT_JUSTIFIED
getAlignment(This) -> wx:wx_enum()
Types:
See external documentation.
Res = ?wxTEXT_ALIGNMENT_DEFAULT | ?wxTEXT_ALIGNMENT_LEFT |
?wxTEXT_ALIGNMENT_CENTRE | ?wxTEXT_ALIGNMENT_CENTER |
?wxTEXT_ALIGNMENT_RIGHT | ?wxTEXT_ALIGNMENT_JUSTIFIED
getBackgroundColour(This) -> wx:wx_colour4()
Types:
See external documentation.
getFont(This) -> wxFont:wxFont()
Types:
See external documentation.
getLeftIndent(This) -> integer()
Types:
See external documentation.
getLeftSubIndent(This) -> integer()
Types:
See external documentation.
getRightIndent(This) -> integer()
Types:
See external documentation.
getTabs(This) -> [integer()]
Types:
See external documentation.
getTextColour(This) -> wx:wx_colour4()
Types:
See external documentation.
hasBackgroundColour(This) -> boolean()
Types:
See external documentation.
hasFont(This) -> boolean()
Types:
See external documentation.
hasTextColour(This) -> boolean()
Types:
See external documentation.
getFlags(This) -> integer()
Types:
See external documentation.
isDefault(This) -> boolean()
Types:
See external documentation.
setAlignment(This, Alignment) -> ok
Types:
Alignment = wx:wx_enum()
See external documentation.
Alignment = ?wxTEXT_ALIGNMENT_DEFAULT | ?wxTEXT_ALIGNMENT_LEFT |
?wxTEXT_ALIGNMENT_CENTRE | ?wxTEXT_ALIGNMENT_CENTER |
?wxTEXT_ALIGNMENT_RIGHT | ?wxTEXT_ALIGNMENT_JUSTIFIED
setBackgroundColour(This, ColBack) -> ok
Types:
ColBack = wx:wx_colour()
See external documentation.
setFlags(This, Flags) -> ok
Types:
Flags = integer()
See external documentation.
setFont(This, Font) -> ok
Types:
Font = wxFont:wxFont()
Equivalent to setFont(This, Font, []).
setFont(This, Font, Options::[Option]) -> ok
Types:
Font = wxFont:wxFont()
Option = {flags, integer()}
See external documentation.
setLeftIndent(This, Indent) -> ok
Types:
Indent = integer()
Equivalent to setLeftIndent(This, Indent, []).
setLeftIndent(This, Indent, Options::[Option]) -> ok
Types:
Indent = integer()
Option = {subIndent, integer()}
See external documentation.
setRightIndent(This, Indent) -> ok
Types:
Indent = integer()
See external documentation.
setTabs(This, Tabs) -> ok
Types:
Tabs = [integer()]
See external documentation.
setTextColour(This, ColText) -> ok
Types:
ColText = wx:wx_colour()
See external documentation.
destroy(This::wxTextAttr()) -> ok
Destroys this object, do not use object again
AUTHORS¶
<>wx 1.8 |