Fun with PWM  0.32
TkServoManager.TkServoManager Class Reference

UI for servos. More...

Inheritance diagram for TkServoManager.TkServoManager:
TkBlock.TkPage TkBlock.TkBlock

Public Member Functions

def __init__ (self, parent, gui, options)
 
def setup (self)
 
def listServos (self)
 
def editServo (self)
 
def deleteServo (self)
 
def testServos (self)
 
def OnListServosClick (self)
 
def OnAddServoClick (self)
 
def OnEditServoClick (self, index=None)
 
def OnSaveServoClick (self)
 
def OnDeleteServoClick (self)
 
def OnCancelDeleteClick (self)
 
def OnDeleteServoConfirmClick (self)
 
def OnTestServosClick (self)
 
def OnSaveServosClick (self)
 
def OnResetServosClick (self)
 
def OnAngleChange (self, newangle)
 
def OnUpdateAngles (self, event)
 
def refreshServos (self)
 
- Public Member Functions inherited from TkBlock.TkPage
def __init__ (self, parent, gui, options)
 
def open (self)
 
- Public Member Functions inherited from TkBlock.TkBlock
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)
 

Public Attributes

 specification
 
 servos
 
 gridrow
 
 servo
 
 channelindex
 
- Public Attributes inherited from TkBlock.TkBlock
 gui
 
 parent
 
 height
 
 variables
 
 notifier
 
 colours
 
 fonts
 
 images
 
 wrap
 
 canvas
 
 widget
 
 yScroller
 
 xScroller
 
 widgets
 
 gridrow
 

Detailed Description

UI for servos.

Constructor & Destructor Documentation

§ __init__()

def TkServoManager.TkServoManager.__init__ (   self,
  parent,
  gui,
  options 
)
Initializes TkServoManager object

@param parent
@param gui
@param options

Member Function Documentation

§ deleteServo()

def TkServoManager.TkServoManager.deleteServo (   self)
view - delete servo

§ editServo()

def TkServoManager.TkServoManager.editServo (   self)
view - edit servo

§ listServos()

def TkServoManager.TkServoManager.listServos (   self)
view - list servos

§ OnAddServoClick()

def TkServoManager.TkServoManager.OnAddServoClick (   self)
action - display add servo page

§ OnAngleChange()

def TkServoManager.TkServoManager.OnAngleChange (   self,
  newangle 
)
action - angle change

@param newangle

§ OnCancelDeleteClick()

def TkServoManager.TkServoManager.OnCancelDeleteClick (   self)
action - cancel delete servo

§ OnDeleteServoClick()

def TkServoManager.TkServoManager.OnDeleteServoClick (   self)
action - display delete servo page

§ OnDeleteServoConfirmClick()

def TkServoManager.TkServoManager.OnDeleteServoConfirmClick (   self)
action - delete servo

§ OnEditServoClick()

def TkServoManager.TkServoManager.OnEditServoClick (   self,
  index = None 
)
action - display edit servo page

§ OnListServosClick()

def TkServoManager.TkServoManager.OnListServosClick (   self)
action - display servo list page

§ OnResetServosClick()

def TkServoManager.TkServoManager.OnResetServosClick (   self)
action - reset servos

§ OnSaveServoClick()

def TkServoManager.TkServoManager.OnSaveServoClick (   self)
action - save servo

§ OnSaveServosClick()

def TkServoManager.TkServoManager.OnSaveServosClick (   self)
action - display save servos page

§ OnTestServosClick()

def TkServoManager.TkServoManager.OnTestServosClick (   self)
action - display servo test page

§ OnUpdateAngles()

def TkServoManager.TkServoManager.OnUpdateAngles (   self,
  event 
)
action - update angles

@param event

§ refreshServos()

def TkServoManager.TkServoManager.refreshServos (   self)
util - refresh servos

§ setup()

def TkServoManager.TkServoManager.setup (   self)
setup gui menu

§ testServos()

def TkServoManager.TkServoManager.testServos (   self)
view - test servos

The documentation for this class was generated from the following file: