GRASS Programmer's Manual  6.4.2(2012)
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
gui_modules.menuform Namespace Reference

Data Structures

class  UpdateThread
 Update dialog widgets in the thread. More...
class  UpdateQThread
 Update dialog widgets in the thread. More...
class  mainFrame
 This is the Frame containing the dialog for options input. More...
class  cmdPanel
 A panel containing a notebook dividing in tabs the different guisections of the GRASS cmd. More...
class  GrassGUIApp
 Stand-alone GRASS command GUI. More...
class  GUI
class  FloatValidator
 Validator for floating-point input. More...
class  GNotebook
 Generic notebook widget. More...

Functions

def color_resolve
def text_beautify
def escape_ampersand
 Escapes ampersands with additional ampersand for GUI.
def UpdateDialog

Variables

tuple gisbase = os.getenv("GISBASE")
 wxbase = gisbase
dictionary str2rgb
dictionary rgb2str = {}
dictionary _blackList
tuple q = wx.LogNull()
tuple cmd = utils.split(sys.argv[1])
tuple task = gtask.grassTask(cmd[0], blackList = _blackList)
tuple app = GrassGUIApp(task)

Function Documentation

def gui_modules.menuform.color_resolve (   color)

Definition at line 132 of file menuform.py.

References gui_modules.render.map.

def gui_modules.menuform.escape_ampersand (   text)

Escapes ampersands with additional ampersand for GUI.

Definition at line 158 of file menuform.py.

Referenced by gui_modules.menuform.text_beautify().

def gui_modules.menuform.text_beautify (   someString,
  width = 70 
)
Make really long texts shorter, clean up whitespace and
remove trailing punctuation.

Definition at line 146 of file menuform.py.

References gui_modules.menuform.escape_ampersand().

def gui_modules.menuform.UpdateDialog (   parent,
  event,
  eventId,
  task 
)

Variable Documentation

dictionary gui_modules.menuform._blackList
Initial value:
1 { 'enabled' : False,
2  'items' : { 'd.legend' : { 'flags' : ['m'] } }
3  }

Definition at line 128 of file menuform.py.

tuple gui_modules.menuform.app = GrassGUIApp(task)

Definition at line 1948 of file menuform.py.

tuple gui_modules.menuform.cmd = utils.split(sys.argv[1])

Definition at line 1942 of file menuform.py.

Referenced by Vect_hist_command().

tuple gui_modules.menuform.gisbase = os.getenv("GISBASE")
dictionary gui_modules.menuform.rgb2str = {}

Definition at line 123 of file menuform.py.

dictionary gui_modules.menuform.str2rgb
Initial value:
1 {'aqua': (100, 128, 255),
2  'black': (0, 0, 0),
3  'blue': (0, 0, 255),
4  'brown': (180, 77, 25),
5  'cyan': (0, 255, 255),
6  'gray': (128, 128, 128),
7  'green': (0, 255, 0),
8  'grey': (128, 128, 128),
9  'indigo': (0, 128, 255),
10  'magenta': (255, 0, 255),
11  'orange': (255, 128, 0),
12  'purple': (128, 0, 128),
13  'red': (255, 0, 0),
14  'violet': (128, 0, 255),
15  'white': (255, 255, 255),
16  'yellow': (255, 255, 0)}

Definition at line 107 of file menuform.py.

tuple gui_modules.menuform.task = gtask.grassTask(cmd[0], blackList = _blackList)

Definition at line 1946 of file menuform.py.

tuple gui_modules.menuform.wxbase = gisbase

Definition at line 84 of file menuform.py.