wx.FontPickerCtrl Class Reference

Inheritance diagram for wx.FontPickerCtrl:

wx.PickerBase wx.Control wx.Window wx.EvtHandler wx.Object

List of all members.

Public Member Functions

void Create (Window parent, int id, Font font, Point position, Size size, WindowStyles style, wxString name)
 FontPickerCtrl (Window parent, Font font, Point position, Size size, WindowStyles style)
 FontPickerCtrl (Window parent, int id, Font font, Point position, Size size, WindowStyles style)
 FontPickerCtrl (Window parent, int id, Font font, Point position, Size size, WindowStyles style, string name)
 FontPickerCtrl (Window parent, int id, Font font, Point position, Size size, WindowStyles style, wxString name)
 FontPickerCtrl ()
 FontPickerCtrl (IntPtr cptr)

Properties

int MaxPointSize [get, set]
Font SelectedFont [get, set]


Detailed Description

This control allows the user to select a font. The generic implementation is a button which brings up a wxFontDialog when clicked. Native implementation may differ but this is usually a (small) widget which give access to the font-chooser dialog.

Uses the styles wx.WindowStyles.FNTP_FONTDESC_AS_LABEL, wx.WindowStyles.FNTP_USEFONT_FOR_LABEL, wx.WindowStyles.FNTP_USE_TEXTCTRL, wx.WindowStyles.FNTP_DEFAULT_STYLE.


Constructor & Destructor Documentation

wx.FontPickerCtrl.FontPickerCtrl ( IntPtr  cptr  ) 

wx.FontPickerCtrl.FontPickerCtrl (  ) 

Default CTor. Use this in two step construction in combination with Create().

wx.FontPickerCtrl.FontPickerCtrl ( Window  parent,
int  id,
Font  font,
Point  position,
Size  size,
WindowStyles  style,
wxString  name 
)

wx.FontPickerCtrl.FontPickerCtrl ( Window  parent,
int  id,
Font  font,
Point  position,
Size  size,
WindowStyles  style,
string  name 
)

wx.FontPickerCtrl.FontPickerCtrl ( Window  parent,
int  id,
Font  font,
Point  position,
Size  size,
WindowStyles  style 
)

wx.FontPickerCtrl.FontPickerCtrl ( Window  parent,
Font  font,
Point  position,
Size  size,
WindowStyles  style 
)


Member Function Documentation

void wx.FontPickerCtrl.Create ( Window  parent,
int  id,
Font  font,
Point  position,
Size  size,
WindowStyles  style,
wxString  name 
)

Second step in 2-step construction.


Property Documentation

int wx.FontPickerCtrl.MaxPointSize [get, set]

Reads or defines the maximal point size of a font.

Font wx.FontPickerCtrl.SelectedFont [get, set]

Get or set the selected font. Please keep care that the result will be finalized as soon as possible since some platforms only allow a certain amount of allocated font objects.


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