wxTextAttr.3erl

Langue: en

Autres versions - même langue

Version: 298653 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

wxTextAttr - See external documentation: wxTextAttr.

DESCRIPTION

See external documentation: wxTextAttr <http://www.wxwidgets.org/manuals/stable/wx_wxtextattr.html>.

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 <http://www.wxwidgets.org/manuals/stable/wx_wxtextattr.html#wxtextattrwxtextattr>.

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 <http://www.wxwidgets.org/manuals/stable/wx_wxtextattr.html#wxtextattrwxtextattr>.

 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 <http://www.wxwidgets.org/manuals/stable/wx_wxtextattr.html#wxtextattrgetalignment>.

 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 <http://www.wxwidgets.org/manuals/stable/wx_wxtextattr.html#wxtextattrgetbackgroundcolour>.

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


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxtextattr.html#wxtextattrgetfont>.

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


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxtextattr.html#wxtextattrgetleftindent>.

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


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxtextattr.html#wxtextattrgetleftsubindent>.

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


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxtextattr.html#wxtextattrgetrightindent>.

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


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxtextattr.html#wxtextattrgettabs>.

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


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxtextattr.html#wxtextattrgettextcolour>.

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


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxtextattr.html#wxtextattrhasbackgroundcolour>.

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


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxtextattr.html#wxtextattrhasfont>.

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


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxtextattr.html#wxtextattrhastextcolour>.

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


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxtextattr.html#wxtextattrgetflags>.

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


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxtextattr.html#wxtextattrisdefault>.

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

Types
WxTextAttrAlignment = integer()

See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxtextattr.html#wxtextattrsetalignment>.

 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 <http://www.wxwidgets.org/manuals/stable/wx_wxtextattr.html#wxtextattrsetbackgroundcolour>.

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


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxtextattr.html#wxtextattrsetflags>.

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 <http://www.wxwidgets.org/manuals/stable/wx_wxtextattr.html#wxtextattrsetfont>.

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 <http://www.wxwidgets.org/manuals/stable/wx_wxtextattr.html#wxtextattrsetleftindent>.

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


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxtextattr.html#wxtextattrsetrightindent>.

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


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxtextattr.html#wxtextattrsettabs>.

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


See external documentation <http://www.wxwidgets.org/manuals/stable/wx_wxtextattr.html#wxtextattrsettextcolour>.

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


Destroys this object, do not use object again