ekib
July 21st, 2008, 07:36 PM
Hi all,
I just stumbled upon this widget framework and it looks very promising (especially since I love Python). Nice work!
I had a quick question though. Is it possible to intercept the drawing of widgets and save the drawn widget to a buffer? I would have to do this repeatedly whenever an update occurs. Would this be done at a cairo level and where would I plug something like this in the framework (without having to insert this code in on_draw method for each widget)? The widget ideally wouldn't be drawn on the screen but it could be if there is no other way.
I would appreciate any pointers,
Thanks,
Ratko
I just stumbled upon this widget framework and it looks very promising (especially since I love Python). Nice work!
I had a quick question though. Is it possible to intercept the drawing of widgets and save the drawn widget to a buffer? I would have to do this repeatedly whenever an update occurs. Would this be done at a cairo level and where would I plug something like this in the framework (without having to insert this code in on_draw method for each widget)? The widget ideally wouldn't be drawn on the screen but it could be if there is no other way.
I would appreciate any pointers,
Thanks,
Ratko