Kodi Development  20.0
for Binary and Script based Add-Ons

Inherits Window, and WindowDialogMixin.

Public Member Functions

void close () override
 
bool IsDialog () const override
 
bool IsDialogRunning () const override
 
bool IsModalDialog () const override
 
bool OnAction (const CAction &action) override
 
void OnDeinitWindow (int nextWindowID) override
 
bool OnMessage (CGUIMessage &message) override
 
void show () override
 
- Public Member Functions inherited from Window
 addControl (...)
 

Function: addControl(Control)


Add a Control to this window. More...
 
 addControls (...)
 

Function: addControls(List)


Add a list of Controls to this window. More...
 
 clearProperties ()
 

Function: clearProperties()


Clears all window properties. More...
 
 clearProperty (...)
 

Function: clearProperty(key)


Clears the specific window property. More...
 
 close ()
 

Function: close()


Closes this window. More...
 
SWIGHIDDENVIRTUAL void dispose ()
 
 doModal ()
 

Function: doModal()


Display this window until close() is called. More...
 
 getControl (...)
 

Function: getControl(controlId)


Gets the control from this window. More...
 
 getFocus ()
 

Function: getFocus(Control)


Returns the control which is focused. More...
 
 getFocusId ()
 

Function: getFocusId(int)


Returns the id of the control which is focused. More...
 
 getHeight ()
 

Function: getHeight()


Returns the height of this Window instance. More...
 
 getProperty (...)
 

Function: getProperty(key)


Returns a window property as a string, similar to an infolabel. More...
 
 getWidth ()
 

Function: getWidth()


Returns the width of this Window instance. More...
 
void interceptorClear ()
 
SWIGHIDDENVIRTUAL bool IsDialog () const
 
SWIGHIDDENVIRTUAL bool IsDialogRunning () const
 
SWIGHIDDENVIRTUAL bool IsMediaWindow () const
 
SWIGHIDDENVIRTUAL bool IsModalDialog () const
 
 onAction (...)
 

Function: onAction(self, Action action)


onAction method. More...
 
SWIGHIDDENVIRTUAL bool OnAction (const CAction &action)
 
SWIGHIDDENVIRTUAL bool OnBack (int actionId)
 
 onClick (...)
 

Function: onClick(self, int controlId)


onClick method. More...
 
void onControl (...)
 

Function: onControl(self, Control)


onControl method. More...
 
SWIGHIDDENVIRTUAL void OnDeinitWindow (int nextWindowID)
 
 onDoubleClick (...)
 

Function: onDoubleClick(self, int controlId)


onDoubleClick method. More...
 
 onFocus (...)
 

Function: onFocus(self, int controlId)


onFocus method. More...
 
 onInit (...)
 

Function: onInit(self)


onInit method. More...
 
SWIGHIDDENVIRTUAL bool OnMessage (CGUIMessage &message)
 
 removeControl (...)
 

Function: removeControl(Control)


Removes the control from this window. More...
 
 removeControls (...)
 

Function: removeControls(List)


Removes a list of controls from this window. More...
 
 setFocus (...)
 

Function: setFocus(Control)


Give the supplied control focus. More...
 
 setFocusId (...)
 

Function: setFocusId(ControlId)


Gives the control with the supplied focus. More...
 
 setProperty (...)
 

Function: setProperty(key, value)


Sets a window property, similar to an infolabel. More...
 
 show ()
 

Function: show()


Show this window. More...
 
 Window (int existingWindowId=-1)
 

Additional Inherited Members

- Protected Member Functions inherited from Window
void deallocating () override
 
ControlGetControlById (int iControlId, CCriticalSection *gc)
 
void popActiveWindowId ()
 
SWIGHIDDENVIRTUAL void PulseActionEvent ()
 
void setWindow (InterceptorBase *_window)
 
SWIGHIDDENVIRTUAL bool WaitForActionEvent (unsigned int milliseconds)
 
 Window (bool discrim)
 
- Static Protected Member Functions inherited from Window
static int getNextAvailableWindowId ()
 
- Protected Attributes inherited from Window
bool bModal = false
 
bool canPulse = false
 
bool destroyAfterDeInit = false
 
bool existingWindow = true
 
int iCurrentControlId = 3000
 
int iOldWindowId = 0
 
int iWindowId = -1
 
CEvent m_actionEvent
 
std::vector< AddonClass::Ref< Control > > vecControls
 
InterceptorBase * window
 

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