Scroll to navigation

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:

ColText = wx:wx_colour()

Equivalent to new(ColText, []).

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

Types:

ColText = wx:wx_colour()
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:

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

Types:

This = wxTextAttr()

See external documentation.

getFont(This) -> wxFont: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:wx_colour4()

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

This = wxTextAttr()
ColBack = wx:wx_colour()

See external documentation.

setFlags(This, Flags) -> ok

Types:

This = wxTextAttr()
Flags = integer()

See external documentation.

setFont(This, Font) -> ok

Types:

This = wxTextAttr()
Font = wxFont:wxFont()

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

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

Types:

This = wxTextAttr()
Font = wxFont:wxFont()
Option = {flags, integer()}

See external documentation.

setLeftIndent(This, Indent) -> ok

Types:

This = wxTextAttr()
Indent = integer()

Equivalent to setLeftIndent(This, Indent, []).

setLeftIndent(This, Indent, Options::[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:wx_colour()

See external documentation.

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

Destroys this object, do not use object again

AUTHORS

<>
wx 1.8