GRASS Programmer's Manual  6.5.svn(2012)-r51648
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
dialogs.ElementDialog Class Reference
Inheritance diagram for dialogs.ElementDialog:

Public Member Functions

def __init__
 General dialog to choose given element (location, mapset, vector map, etc.)
def PostInit
def OnType
 Select element type.
def OnElement
 Name for vector map layer given.
def GetElement
 Return (mapName, overwrite)
def GetType
 Get element type.

Data Fields

 etype
 label
 panel
 btnCancel
 btnOK
 typeSelect
 element
 sizer
 dataSizer

Detailed Description

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


Constructor & Destructor Documentation

def dialogs.ElementDialog.__init__ (   self,
  parent,
  title,
  label,
  id = wx.ID_ANY,
  etype = False,
  style = wx.DEFAULT_DIALOG_STYLE | wx.RESIZE_BORDER,
  kwargs 
)

General dialog to choose given element (location, mapset, vector map, etc.)

Parameters:
parentwindow
titlewindow title
labelelement label
etypeshow also ElementSelect

Reimplemented in dialogs.NewVectorDialog.

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


Member Function Documentation

Get element type.

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

Referenced by dialogs.ModelDataDialog.OnOK().

def dialogs.ElementDialog.OnElement (   self,
  event 
)

Name for vector map layer given.

Reimplemented in dialogs.LocationDialog.

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

Referenced by dialogs.NewVectorDialog.OnMapName(), and dialogs.ElementDialog.PostInit().

def dialogs.ElementDialog.OnType (   self,
  event 
)

Select element type.

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

References dialogs.ElementDialog.etype.

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

References dialogs.ElementDialog.OnElement().


Field Documentation

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


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