xbmc
Classes
Subclass - ControlSlider

**Used for a volume slider. More...

Collaboration diagram for Subclass - ControlSlider:

Classes

class  XBMCAddon::xbmcgui::ControlSlider
 

Detailed Description

**Used for a volume slider.

**

{ ControlSlider(x, y, width, height[, textureback, texture, texturefocus, orientation, texturebackdisabled, texturedisabled]) }

The slider control is used for things where a sliding bar best represents the operation at hand (such as a volume control or seek control). You can choose the position, size, and look of the slider control.

Note
This class include also all calls from Control
Parameters
xinteger - x coordinate of control
yinteger - y coordinate of control
widthinteger - width of control
heightinteger - height of control
textureback[opt] string - image filename
texture[opt] string - image filename
texturefocus[opt] string - image filename
orientation[opt] integer - orientation of slider (xbmcgui.HORIZONTAL / xbmcgui.VERTICAL (default))
texturebackdisabled[opt] string - image filename
texturedisabled[opt] string - image filename
Note
You can use the above as keywords for arguments and skip certain optional arguments.
Once you use a keyword, all following arguments require the keyword.
After you create the control, you need to add it to the window with addControl().

orientation option added.

Example:

...
self.slider = xbmcgui.ControlSlider(100, 250, 350, 40)
...