Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
Used to group controls together.. More...
Classes | |
class | XBMCAddon::xbmcgui::ControlGroup |
Used to group controls together..
Class: ControlGroup(x, y, width, height)
The group control is one of the most important controls. It allows you to group controls together, applying attributes to all of them at once. It also remembers the last navigated button in the group, so you can set the <onup>
of a control to a group of controls to have it always go back to the one you were at before. It also allows you to position controls more accurately relative to each other, as any controls within a group take their coordinates from the group's top left corner (or from elsewhere if you use the "r" attribute). You can have as many groups as you like within the skin, and groups within groups are handled with no issues.
x | integer - x coordinate of control. |
y | integer - y coordinate of control. |
width | integer - width of control. |
height | integer - height of control. |
Example: