kodi
|
**Used as an input control for the osd keyboard and other input fields. More...
![]() |
Classes | |
class | XBMCAddon::xbmcgui::ControlEdit |
**Used as an input control for the osd keyboard and other input fields.
**
{ ControlEdit(x, y, width, height, label[, font, textColor, disabledColor, alignment, focusTexture, noFocusTexture]) }
The edit control allows a user to input text in Kodi. You can choose the font, size, colour, location and header of the text to be displayed.
x | integer - x coordinate of control. | ||||||||||||||||||||||||
y | integer - y coordinate of control. | ||||||||||||||||||||||||
width | integer - width of control. | ||||||||||||||||||||||||
height | integer - height of control. | ||||||||||||||||||||||||
label | string or unicode - text string. | ||||||||||||||||||||||||
font | [opt] string - font used for label text. (e.g. 'font13') | ||||||||||||||||||||||||
textColor | [opt] hexstring - color of enabled label's label. (e.g. '0xFFFFFFFF') | ||||||||||||||||||||||||
disabledColor | [opt] hexstring - color of disabled label's label. (e.g. '0xFFFF3300') | ||||||||||||||||||||||||
alignment | [opt] integer - alignment of label
| ||||||||||||||||||||||||
focusTexture | [opt] string - filename for focus texture. | ||||||||||||||||||||||||
noFocusTexture | [opt] string - filename for no focus texture. |
Deprecated isPassword Removed isPassword
Example: