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

Public Member Functions

def __init__ (self, text="", onClick=None)
 
def push (self)
 
def disable (self)
 
def enable (self)
 
def connectDownstream (self, downstream)
 
def checkSuspend (self)
 
def disconnectDownstream (self, downstream)
 
def postWidgetCreate (self, instance)
 
def preWidgetRemove (self, instance)
 
- Public Member Functions inherited from Components.VariableText.VariableText
def __init__ (self)
 
def setText (self, text)
 
def setMarkedPos (self, pos)
 
def getText (self)
 
- 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 createWidget (self, parent)
 

Public Attributes

 onClick
 
- Public Attributes inherited from Components.VariableText.VariableText
 message
 
 instance
 
- Public Attributes inherited from Components.GUIComponent.GUIComponent
 instance
 
 onVisibilityChange
 
 skinAttributes
 
 deprecationInfo
 
 width
 
 height
 

Static Public Attributes

 GUI_WIDGET = eButton
 

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.Button.Button.__init__ (   self,
  text = "",
  onClick = None 
)

Member Function Documentation

◆ checkSuspend()

def Components.Button.Button.checkSuspend (   self)

◆ connectDownstream()

def Components.Button.Button.connectDownstream (   self,
  downstream 
)

◆ disable()

def Components.Button.Button.disable (   self)

◆ disconnectDownstream()

def Components.Button.Button.disconnectDownstream (   self,
  downstream 
)

◆ enable()

def Components.Button.Button.enable (   self)

◆ postWidgetCreate()

def Components.Button.Button.postWidgetCreate (   self,
  instance 
)

◆ preWidgetRemove()

def Components.Button.Button.preWidgetRemove (   self,
  instance 
)

◆ push()

def Components.Button.Button.push (   self)

Member Data Documentation

◆ GUI_WIDGET

Components.Button.Button.GUI_WIDGET = eButton
static

◆ onClick

Components.Button.Button.onClick

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