GRASS Programmer's Manual  6.5.svn(2012)-r51648
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
preferences.DefaultFontDialog Class Reference

Public Member Functions

def __init__
def EvtRadioBox
def OnEncoding
def EvtListBox
def EvtListBoxDClick
def OnSizeSpin
def GetFonts

Data Fields

 settings
 type
 fontlist
 fontlb
 font
 encoding
 textentry
 fontsize
 spin
 fonttype

Detailed Description

Opens a file selection dialog to select default font
to use in all GRASS displays

Definition at line 1282 of file gui_core/preferences.py.


Constructor & Destructor Documentation

def preferences.DefaultFontDialog.__init__ (   self,
  parent,
  title,
  id = wx.ID_ANY,
  style = wx.DEFAULT_DIALOG_STYLE |                  wx.RESIZE_BORDER,
  settings = UserSettings,
  type = 'font' 
)

Definition at line 1291 of file gui_core/preferences.py.


Member Function Documentation

def preferences.DefaultFontDialog.EvtListBox (   self,
  event 
)

Definition at line 1410 of file gui_core/preferences.py.

References preferences.DefaultFontDialog.font.

Definition at line 1414 of file gui_core/preferences.py.

References preferences.DefaultFontDialog.font.

def preferences.DefaultFontDialog.EvtRadioBox (   self,
  event 
)

Definition at line 1398 of file gui_core/preferences.py.

parses fonts directory or fretypecap file to get a list of fonts for the listbox

Definition at line 1422 of file gui_core/preferences.py.

References tools.range, and gcmd.RunCommand().

def preferences.DefaultFontDialog.OnEncoding (   self,
  event 
)

Definition at line 1407 of file gui_core/preferences.py.

References preferences.DefaultFontDialog.encoding.

def preferences.DefaultFontDialog.OnSizeSpin (   self,
  event 
)

Definition at line 1418 of file gui_core/preferences.py.

References preferences.DefaultFontDialog.fontsize.


Field Documentation


The documentation for this class was generated from the following file: