GRASS Programmer's Manual  6.4.2(2012)
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

Definition at line 132 of file menuform.py.

References gui_modules::render.map.

Escapes ampersands with additional ampersand for GUI.

Definition at line 158 of file menuform.py.

Referenced by 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 escape_ampersand().

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

Variable Documentation

Initial value:
00001 { 'enabled' : False,
00002                'items'   : { 'd.legend' : { 'flags' : ['m'] } }
00003                }

Definition at line 128 of file menuform.py.

Definition at line 1948 of file menuform.py.

Definition at line 1942 of file menuform.py.

Referenced by Vect_hist_command().

Definition at line 123 of file menuform.py.

Initial value:
00001 {'aqua': (100, 128, 255),
00002            'black': (0, 0, 0),
00003            'blue': (0, 0, 255),
00004            'brown': (180, 77, 25),
00005            'cyan': (0, 255, 255),
00006            'gray': (128, 128, 128),
00007            'green': (0, 255, 0),
00008            'grey': (128, 128, 128),
00009            'indigo': (0, 128, 255),
00010            'magenta': (255, 0, 255),
00011            'orange': (255, 128, 0),
00012            'purple': (128, 0, 128),
00013            'red': (255, 0, 0),
00014            'violet': (128, 0, 255),
00015            'white': (255, 255, 255),
00016            '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.

Definition at line 84 of file menuform.py.

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines