|
kodi
|
**Used to show a multi-page piece of text. More...
|
Classes | |
| class | XBMCAddon::xbmcgui::ControlTextBox |
**Used to show a multi-page piece of text.
**
{ ControlTextBox(x, y, width, height[, font, textColor]) }
The text box is used for showing a large multipage piece of text in Kodi. You can choose the position, size, and look of the text.
| x | integer - x coordinate of control. |
| y | integer - y coordinate of control. |
| width | integer - width of control. |
| height | integer - height of control. |
| font | [opt] string - font used for text. (e.g. 'font13') |
| textColor | [opt] hexstring - color of textbox's text. (e.g. '0xFFFFFFFF') |
Example:
As stated above, the GUI control is only created once added to a window. The example below shows how a ControlTextBox can be created, added to the current window and have some of its properties changed.
Extended example:
1.8.13