what are property setten by setProperty() ??????????
#1
hi evry body answer me please , we can add property to a window with xbmcgui.Window().setProperty(key, value) what is these property and why we use itUndecidedUndecidedUndecided
Reply
#2
Please learn some manners. And spend some time reading the wiki and the python documentation before floading the forum with questions:

http://mirrors.kodi.tv/docs/python-docs/...etProperty
Reply
#3
i readed it and is not helpful, why we add property to window and how we use it??
Reply
#4
Haven't noticed you mean Window().setProperty and not Listitem().setProperty (probably because of your 10.000 interrogation points or 5.000 smiles...).

When you design a window in xml (see: http://kodi.wiki/view/Skinning_Manual) or use windows that already exist in skins you can set properties to that window.

Quote:Window([window]).Property(key) : Window property. (key can be any value, optional window can be id or name)

As stated above (and in the wiki...) the property name(key) can be whatever you want and not a list of existing optional keys. Those properties are used by skinners to present elements of the window in, for example, <values></values> for a given control or in conditional visibility for given controls (http://kodi.wiki/view/Skinning_Manual#Co...Visibility ).

For your question, that method Window().setProperty() is the correct way to set a window property from python.
Reply

Logout Mark Read Team Forum Stats Members Help
what are property setten by setProperty() ??????????0