GRASS Programmer's Manual  6.4.2(2012)
gui_modules.gselect.FormatSelect Class Reference

Public Member Functions

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

Detailed Description

Definition at line 946 of file gselect.py.


Constructor & Destructor Documentation

def gui_modules.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 947 of file gselect.py.

References gui_modules.gmodeler.ModelLoop.SetItems(), gui_modules.gmodeler.ModelCondition.SetItems(), gui_modules.render.Layer.SetName(), and gui_modules.gmodeler.ModelRelation.SetName().


Member Function Documentation

Get file extension by format name.

Definition at line 970 of file gselect.py.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines