If statement in visiblity condition
#1
hi, 

can someone help me on how to add the following function in a visible tag:
    if updater.availableUpdate():


Thank you for taking the time.
Reply
#2
assuming this is a python question, you can toggle the visibility of a control using the setVisible() function.
https://codedocs.xyz/xbmc/xbmc/group__py...a2ea7d09cf

if this isn't what you're trying to accomplish, please provide more details on what you are trying to do.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#3
Great, thanks alot 
i can do something like this i suppose: 
self.getControl( 67 ).setVisible( False/True )
Reply
#4
yup
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply

Logout Mark Read Team Forum Stats Members Help
If statement in visiblity condition0