GRASS Programmer's Manual  6.4.4(2014)-r
preferences.DefaultFontDialog Class Reference
Inheritance diagram for preferences.DefaultFontDialog:
Collaboration diagram for preferences.DefaultFontDialog:

Public Member Functions

def __init__
 
def EvtRadioBox (self, event)
 
def OnEncoding (self, event)
 
def EvtListBox (self, event)
 
def EvtListBoxDClick (self, event)
 
def OnSizeSpin (self, event)
 
def GetFonts (self)
 

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 1394 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 1403 of file gui_core/preferences.py.

Member Function Documentation

def preferences.DefaultFontDialog.EvtListBox (   self,
  event 
)

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

References preferences.DefaultFontDialog.font.

def preferences.DefaultFontDialog.EvtListBoxDClick (   self,
  event 
)

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

References preferences.DefaultFontDialog.font.

def preferences.DefaultFontDialog.EvtRadioBox (   self,
  event 
)

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

def preferences.DefaultFontDialog.GetFonts (   self)
parses fonts directory or fretypecap file to get a list of fonts for the listbox

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

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

def preferences.DefaultFontDialog.OnEncoding (   self,
  event 
)

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

References preferences.DefaultFontDialog.encoding.

def preferences.DefaultFontDialog.OnSizeSpin (   self,
  event 
)

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

References preferences.DefaultFontDialog.fontsize.

Field Documentation

preferences.DefaultFontDialog.encoding
preferences.DefaultFontDialog.fontlb

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

preferences.DefaultFontDialog.fontlist

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

preferences.DefaultFontDialog.fontsize

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

Referenced by preferences.DefaultFontDialog.OnSizeSpin().

preferences.DefaultFontDialog.fonttype

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

preferences.DefaultFontDialog.spin

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

preferences.DefaultFontDialog.textentry

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

preferences.DefaultFontDialog.type

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

Referenced by widgets.BaseValidator.Validate().


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