Package NetworkEditor :: Module gridEditor :: Class OneGrid
[hide private]
[frames] | no frames]

Class OneGrid

source code

Basic object that builds a grid editor GUI and provides a get() and set() method

Instance Methods [hide private]
  __init__(self, root=None, port=None, label=False, callback=None)
  createForm(self)
this method builds the GUI
  set(self, gridcfg)
inputs a dict describing a Tkinter grid configuration
  get(self)
returns a dict describing a Tkinter grid configuration
  toggleOpts_cb(self, event=None)
toggle between displaying more or fewer options
  removeOptions(self)
remove certain entries from GUI
  addOptions(self)
add entries back to GUI
  callCallback(self, event=None)

Method Details [hide private]

__init__(self, root=None, port=None, label=False, callback=None)
(Constructor)

source code 
None

createForm(self)

source code 
this method builds the GUI

set(self, gridcfg)

source code 
inputs a dict describing a Tkinter grid configuration

get(self)

source code 
returns a dict describing a Tkinter grid configuration

toggleOpts_cb(self, event=None)

source code 
toggle between displaying more or fewer options

removeOptions(self)

source code 
remove certain entries from GUI

addOptions(self)

source code 
add entries back to GUI

callCallback(self, event=None)

source code 
None