wxTextAttr

See external documentation: wxTextAttr.

See external documentation: wxTextAttr.

Functions


new() -> wxTextAttr()

See external documentation.

new(ColText) -> wxTextAttr()

Equivalent to new(ColText, []).

new(ColText, Options::[Option]) -> wxTextAttr()

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()

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()

See external documentation.

getFont(This) -> wxFont:wxFont()

See external documentation.

getLeftIndent(This) -> integer()

See external documentation.

getLeftSubIndent(This) -> integer()

See external documentation.

getRightIndent(This) -> integer()

See external documentation.

getTabs(This) -> [integer()]

See external documentation.

getTextColour(This) -> wx:wx_colour4()

See external documentation.

hasBackgroundColour(This) -> boolean()

See external documentation.

hasFont(This) -> boolean()

See external documentation.

hasTextColour(This) -> boolean()

See external documentation.

getFlags(This) -> integer()

See external documentation.

isDefault(This) -> boolean()

See external documentation.

setAlignment(This, Alignment) -> ok

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

See external documentation.

setFlags(This, Flags) -> ok

See external documentation.

setFont(This, Font) -> ok

Equivalent to setFont(This, Font, []).

setFont(This, Font, Options::[Option]) -> ok

See external documentation.

setLeftIndent(This, Indent) -> ok

setLeftIndent(This, Indent, Options::[Option]) -> ok

  • This = wxTextAttr()
  • Indent = integer()
  • Option = {subIndent, integer()}

See external documentation.

setRightIndent(This, Indent) -> ok

See external documentation.

setTabs(This, Tabs) -> ok

See external documentation.

setTextColour(This, ColText) -> ok

See external documentation.

destroy(This::wxTextAttr()) -> ok

Destroys this object, do not use object again