openATV enigma2
openATV is an open source SetTopBox Graphical user interface.
Components.Input.Input Class Reference
Inheritance diagram for Components.Input.Input:
Components.VariableText.VariableText Components.GUIComponent.GUIComponent Tools.NumericalTextInput.NumericalTextInput

Public Member Functions

def __init__ (self, text="", maxSize=False, visible_width=False, type=TEXT, currPos=0, allMarked=True)
 
def __len__ (self)
 
def getText (self)
 
def setText (self, text)
 
def update (self)
 
def createWidget (self, parent)
 
def getSize (self)
 
def markAll (self)
 
def innerRight (self)
 
def up (self)
 
def home (self)
 
def left (self)
 
def right (self)
 
def end (self)
 
def down (self)
 
def insertChar (self, ch, pos=False, owr=False, ins=False)
 
def deleteChar (self, pos)
 
def deleteAllChars (self)
 
def tab (self)
 
def delete (self)
 
def deleteBackward (self)
 
def deleteForward (self)
 
def toggleOverwrite (self)
 
def handleAscii (self, code)
 
def number (self, number)
 
def char (self, char)
 
- Public Member Functions inherited from Components.VariableText.VariableText
def __init__ (self)
 
def setMarkedPos (self, pos)
 
def postWidgetCreate (self, instance)
 
- Public Member Functions inherited from Components.GUIComponent.GUIComponent
def __init__ (self)
 
def execBegin (self)
 
def execEnd (self)
 
def onShow (self)
 
def onHide (self)
 
def destroy (self)
 
def applySkin (self, desktop, parent)
 
def move (self, x, y=None)
 
def resize (self, x, y=None)
 
def setZPosition (self, z)
 
def show (self)
 
def hide (self)
 
def getVisible (self)
 
def setVisible (self, visible)
 
def setPosition (self, x, y)
 
def getPosition (self)
 
def getWidth (self)
 
def getHeight (self)
 
def GUIcreate (self, parent)
 
def GUIdelete (self)
 
def postWidgetCreate (self, instance)
 
def preWidgetRemove (self, instance)
 
- Public Member Functions inherited from Tools.NumericalTextInput.NumericalTextInput
def __init__ (self, nextFunc=None, handleTimeout=True, search=False, mapping=None, mode=None)
 
def setMode (self, mode)
 
def timeout (self)
 
def nextChar (self)
 
def nextKey (self)
 
def getKey (self, num)
 
def setUseableChars (self, useable)
 

Public Attributes

 maxSize
 
 visibleWidth
 
 type
 
 currPos
 
 allMarked
 
 offset
 
 overwrite
 
 textU
 
 text
 
 lastKey
 
- Public Attributes inherited from Components.VariableText.VariableText
 message
 
 instance
 
- Public Attributes inherited from Components.GUIComponent.GUIComponent
 instance
 
 onVisibilityChange
 
 skinAttributes
 
 deprecationInfo
 
 width
 
 height
 
- Public Attributes inherited from Tools.NumericalTextInput.NumericalTextInput
 nextFunction
 
 timer
 
 mapping
 
 useableChars
 
 lastKey
 
 pos
 

Static Public Attributes

int TEXT = 0
 
int PIN = 1
 
int NUMBER = 2
 

Additional Inherited Members

- Properties inherited from Components.VariableText.VariableText
 text = property(getText, setText)
 
- Properties inherited from Components.GUIComponent.GUIComponent
 visible = property(getVisible, setVisible)
 
 position = property(getPosition)
 

Constructor & Destructor Documentation

◆ __init__()

def Components.Input.Input.__init__ (   self,
  text = "",
  maxSize = False,
  visible_width = False,
  type = TEXT,
  currPos = 0,
  allMarked = True 
)

Member Function Documentation

◆ __len__()

def Components.Input.Input.__len__ (   self)

◆ char()

def Components.Input.Input.char (   self,
  char 
)

◆ createWidget()

def Components.Input.Input.createWidget (   self,
  parent 
)

◆ delete()

def Components.Input.Input.delete (   self)

◆ deleteAllChars()

def Components.Input.Input.deleteAllChars (   self)

◆ deleteBackward()

def Components.Input.Input.deleteBackward (   self)

◆ deleteChar()

def Components.Input.Input.deleteChar (   self,
  pos 
)

◆ deleteForward()

def Components.Input.Input.deleteForward (   self)

◆ down()

def Components.Input.Input.down (   self)

◆ end()

def Components.Input.Input.end (   self)

◆ getSize()

def Components.Input.Input.getSize (   self)

◆ getText()

def Components.Input.Input.getText (   self)

◆ handleAscii()

def Components.Input.Input.handleAscii (   self,
  code 
)

◆ home()

def Components.Input.Input.home (   self)

◆ innerRight()

def Components.Input.Input.innerRight (   self)

◆ insertChar()

def Components.Input.Input.insertChar (   self,
  ch,
  pos = False,
  owr = False,
  ins = False 
)

◆ left()

def Components.Input.Input.left (   self)

◆ markAll()

def Components.Input.Input.markAll (   self)

◆ number()

def Components.Input.Input.number (   self,
  number 
)

◆ right()

def Components.Input.Input.right (   self)

◆ setText()

def Components.Input.Input.setText (   self,
  text 
)

◆ tab()

def Components.Input.Input.tab (   self)

◆ toggleOverwrite()

def Components.Input.Input.toggleOverwrite (   self)

◆ up()

def Components.Input.Input.up (   self)

◆ update()

def Components.Input.Input.update (   self)

Member Data Documentation

◆ allMarked

Components.Input.Input.allMarked

◆ currPos

Components.Input.Input.currPos

◆ lastKey

Components.Input.Input.lastKey

◆ maxSize

Components.Input.Input.maxSize

◆ NUMBER

int Components.Input.Input.NUMBER = 2
static

◆ offset

Components.Input.Input.offset

◆ overwrite

Components.Input.Input.overwrite

◆ PIN

int Components.Input.Input.PIN = 1
static

◆ TEXT

int Components.Input.Input.TEXT = 0
static

◆ text

Components.Input.Input.text

◆ textU

Components.Input.Input.textU

◆ type

Components.Input.Input.type

◆ visibleWidth

Components.Input.Input.visibleWidth

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