Fun with PWM  0.32
TkKeyboardManager.TkKeyboardManager Class Reference

UI for keyboard. More...

Inheritance diagram for TkKeyboardManager.TkKeyboardManager:
TkBlock.TkPage TkBlock.TkBlock

Public Member Functions

def __init__ (self, parent, gui, options)
 
def setup (self)
 
def serviceManager (self)
 
def listMaps (self)
 
def editMap (self)
 
def deleteMap (self)
 
def listMappings (self)
 
def editMapping (self)
 
def deleteMapping (self)
 
def OnStartClick (self)
 
def OnStopClick (self)
 
def OnToggleAutostartClick (self)
 
def OnListMapsClick (self)
 
def OnAddMapClick (self)
 
def OnEditMapClick (self, index)
 
def OnSaveMapClick (self)
 
def OnDeleteMapClick (self, index)
 
def OnConfirmDeleteMapClick (self)
 
def OnMapBackClick (self)
 
def OnActivateMapClick (self, index)
 
def OnListMappingsClick (self, index)
 
def OnAddMappingClick (self)
 
def OnEditMappingClick (self, index)
 
def OnSaveMappingClick (self)
 
def OnDeleteMappingClick (self, index)
 
def OnConfirmDeleteMappingClick (self)
 
def OnMappingBackClick (self)
 
def OnKeyCaptureClick (self)
 
def inputTkCapture (self, event)
 
def keyCapture (self, event)
 
- 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

 scheduler
 
 specification
 
 asciimap
 
 kbthread
 
 stopped
 
 gridrow
 
 autostart
 
 maps
 
 map
 
 mapping
 
 keycaptured
 
- 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 keyboard.

Constructor & Destructor Documentation

§ __init__()

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

@param parent
@param gui
@param options

Member Function Documentation

§ deleteMap()

def TkKeyboardManager.TkKeyboardManager.deleteMap (   self)
view - delete map

§ deleteMapping()

def TkKeyboardManager.TkKeyboardManager.deleteMapping (   self)
view - delete mapping

§ editMap()

def TkKeyboardManager.TkKeyboardManager.editMap (   self)
view - edit maps

§ editMapping()

def TkKeyboardManager.TkKeyboardManager.editMapping (   self)
view - edit mapping

§ inputTkCapture()

def TkKeyboardManager.TkKeyboardManager.inputTkCapture (   self,
  event 
)
util - captures kb events from TkInter instead of terminal

@param event

§ keyCapture()

def TkKeyboardManager.TkKeyboardManager.keyCapture (   self,
  event 
)
util - captures pressed key

@param event

§ listMappings()

def TkKeyboardManager.TkKeyboardManager.listMappings (   self)
view - list mappings

§ listMaps()

def TkKeyboardManager.TkKeyboardManager.listMaps (   self)
view - list maps

§ OnActivateMapClick()

def TkKeyboardManager.TkKeyboardManager.OnActivateMapClick (   self,
  index 
)
action - activate key map

@param index

§ OnAddMapClick()

def TkKeyboardManager.TkKeyboardManager.OnAddMapClick (   self)
action - displays add map page

§ OnAddMappingClick()

def TkKeyboardManager.TkKeyboardManager.OnAddMappingClick (   self)
action - displays add mapping page

§ OnConfirmDeleteMapClick()

def TkKeyboardManager.TkKeyboardManager.OnConfirmDeleteMapClick (   self)
action - delete map

§ OnConfirmDeleteMappingClick()

def TkKeyboardManager.TkKeyboardManager.OnConfirmDeleteMappingClick (   self)
action - deletes mapping

§ OnDeleteMapClick()

def TkKeyboardManager.TkKeyboardManager.OnDeleteMapClick (   self,
  index 
)
action - display delete map page

@param index

§ OnDeleteMappingClick()

def TkKeyboardManager.TkKeyboardManager.OnDeleteMappingClick (   self,
  index 
)
action - display delete mapping page

@param index

§ OnEditMapClick()

def TkKeyboardManager.TkKeyboardManager.OnEditMapClick (   self,
  index 
)
action - displays edit map page

@param index

§ OnEditMappingClick()

def TkKeyboardManager.TkKeyboardManager.OnEditMappingClick (   self,
  index 
)
action - displays edit mapping page

@param index

§ OnKeyCaptureClick()

def TkKeyboardManager.TkKeyboardManager.OnKeyCaptureClick (   self)
action - triggers key capture

§ OnListMappingsClick()

def TkKeyboardManager.TkKeyboardManager.OnListMappingsClick (   self,
  index 
)
action - displays the mappings list page

@param index

§ OnListMapsClick()

def TkKeyboardManager.TkKeyboardManager.OnListMapsClick (   self)
action - displays the list of maps

§ OnMapBackClick()

def TkKeyboardManager.TkKeyboardManager.OnMapBackClick (   self)
action - back from map page

§ OnMappingBackClick()

def TkKeyboardManager.TkKeyboardManager.OnMappingBackClick (   self)
action - back from mapping

§ OnSaveMapClick()

def TkKeyboardManager.TkKeyboardManager.OnSaveMapClick (   self)
action - saves map

§ OnSaveMappingClick()

def TkKeyboardManager.TkKeyboardManager.OnSaveMappingClick (   self)
action - saves mapping

§ OnStartClick()

def TkKeyboardManager.TkKeyboardManager.OnStartClick (   self)
action - start kb service

§ OnStopClick()

def TkKeyboardManager.TkKeyboardManager.OnStopClick (   self)
action - stop kb service

§ OnToggleAutostartClick()

def TkKeyboardManager.TkKeyboardManager.OnToggleAutostartClick (   self)
action - toggle kb autostart

§ serviceManager()

def TkKeyboardManager.TkKeyboardManager.serviceManager (   self)
view - service manager

§ setup()

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

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