Skip navigation.
Home

Development/Widgets/Popup

Introduction


This Widget contains another widget which pops up when the user presses space bar on it.

General


Inherits from Container. Use the following command to import:

from levelstar.sbtk.popup import Popup

Functions


__init__ Function:

def __init__ (self, text=None, id=None, title=None, brailleTitle=None,
              popupWidget=None, popupFunction=None, popupFuncArgs=[], popupFuncKw={},
              onActivateFunction=None, onActivateFuncArgs=[], onActivateFuncKw={},
              selectKey='select', selectKeys=[]):

Inputs

  • text
  • id
  • title
  • brailleTitle
  • popupWidget
  • popupFunction
  • popupFuncArgs
  • popupFuncKw
  • onActivateFunction
  • onActivateFuncArgs
  • onActivateFuncKw
  • selectKey
  • selectKeys

getWidget Function:

def getWidget(self):

setWidget Function:

def setWidget (self, widget):

popup Function:

def popup (self):

setText Function:

def setText(self, text):

Example


Example Needed