UI for gravity demo.
More...
|
def | __init__ (self, parent, gui, options) |
|
def | initDependencyManager (self) |
|
def | initImages (self) |
|
def | getImage (self, name, angle) |
|
def | setup (self) |
|
def | serviceManager (self) |
|
def | showGravity (self) |
|
def | updateGravity (self) |
|
def | unavailable (self) |
|
def | OnStartClick (self) |
|
def | OnStopClick (self) |
|
def | OnToggleAutostartClick (self) |
|
def | OnGravityClick (self) |
|
def | __init__ (self, parent, gui, options) |
|
def | open (self) |
|
def | __init__ (self, parent, gui, options) |
|
def | setup (self) |
|
def | initWidget (self) |
|
def | addMenu (self, menu, label="-") |
|
def | open (self) |
|
def | close (self) |
|
def | genericView (self, parent, value) |
|
def | numberView (self, parent, value) |
|
def | stringView (self, parent, value) |
|
def | dictView (self, parent, value) |
|
def | iterView (self, parent, value) |
|
|
| scheduler |
|
| imu |
|
| groundcoords |
|
| centre |
|
| shapes |
|
| cache |
|
| basepath |
|
| pimg |
|
| tkimg |
|
| pm |
|
| oimages |
|
| last |
|
| autostart |
|
| gui |
|
| parent |
|
| height |
|
| variables |
|
| notifier |
|
| colours |
|
| fonts |
|
| images |
|
| wrap |
|
| canvas |
|
| widget |
|
| yScroller |
|
| xScroller |
|
| widgets |
|
| gridrow |
|
§ __init__()
def TkGravityManager.TkGravityManager.__init__ |
( |
|
self, |
|
|
|
parent, |
|
|
|
gui, |
|
|
|
options |
|
) |
| |
Initializes TkGravityManager object
@param parent
@param gui
@param options
§ getImage()
def TkGravityManager.TkGravityManager.getImage |
( |
|
self, |
|
|
|
name, |
|
|
|
angle |
|
) |
| |
gets an image from cache or caches it
@param name
@param angle
§ initDependencyManager()
def TkGravityManager.TkGravityManager.initDependencyManager |
( |
|
self | ) |
|
§ initImages()
def TkGravityManager.TkGravityManager.initImages |
( |
|
self | ) |
|
§ OnGravityClick()
def TkGravityManager.TkGravityManager.OnGravityClick |
( |
|
self | ) |
|
action - displays the gravity page
§ OnStartClick()
def TkGravityManager.TkGravityManager.OnStartClick |
( |
|
self | ) |
|
action - starts the imu service
§ OnStopClick()
def TkGravityManager.TkGravityManager.OnStopClick |
( |
|
self | ) |
|
action - stops the imu service
§ OnToggleAutostartClick()
def TkGravityManager.TkGravityManager.OnToggleAutostartClick |
( |
|
self | ) |
|
action - toggles imu service autostart
§ serviceManager()
def TkGravityManager.TkGravityManager.serviceManager |
( |
|
self | ) |
|
view - imu service manager
§ setup()
def TkGravityManager.TkGravityManager.setup |
( |
|
self | ) |
|
§ showGravity()
def TkGravityManager.TkGravityManager.showGravity |
( |
|
self | ) |
|
view - displays graviry ui
§ unavailable()
def TkGravityManager.TkGravityManager.unavailable |
( |
|
self | ) |
|
view - fallback for missing imu
§ updateGravity()
def TkGravityManager.TkGravityManager.updateGravity |
( |
|
self | ) |
|
util - updates gravity ui
The documentation for this class was generated from the following file: