Kodi Development 22.0
for Binary and Script based Add-Ons
 
Loading...
Searching...
No Matches

Inherits AddonClass.

Inherited by ControlButton, ControlEdit, ControlFadeLabel, ControlGroup, ControlImage, ControlLabel, ControlList, ControlProgress, ControlRadioButton, ControlSlider, ControlSpin, and ControlTextBox.

Public Member Functions

virtual bool canAcceptMessages (int actionId)
 
 controlDown (...)
 

Function: controlDown(control)


Sets the controls down navigation.
 
 controlLeft (...)
 

Function: controlLeft(control)


Sets the controls left navigation.
 
 controlRight (...)
 

Function: controlRight(control)


Sets the controls right navigation.
 
 controlUp (...)
 

Function: controlUp(control)


Sets the controls up navigation.
 
virtual CGUIControl * Create ()
 
 getHeight ()
 

Function: getHeight()


Returns the control's current height as an integer.
 
 getId () inline bool operator
 

Function: getId()


Returns the control's current id as an integer.
 
 getWidth ()
 

Function: getWidth()


Returns the control's current width as an integer.
 
 getX ()
 

Function: getX()


Returns the control's current X position.
 
 getY ()
 

Function: getY()


Returns the control's current Y position.
 
 isVisible (...)
 

Function: isVisible()


Get the control's visible/hidden state with respect to the container/window
 
 setAnimations (...)
 

Function: setAnimations([(event, attr,)*])


Sets the control's animations.
 
 setEnableCondition (...)
 

Function: setEnableCondition(enable)


Sets the control's enabled condition.
 
 setEnabled (...)
 

Function: setEnabled(enabled)


Sets the control's enabled/disabled state.
 
 setHeight (...)
 

Function: setHeight(height)


Sets the controls height.
 
 setNavigation (...)
 

Function: setNavigation(up, down, left, right)


Sets the controls navigation.
 
 setPosition (...)
 

Function: setPosition(x, y)


Sets the controls position.
 
 setVisible (...)
 

Function: setVisible(visible)


Sets the control's visible/hidden state.
 
 setVisibleCondition (...)
 

Function: setVisibleCondition(visible[,allowHiddenFocus])


Sets the control's visible condition.
 
 setWidth (...)
 

Function: setWidth(width)


Sets the controls width.
 

Public Attributes

int dwHeight = 0
 
int dwPosX = 0
 
int dwPosY = 0
 
int dwWidth = 0
 
int iControlDown = 0
 
int iControlId = 0
 
int iControlLeft = 0
 
int iControlRight = 0
 
int iControlUp = 0
 
int iParentId = 0
 
std::string m_label {}
 
bool m_visible {true}
 
CGUIControl * pGUIControl = nullptr
 

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