Fun with PWM  0.32
TkCamMediaManager.TkCamMediaManager Class Reference

UI for camera media. More...

Inheritance diagram for TkCamMediaManager.TkCamMediaManager:
TkBlock.TkPage TkBlock.TkBlock

Public Member Functions

def __init__ (self, parent, gui, options)
 
def setup (self)
 
def initIcons (self)
 
def media (self)
 
def displayDir (self, rootElem, item)
 
def displayFile (self, rootElem, item)
 
def OnMediaClick (self)
 
def OnOpenDirClick (self, filename)
 
def OnParentClick (self)
 
def OnOpenFileClick (self, filename)
 
- 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

 kbthread
 
 camera
 
 icons
 
 basepath
 
- 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 camera media.

Constructor & Destructor Documentation

§ __init__()

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

@param parent
@param gui
@param options

Member Function Documentation

§ displayDir()

def TkCamMediaManager.TkCamMediaManager.displayDir (   self,
  rootElem,
  item 
)
partial view - returns a directory rendered for TkInter

@param rootElem
@param item

@return Frame

§ displayFile()

def TkCamMediaManager.TkCamMediaManager.displayFile (   self,
  rootElem,
  item 
)
partial view - returns a file rendered for TkInter
@param rootElem
@param item

@return Frame

§ initIcons()

def TkCamMediaManager.TkCamMediaManager.initIcons (   self)
Loads required icon images

§ media()

def TkCamMediaManager.TkCamMediaManager.media (   self)
view - displays the media browser

§ OnMediaClick()

def TkCamMediaManager.TkCamMediaManager.OnMediaClick (   self)
action - display the media viewer

§ OnOpenDirClick()

def TkCamMediaManager.TkCamMediaManager.OnOpenDirClick (   self,
  filename 
)
action - move to given directory

@param filename

§ OnOpenFileClick()

def TkCamMediaManager.TkCamMediaManager.OnOpenFileClick (   self,
  filename 
)
action - open the supplied file

@param filename

§ OnParentClick()

def TkCamMediaManager.TkCamMediaManager.OnParentClick (   self)
action - move to the parent directory

§ setup()

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

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