GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
preferences.DefaultFontDialog Class Reference
Inheritance diagram for preferences.DefaultFontDialog:
Collaboration diagram for preferences.DefaultFontDialog:

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 1391 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 1400 of file gui_core/preferences.py.

Member Function Documentation

def preferences.DefaultFontDialog.EvtListBox (   self,
  event 
)

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

References preferences.DefaultFontDialog.font.

def preferences.DefaultFontDialog.EvtListBoxDClick (   self,
  event 
)

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

References preferences.DefaultFontDialog.font.

def preferences.DefaultFontDialog.EvtRadioBox (   self,
  event 
)

Definition at line 1507 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 1531 of file gui_core/preferences.py.

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

def preferences.DefaultFontDialog.OnEncoding (   self,
  event 
)

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

References preferences.DefaultFontDialog.encoding.

def preferences.DefaultFontDialog.OnSizeSpin (   self,
  event 
)

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

References preferences.DefaultFontDialog.fontsize.

Field Documentation

preferences.DefaultFontDialog.encoding
preferences.DefaultFontDialog.fontlb

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

preferences.DefaultFontDialog.fontlist

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

preferences.DefaultFontDialog.fontsize

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

Referenced by preferences.DefaultFontDialog.OnSizeSpin().

preferences.DefaultFontDialog.fonttype

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

preferences.DefaultFontDialog.spin

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

preferences.DefaultFontDialog.textentry

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

preferences.DefaultFontDialog.type

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

Referenced by widgets.BaseValidator.Validate().


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