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