Fun with PWM  0.32
TkJoystickManager.TkJoystickButton Class Reference
Inheritance diagram for TkJoystickManager.TkJoystickButton:
TkBlock.TkBlock

Public Member Functions

def __init__ (self, parent, name, colours={}, images={})
 
def initColours (self, colours)
 
def initImages (self, images)
 
def setup (self)
 
def update (self, value)
 
- 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

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

Constructor & Destructor Documentation

§ __init__()

def TkJoystickManager.TkJoystickButton.__init__ (   self,
  parent,
  name,
  colours = {},
  images = {} 
)
Initializes the TkJoystickButton object

@param parent
@param colours
@param images

Member Function Documentation

§ initColours()

def TkJoystickManager.TkJoystickButton.initColours (   self,
  colours 
)
setup colours

§ initImages()

def TkJoystickManager.TkJoystickButton.initImages (   self,
  images 
)
setup images

§ update()

def TkJoystickManager.TkJoystickButton.update (   self,
  value 
)
update button ui

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