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

Public Member Functions

def __init__
 Widget for selecting external (GDAL/OGR) format. More...
 
def GetExtension
 Get file extension by format name. More...
 

Detailed Description

Definition at line 993 of file gselect.py.

Constructor & Destructor Documentation

def gselect.FormatSelect.__init__ (   self,
  parent,
  ogr = False,
  sourceType = None,
  id = wx.ID_ANY,
  size = globalvar.DIALOG_COMBOBOX_SIZE,
  kwargs 
)

Widget for selecting external (GDAL/OGR) format.

Parameters
parentparent window
sourceTypesource type ('file', 'directory', 'database', 'protocol') or None
ogrTrue for OGR otherwise GDAL

Definition at line 996 of file gselect.py.

References utils.GetFormats(), model.ModelLoop.SetItems(), model.ModelCondition.SetItems(), render.Layer.SetName(), and model.ModelRelation.SetName().

Member Function Documentation

def gselect.FormatSelect.GetExtension (   self,
  name 
)

Get file extension by format name.

Definition at line 1017 of file gselect.py.


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