See external documentation: wxtextattr.
See external documentation: wxTextAttr.
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.
new() -> wxTextAttr()
See external documentation.
new(ColText) -> wxTextAttr()
Types:
ColText = wx_colour() (see module wx)
Equivalent to new(ColText, []).
new(ColText, Option::[Option]) -> wxTextAttr()
Types:
ColText = wx_colour() (see module wx)
Option = {colBack, wx_colour() (see module wx)} | {font, wxFont() (see module wxFont)} | {alignment, wx_enum() (see module wx)}
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_enum() (see module wx)
Types:
This = wxTextAttr()
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_colour4() (see module wx)
Types:
This = wxTextAttr()
See external documentation.
getFont(This) -> wxFont() (see module wxFont)
Types:
This = wxTextAttr()
See external documentation.
getLeftIndent(This) -> integer()
Types:
This = wxTextAttr()
See external documentation.
getLeftSubIndent(This) -> integer()
Types:
This = wxTextAttr()
See external documentation.
getRightIndent(This) -> integer()
Types:
This = wxTextAttr()
See external documentation.
getTabs(This) -> [integer()]
Types:
This = wxTextAttr()
See external documentation.
getTextColour(This) -> wx_colour4() (see module wx)
Types:
This = wxTextAttr()
See external documentation.
hasBackgroundColour(This) -> boolean()
Types:
This = wxTextAttr()
See external documentation.
hasFont(This) -> boolean()
Types:
This = wxTextAttr()
See external documentation.
hasTextColour(This) -> boolean()
Types:
This = wxTextAttr()
See external documentation.
getFlags(This) -> integer()
Types:
This = wxTextAttr()
See external documentation.
isDefault(This) -> boolean()
Types:
This = wxTextAttr()
See external documentation.
setAlignment(This, Alignment) -> ok
Types:
This = wxTextAttr()
Alignment = wx_enum() (see module wx)
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:
This = wxTextAttr()
ColBack = wx_colour() (see module wx)
See external documentation.
setFlags(This, Flags) -> ok
Types:
This = wxTextAttr()
Flags = integer()
See external documentation.
setFont(This, Font) -> ok
Types:
This = wxTextAttr()
Font = wxFont() (see module wxFont)
Equivalent to setFont(This, Font, []).
setFont(This, Font, Option::[Option]) -> ok
Types:
This = wxTextAttr()
Font = wxFont() (see module wxFont)
Option = {flags, integer()}
See external documentation.
setLeftIndent(This, Indent) -> ok
Types:
This = wxTextAttr()
Indent = integer()
Equivalent to setLeftIndent(This, Indent, []).
setLeftIndent(This, Indent, Option::[Option]) -> ok
Types:
This = wxTextAttr()
Indent = integer()
Option = {subIndent, integer()}
See external documentation.
setRightIndent(This, Indent) -> ok
Types:
This = wxTextAttr()
Indent = integer()
See external documentation.
setTabs(This, Tabs) -> ok
Types:
This = wxTextAttr()
Tabs = [integer()]
See external documentation.
setTextColour(This, ColText) -> ok
Types:
This = wxTextAttr()
ColText = wx_colour() (see module wx)
See external documentation.
destroy(This::wxTextAttr()) -> ok
Destroys this object, do not use object again
<>