Fun with PWM  0.32
TkServoGrid.TkServo Class Reference

UI for servo information and bar graph representing the current angle. More...

Public Member Functions

def __init__ (self, parent, servo, colours={}, images={})
 
def angle (self)
 
def angle (self, value)
 
def disabled (self)
 
def disabled (self, value)
 
def update (self)
 
def save (self)
 
def initColours (self, colours)
 
def initImages (self, images)
 
def setup (self)
 

Public Attributes

 widget
 
 servo
 
 last
 
 widgets
 

Detailed Description

UI for servo information and bar graph representing the current angle.

Constructor & Destructor Documentation

§ __init__()

def TkServoGrid.TkServo.__init__ (   self,
  parent,
  servo,
  colours = {},
  images = {} 
)
Initializes the TkServo object

@param parent
@param servo
@param colours
@param images

Member Function Documentation

§ angle() [1/2]

def TkServoGrid.TkServo.angle (   self)
angle getter

§ angle() [2/2]

def TkServoGrid.TkServo.angle (   self,
  value 
)
angle setter

@param value

§ disabled() [1/2]

def TkServoGrid.TkServo.disabled (   self)
disabled getter

§ disabled() [2/2]

def TkServoGrid.TkServo.disabled (   self,
  value 
)
disabled setter

@param value

§ initColours()

def TkServoGrid.TkServo.initColours (   self,
  colours 
)
setup colours

§ initImages()

def TkServoGrid.TkServo.initImages (   self,
  images 
)
setup images

§ save()

def TkServoGrid.TkServo.save (   self)
save servo data

§ setup()

def TkServoGrid.TkServo.setup (   self)
setup servo grid ui

§ update()

def TkServoGrid.TkServo.update (   self)
update servo ui

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