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

Public Member Functions

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

 etype
 
 label
 
 panel
 
 btnCancel
 
 btnOK
 
 typeSelect
 
 element
 
 sizer
 
 dataSizer
 

Detailed Description

Definition at line 56 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

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

Member Function Documentation

def dialogs.ElementDialog.GetElement (   self)
def dialogs.ElementDialog.GetType (   self)

Get element type.

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

Referenced by dialogs.ModelDataDialog.OnOK().

def dialogs.ElementDialog.OnElement (   self,
  event 
)

Name for vector map layer given.

Definition at line 99 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 92 of file gui_core/dialogs.py.

References dialogs.ElementDialog.etype.

def dialogs.ElementDialog.PostInit (   self)

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

References dialogs.ElementDialog.OnElement().

Field Documentation

dialogs.ElementDialog.btnCancel

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

dialogs.ElementDialog.btnOK

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

dialogs.ElementDialog.dataSizer

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

dialogs.ElementDialog.element

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

Referenced by dialogs.NewVectorDialog.OnTable().

dialogs.ElementDialog.etype
dialogs.ElementDialog.label

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

Referenced by python.task.grassTask.get_description().

dialogs.ElementDialog.sizer
dialogs.ElementDialog.typeSelect

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


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