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

Public Member Functions

def __init__ (self, parent, ogr=False, sourceType=None, id=wx.ID_ANY, size=globalvar.DIALOG_COMBOBOX_SIZE, kwargs)
 Widget for selecting external (GDAL/OGR) format. More...
 
def GetExtension (self, name)
 Get file extension by format name. More...
 

Detailed Description

Definition at line 989 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 992 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 1013 of file gselect.py.


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