UserPreferences

PyroDocGuiGlgui


1. pyro.gui.GLgui

No Docstring

In File: pryo/gui/GL.py

Subclass of: pyro.gui.gui (see PyroGuiGui) in pyrobot/gui/init.py

Depends on:

  1. pyro.gui.GLgui
    1. Constructor(engine, width = 400, height = 400, db = 1, depth = 1, mode = 1)
    2. External Functions
      1. CommandReturnKey(event)
      2. viewRobot()
      3. viewBrain()
      4. redrawPie(pie, percentSoFar, piececnt, controller, percent, name)
      5. redrawWindowBrain()
      6. redrawWindowRobot()
      7. editBrain()
      8. makeMenu(name, commands)
      9. run()
      10. init()
      11. fileloaddialog(filetype, skel)
      12. refresh()
      13. redraw(win = 0)

1.1. Constructor(engine, width = 400, height = 400, db = 1, depth = 1, mode = 1)

No Docstring

Arguments:

1.2. External Functions

1.2.1. CommandReturnKey(event)

No docstring

Arguments:

Gets a command from self.commandEntry.get(), does some string manipulation, and calls processCommand on it.

1.2.2. viewRobot()

No Docstring

Looks like it creates the winows fort he robot view.

1.2.3. viewBrain()

No Docstring

Creates the window for the brain view.

1.2.4. redrawPie(pie, percentSoFar, piececnt, controller, percent, name)

No Docstring

Arguments:

Draws the pies for the brain view. I'm not sure about the various arguments.

1.2.5. redrawWindowBrain()

No Docstring

I'll come back to this one.

1.2.6. redrawWindowRobot()

No Docstring

Currently does nothing

1.2.7. editBrain()

No Docstring

Open the brain file in emacs.

1.2.8. makeMenu(name, commands)

No Docstring

Arguments:

Returns:

1.2.9. run()

No Docstring

calls self.win.mainloop()

1.2.10. init()

No Docstring

Initializes the openGL options.

1.2.11. fileloaddialog(filetype, skel)

No Docstring

Arguments:

Returns:

1.2.12. refresh()

No Docstring

Do something to the win.[x | y | auto]spin

1.2.13. redraw(win = 0)

No Docstring

Arguments: