wxErlang

Reference Manual

Version 1.8.2

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

getFont(This) -> wxFont:wxFont()

Types

This = wxTextAttr()

getLeftIndent(This) -> integer()

Types

This = wxTextAttr()

getLeftSubIndent(This) -> integer()

Types

This = wxTextAttr()

getRightIndent(This) -> integer()

Types

This = wxTextAttr()

getTabs(This) -> [integer()]

Types

This = wxTextAttr()

getTextColour(This) -> wx:wx_colour4()

Types

This = wxTextAttr()

hasBackgroundColour(This) -> boolean()

Types

This = wxTextAttr()

hasFont(This) -> boolean()

Types

This = wxTextAttr()

hasTextColour(This) -> boolean()

Types

This = wxTextAttr()

getFlags(This) -> integer()

Types

This = wxTextAttr()

isDefault(This) -> boolean()

Types

This = wxTextAttr()

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

setFlags(This, Flags) -> ok

Types

This = wxTextAttr()
Flags = integer()

setFont(This, Font) -> ok

Types

This = wxTextAttr()

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

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

Types

This = wxTextAttr()
Option = {flags, integer()}

setLeftIndent(This, Indent) -> ok

Types

This = wxTextAttr()
Indent = integer()

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

Types

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

setRightIndent(This, Indent) -> ok

Types

This = wxTextAttr()
Indent = integer()

setTabs(This, Tabs) -> ok

Types

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

setTextColour(This, ColText) -> ok

Types

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

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

Destroys this object, do not use object again