wxTextAttr

See external documentation: wxTextAttr.

See external documentation: wxTextAttr.

Types


wxTextAttr() = wx:wx_object()

Functions


new() -> wxTextAttr()

See external documentation.

new(ColText) -> wxTextAttr()

  • ColText = wx_colour() (see module wx)

Equivalent to new(ColText, []).

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

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

  • This = wxTextAttr()

See external documentation.

getFont(This) -> wxFont() (see module wxFont)

  • This = wxTextAttr()

See external documentation.

getLeftIndent(This) -> integer()

  • This = wxTextAttr()

See external documentation.

getLeftSubIndent(This) -> integer()

  • This = wxTextAttr()

See external documentation.

getRightIndent(This) -> integer()

  • This = wxTextAttr()

See external documentation.

getTabs(This) -> [integer()]

  • This = wxTextAttr()

See external documentation.

getTextColour(This) -> wx_colour4() (see module wx)

  • This = wxTextAttr()

See external documentation.

hasBackgroundColour(This) -> boolean()

  • This = wxTextAttr()

See external documentation.

hasFont(This) -> boolean()

  • This = wxTextAttr()

See external documentation.

hasTextColour(This) -> boolean()

  • This = wxTextAttr()

See external documentation.

getFlags(This) -> integer()

  • This = wxTextAttr()

See external documentation.

isDefault(This) -> boolean()

  • This = wxTextAttr()

See external documentation.

setAlignment(This, Alignment) -> ok

  • 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

  • This = wxTextAttr()
  • ColBack = wx_colour() (see module wx)

See external documentation.

setFlags(This, Flags) -> ok

  • This = wxTextAttr()
  • Flags = integer()

See external documentation.

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 external documentation.

setLeftIndent(This, Indent) -> ok

  • This = wxTextAttr()
  • Indent = integer()

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

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

See external documentation.

setRightIndent(This, Indent) -> ok

  • This = wxTextAttr()
  • Indent = integer()

See external documentation.

setTabs(This, Tabs) -> ok

  • This = wxTextAttr()
  • Tabs = [integer()]

See external documentation.

setTextColour(This, ColText) -> ok

  • This = wxTextAttr()
  • ColText = wx_colour() (see module wx)

See external documentation.

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

Destroys this object, do not use object again