Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
ADDON::Interface_GUIControlTextBox Struct Reference

Global gui Add-on to Kodi callback functions. More...

#include <TextBox.h>

Static Public Member Functions

static void Init (AddonGlobalInterface *addonInterface)
 
static void DeInit (AddonGlobalInterface *addonInterface)
 
static void set_visible (KODI_HANDLE kodiBase, KODI_GUI_CONTROL_HANDLE handle, bool visible)
 callback functions from add-on to kodi
 
static void reset (KODI_HANDLE kodiBase, KODI_GUI_CONTROL_HANDLE handle)
 
static void set_text (KODI_HANDLE kodiBase, KODI_GUI_CONTROL_HANDLE handle, const char *text)
 
static char * get_text (KODI_HANDLE kodiBase, KODI_GUI_CONTROL_HANDLE handle)
 
static void scroll (KODI_HANDLE kodiBase, KODI_GUI_CONTROL_HANDLE handle, unsigned int position)
 
static void set_auto_scrolling (KODI_HANDLE kodiBase, KODI_GUI_CONTROL_HANDLE handle, int delay, int time, int repeat)
 

Detailed Description

Global gui Add-on to Kodi callback functions.

To hold general gui functions and initialize also all other gui related types not related to a instance type and usable for every add-on type.

Related add-on header is "./xbmc/addons/kodi-dev-kit/include/kodi/gui/controls/TextBox.h"

Member Function Documentation

◆ DeInit()

void ADDON::Interface_GUIControlTextBox::DeInit ( AddonGlobalInterface * addonInterface)
static

◆ get_text()

char * ADDON::Interface_GUIControlTextBox::get_text ( KODI_HANDLE kodiBase,
KODI_GUI_CONTROL_HANDLE handle )
static

◆ Init()

void ADDON::Interface_GUIControlTextBox::Init ( AddonGlobalInterface * addonInterface)
static

◆ reset()

void ADDON::Interface_GUIControlTextBox::reset ( KODI_HANDLE kodiBase,
KODI_GUI_CONTROL_HANDLE handle )
static

◆ scroll()

void ADDON::Interface_GUIControlTextBox::scroll ( KODI_HANDLE kodiBase,
KODI_GUI_CONTROL_HANDLE handle,
unsigned int position )
static

◆ set_auto_scrolling()

void ADDON::Interface_GUIControlTextBox::set_auto_scrolling ( KODI_HANDLE kodiBase,
KODI_GUI_CONTROL_HANDLE handle,
int delay,
int time,
int repeat )
static

◆ set_text()

void ADDON::Interface_GUIControlTextBox::set_text ( KODI_HANDLE kodiBase,
KODI_GUI_CONTROL_HANDLE handle,
const char * text )
static

◆ set_visible()

void ADDON::Interface_GUIControlTextBox::set_visible ( KODI_HANDLE kodiBase,
KODI_GUI_CONTROL_HANDLE handle,
bool visible )
static

callback functions from add-on to kodi

Note
To add a new function use the "_" style to directly identify an add-on callback function. Everything with CamelCase is only to be used in Kodi.

The parameter kodiBase is used to become the pointer for a CAddonDll class.


The documentation for this struct was generated from the following files: