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

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)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Types:

Option = {subIndent, integer()}

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

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

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

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

Destroys this object, do not use object again