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

Base preferences dialog. More...

Inheritance diagram for preferences.PreferencesBaseDialog:
Collaboration diagram for preferences.PreferencesBaseDialog:

Public Member Functions

def __init__
 
def OnDefault
 Button 'Set to default' pressed. More...
 
def OnApply
 Button 'Apply' pressed Posts event EVT_SETTINGS_CHANGED. More...
 
def OnCloseWindow
 
def OnCancel
 Button 'Cancel' pressed. More...
 
def OnSave
 Button 'Save' pressed Posts event EVT_SETTINGS_CHANGED. More...
 

Data Fields

 parent
 
 title
 
 size
 
 settings
 
 notebook
 
 winId
 
 btnDefault
 
 btnSave
 
 btnApply
 
 btnCancel
 

Detailed Description

Base preferences dialog.

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

Constructor & Destructor Documentation

def preferences.PreferencesBaseDialog.__init__ (   self,
  parent,
  settings,
  title = _("User settings"),
  size = (500, 475,
  style = wx.DEFAULT_DIALOG_STYLE | wx.RESIZE_BORDER 
)

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

Referenced by preferences.PreferencesBaseDialog.OnSave().

Member Function Documentation

def preferences.PreferencesBaseDialog.OnApply (   self,
  event 
)
def preferences.PreferencesBaseDialog.OnCancel (   self,
  event 
)
def preferences.PreferencesBaseDialog.OnCloseWindow (   self,
  event 
)
def preferences.PreferencesBaseDialog.OnDefault (   self,
  event 
)

Button 'Set to default' pressed.

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

References preferences.PreferencesBaseDialog.winId.

def preferences.PreferencesBaseDialog.OnSave (   self,
  event 
)

Field Documentation

preferences.PreferencesBaseDialog.btnApply

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

preferences.PreferencesBaseDialog.btnCancel

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

preferences.PreferencesBaseDialog.btnDefault

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

preferences.PreferencesBaseDialog.btnSave

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

preferences.PreferencesBaseDialog.notebook
preferences.PreferencesBaseDialog.size
preferences.PreferencesBaseDialog.title

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