pyxbmct.addonskin¶
Classes for defining the appearance of PyXBMCt Windows and Controls
Classes
|
Abstract class for creating fully customized skins |
|
Skin class |
- class pyxbmct.addonskin.BaseSkin[source]¶
Bases:
ABC
Abstract class for creating fully customized skins
Warning
This class is meant for subclassing and cannot be instantiated directly! A sublcass must implement all the following properties.
- abstract x_margin()[source]¶
Get horizontal adjustment for the header background if the main background has transparent edges.
- Return type:
- abstract y_margin()[source]¶
Get vertical adjustment for the header background if the main background has transparent edges.
- Return type:
- abstract title_back_y_shift()[source]¶
Get header position adjustment if the main background has visible borders.
- Return type:
- abstract header_height()[source]¶
Get the height of a window header (for the title background and the title label).
- Return type:
- abstract header_align()[source]¶
Get a numeric value for header text alignment
For example:
0
: left6
: center
- Return type:
- abstract main_bg_img()[source]¶
Get fullscreen background for
AddonFullWindow
class- Return type:
- class pyxbmct.addonskin.Skin[source]¶
Bases:
BaseSkin
Skin class
Defines parameters that control the appearance of PyXBMCt windows and controls.
- property estuary¶
Get or set a boolean property that defines the look of PyXBMCt elements:
True
– use Estuary skin appearanceFalse
– use Confluence skin appearance.
- Return type:
- property x_margin¶
Get horizontal adjustment for the header background if the main background has transparent edges.
- Return type:
- property y_margin¶
Get vertical adjustment for the header background if the main background has transparent edges.
- Return type:
- property title_back_y_shift¶
Get header position adjustment if the main background has visible borders.
- Return type:
- property header_height¶
Get the height of a window header (for the title background and the title label).
- Return type:
- property header_align¶
Get a numeric value for header text alignment
For example:
0
: left6
: center
- Return type:
- property main_bg_img¶
Get fullscreen background for
AddonFullWindow
class- Return type: