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

Dialog used to select location. More...

Inheritance diagram for dialogs.LocationDialog:
Collaboration diagram for dialogs.LocationDialog:

Public Member Functions

def __init__
 
def OnElement
 Select mapset given location name. More...
 
def GetValues
 Get location, mapset. More...
 
- Public Member Functions inherited from dialogs.ElementDialog
def __init__
 General dialog to choose given element (location, mapset, vector map, etc.) More...
 
def PostInit
 
def OnType
 Select element type. More...
 
def OnElement
 Name for vector map layer given. More...
 
def GetElement
 Return (mapName, overwrite) More...
 
def GetType
 Get element type. More...
 

Data Fields

 element
 
 element1
 
- Data Fields inherited from dialogs.ElementDialog
 etype
 
 label
 
 panel
 
 btnCancel
 
 btnOK
 
 typeSelect
 
 element
 
 sizer
 
 dataSizer
 

Detailed Description

Dialog used to select location.

Definition at line 143 of file gui_core/dialogs.py.

Constructor & Destructor Documentation

def dialogs.LocationDialog.__init__ (   self,
  parent,
  title = _("Select GRASS location and mapset"),
  id = wx.ID_ANY 
)

Definition at line 145 of file gui_core/dialogs.py.

Member Function Documentation

def dialogs.LocationDialog.GetValues (   self)

Get location, mapset.

Definition at line 190 of file gui_core/dialogs.py.

References dialogs.ElementDialog.GetElement(), and render.Layer.GetElement().

def dialogs.LocationDialog.OnElement (   self,
  event 
)

Select mapset given location name.

Definition at line 175 of file gui_core/dialogs.py.

Field Documentation

dialogs.LocationDialog.element

Definition at line 148 of file gui_core/dialogs.py.

dialogs.LocationDialog.element1

Definition at line 151 of file gui_core/dialogs.py.


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