wx.TextAttr Class Reference

Inheritance diagram for wx.TextAttr:

wx.Object

List of all members.

Public Types

enum  Attr

Public Member Functions

override void Dispose ()
bool HasFlag (Attr flag)
void SetLeftIndent (int indent, int subIndent)
void SetLeftIndent (int indent)
 TextAttr (Colour colText, Colour colBack, Font font, TextAttrAlignment alignment)
 TextAttr (Colour colText, Colour colBack, Font font)
 TextAttr (Colour colText, Colour colBack)
 TextAttr (Colour colText)
 TextAttr ()
 TextAttr (IntPtr wxObject)

Properties

TextAttrAlignment Alignment [get, set]
Colour BackgroundColour [get, set]
Attr Flags [get, set]
Font Font [get, set]
bool HasAlignment [get]
bool HasBackgroundColour [get]
bool HasFont [get]
bool HasLeftIndent [get]
bool HasRightIndent [get]
bool HasTabs [get]
bool HasTextColour [get]
bool IsDefault [get]
int LeftIndent [get]
int LeftSubIndent [get]
int RightIndent [get, set]
int[] Tabs [get, set]
Colour TextColour [get, set]


Member Enumeration Documentation

enum wx::TextAttr::Attr

These are the bits used in property Flags.

Enumerator:
TextColour 
BackgroundColour 
FontFace 
FontSize 
FontWeight 
FontItalic 
FontUnderline 
Font 
Alignment 
LeftIndent 
RightIndent 
Tabs 


Constructor & Destructor Documentation

wx.TextAttr.TextAttr ( IntPtr  wxObject  ) 

wx.TextAttr.TextAttr (  ) 

wx.TextAttr.TextAttr ( Colour  colText  ) 

wx.TextAttr.TextAttr ( Colour  colText,
Colour  colBack 
)

Text attributes defining text and background colour. Use null for the colText if you only want to specify the background colour.

wx.TextAttr.TextAttr ( Colour  colText,
Colour  colBack,
Font  font 
)

Text attributes defining text and background colour. Use null for unspecific properties.

wx.TextAttr.TextAttr ( Colour  colText,
Colour  colBack,
Font  font,
TextAttrAlignment  alignment 
)

Text attributes defining text and background colour. Use null for unspecific properties.


Member Function Documentation

override void wx.TextAttr.Dispose (  )  [virtual]

Reimplemented from wx.Object.

bool wx.TextAttr.HasFlag ( Attr  flag  ) 

void wx.TextAttr.SetLeftIndent ( int  indent,
int  subIndent 
)

void wx.TextAttr.SetLeftIndent ( int  indent  ) 


Property Documentation

TextAttrAlignment wx.TextAttr.Alignment [get, set]

Colour wx.TextAttr.BackgroundColour [get, set]

Attr wx.TextAttr.Flags [get, set]

Returns or sets a bitlist indicating which attributes will be set.

Font wx.TextAttr.Font [get, set]

bool wx.TextAttr.HasAlignment [get]

bool wx.TextAttr.HasBackgroundColour [get]

bool wx.TextAttr.HasFont [get]

bool wx.TextAttr.HasLeftIndent [get]

bool wx.TextAttr.HasRightIndent [get]

bool wx.TextAttr.HasTabs [get]

bool wx.TextAttr.HasTextColour [get]

bool wx.TextAttr.IsDefault [get]

int wx.TextAttr.LeftIndent [get]

int wx.TextAttr.LeftSubIndent [get]

int wx.TextAttr.RightIndent [get, set]

int [] wx.TextAttr.Tabs [get, set]

Colour wx.TextAttr.TextColour [get, set]


Manual of the wx.NET   (c) 2003-2011 the wx.NET project at   Get wx.NET at SourceForge.net. Fast, secure and Free Open Source software downloads