User's Guide
Reference Manual
Release Notes
PDF
Top

wxErlang
Reference Manual
Version 0.98.5

Expand All
Contract All

Table of Contents

# wxTextAttr

### MODULE

wxTextAttr

### MODULE SUMMARY

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::colour() (see module wx)) -> wxTextAttr()

Equivalent to new(ColText, []).

new(ColText::colour() (see module wx), Options::[Option]) -> wxTextAttr()

Types:

Option = {colBack, colour() (see module wx)} | {font, wxFont() (see module wxFont)} | {alignment, WxTextAttrAlignment}
WxTextAttrAlignment = integer()

See external documentation.
WxTextAttrAlignment is one of ?wxTEXT_ALIGNMENT_DEFAULT | ?wxTEXT_ALIGNMENT_LEFT | ?wxTEXT_ALIGNMENT_CENTRE | ?wxTEXT_ALIGNMENT_CENTER | ?wxTEXT_ALIGNMENT_RIGHT | ?wxTEXT_ALIGNMENT_JUSTIFIED

getAlignment(This::wxTextAttr()) -> WxTextAttrAlignment

Types:

WxTextAttrAlignment = integer()

See external documentation.
WxTextAttrAlignment is one of ?wxTEXT_ALIGNMENT_DEFAULT | ?wxTEXT_ALIGNMENT_LEFT | ?wxTEXT_ALIGNMENT_CENTRE | ?wxTEXT_ALIGNMENT_CENTER | ?wxTEXT_ALIGNMENT_RIGHT | ?wxTEXT_ALIGNMENT_JUSTIFIED

getBackgroundColour(This::wxTextAttr()) -> colour() (see module wx)

See external documentation.

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

See external documentation.

getLeftIndent(This::wxTextAttr()) -> integer()

See external documentation.

getLeftSubIndent(This::wxTextAttr()) -> integer()

See external documentation.

getRightIndent(This::wxTextAttr()) -> integer()

See external documentation.

getTabs(This::wxTextAttr()) -> [integer()]

See external documentation.

getTextColour(This::wxTextAttr()) -> colour() (see module wx)

See external documentation.

hasBackgroundColour(This::wxTextAttr()) -> bool()

See external documentation.

hasFont(This::wxTextAttr()) -> bool()

See external documentation.

hasTextColour(This::wxTextAttr()) -> bool()

See external documentation.

getFlags(This::wxTextAttr()) -> integer()

See external documentation.

isDefault(This::wxTextAttr()) -> bool()

See external documentation.

setAlignment(This::wxTextAttr(), Alignment::WxTextAttrAlignment) -> ok

Types:

WxTextAttrAlignment = integer()

See external documentation.
WxTextAttrAlignment is one of ?wxTEXT_ALIGNMENT_DEFAULT | ?wxTEXT_ALIGNMENT_LEFT | ?wxTEXT_ALIGNMENT_CENTRE | ?wxTEXT_ALIGNMENT_CENTER | ?wxTEXT_ALIGNMENT_RIGHT | ?wxTEXT_ALIGNMENT_JUSTIFIED

setBackgroundColour(This::wxTextAttr(), ColBack::colour() (see module wx)) -> ok

See external documentation.

setFlags(This::wxTextAttr(), Flags::integer()) -> ok

See external documentation.

setFont(This::wxTextAttr(), Font::wxFont() (see module wxFont)) -> ok

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

setFont(This::wxTextAttr(), Font::wxFont() (see module wxFont), Options::[Option]) -> ok

Types:

Option = {flags, integer()}

See external documentation.

setLeftIndent(This::wxTextAttr(), Indent::integer()) -> ok

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

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

Types:

Option = {subIndent, integer()}

See external documentation.

setRightIndent(This::wxTextAttr(), Indent::integer()) -> ok

See external documentation.

setTabs(This::wxTextAttr(), Tabs::[integer()]) -> ok

See external documentation.

setTextColour(This::wxTextAttr(), ColText::colour() (see module wx)) -> ok

See external documentation.

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

Destroys this object, do not use object again