But I'm not seeing any results fade results. Is this possible to do?
Ideally I would just like to add single slide in/out effect to the entire popup (something like the built-in notification) but not sure if that's possible.

But I'm not seeing any results fade results. Is this possible to do?
Ideally I would just like to add single slide in/out effect to the entire popup (something like the built-in notification) but not sure if that's possible.

Thanks for your help.

I'm not sure about 'visible' conditions, but WindowOpen and WindowClose conditions do work. Also there is a universal rule when dealing with XBMC Python controls (this applies not only to PyXBMCt): any additional properties should be changed after a control is added to a container window. Otherwise, either these additional properties do not work or you get some random and weird bugs.
So in your case it should be something like this:

This is a pure example and you need to adjust the code to your particular script.
I never tested animation deeply, but I suppose that in order to achieve your goal you need to add animation properties to all your controls, including PyXBMCt build-in controls (the main background and header background images and the header label) if you use AddonDialogWindow/AddonFullWindow classes.
However, there is a potential issue here. I see no problem with 'fade' animation, but animation effects that change the size and position of a control may not work properly with PyXBMCt's Geometry Manager, unless you calculate animation waypoints based on control's coordinates and size assigned by the Geometry Manager.

Yep, I was changing properties before adding to container window. Also, WindowOpen and WindowClose types work but others do not. That's good enough for me for now. I'm only using fade and slide effects so geometry shouldn't be an issue.
Again, thanks for your detailed help.

I've been testing a new version (I've added a method to simplify setting-up controls animation), and it seems that RadioButton control is broken in recent Gotham versions: unchecked and checked textures are not displayed, while unfocused and focused textures are displayed correctly. So now RadioButton looks like a simple Button. In Frodo RadioButton works OK.
Can anybody confirm this on their systems?

Hey!
Thanks for making it easier to create a plugin!
So I'm doing this project where I will be controling the lights in my home with a relayboard hooked up to a raspberry pi.
I'm using pilight to control the relayboard and I can control it via a webUI in my web browser that looks like this:
The problem is, Xbian, which I'm using, doesn't have a web browser.
So I've decided to make my own plugin to control pilight.
So basically what I'm asking is, is there a way make a button in PyXBMCt send a line of code, like done in the terminal?
Something like this:

I am interested in this, you could perhaps make the calls user definable (via a setting) then I could use your addon to control my Philips Hue lights.

Also it'd be good to map some lighting functions to a remote button, no point in having to actually call the addon up to the screen just to flick a light on/off.

(I have the hue addon which dims the lights on movies playing and turns them on when paused/stop, but sometimes it'd just be nice to turn them up, eg if eating dinner watching TV it'd be nice to see the plate!)

EDIT I should acknowledge my source and say that there is plenty of reading on this page:

I am interested in this, you could perhaps make the calls user definable (via a setting) then I could use your addon to control my Philips Hue lights.

Also it'd be good to map some lighting functions to a remote button, no point in having to actually call the addon up to the screen just to flick a light on/off.

(I have the hue addon which dims the lights on movies playing and turns them on when paused/stop, but sometimes it'd just be nice to turn them up, eg if eating dinner watching TV it'd be nice to see the plate!)

EDIT I should acknowledge my source and say that there is plenty of reading on this page: