[clutter] How do i get screen properties with clutter?
hey, I would like my stage to be say, 80% of the screen size. How would I find the size of the screen using pyclutter? I've been through the docs and I don't see any methods that would give me this info. Also, how do I remove window decorations? for eg, I'm making a splash, which doesn't need the title bar etc. Is there a property that I can set? thanks, regards, Ankur -- To unsubscribe send a mail to clutter+unsubscr...@o-hand.com
Re: [clutter] How do i get screen properties with clutter?
On Sat, 2010-06-12 at 21:58 +0530, Ankur Sinha wrote: hey, I would like my stage to be say, 80% of the screen size. How would I find the size of the screen using pyclutter? I've been through the docs and I don't see any methods that would give me this info. Also, how do I remove window decorations? for eg, I'm making a splash, which doesn't need the title bar etc. Is there a property that I can set? Clutter does not abstract a platform's windowing system - except to the extent that it needs to effectively paint the stage and handle events on it. the rest is left to the platform's own libraries. you can use clutter-gtk (and its python bindings) to get a Stage embedded inside a gtk+ window - and then use gtk+'s API to achieve what you want. ciao, Emmanuele. -- Emmanuele Bassi, Open Source Software Engineer Intel Open Source Technology Center -- To unsubscribe send a mail to clutter+unsubscr...@o-hand.com
Re: [clutter] How do i get screen properties with clutter?
On Sat, 2010-06-12 at 17:36 +0100, Emmanuele Bassi wrote: On Sat, 2010-06-12 at 21:58 +0530, Ankur Sinha wrote: hey, I would like my stage to be say, 80% of the screen size. How would I find the size of the screen using pyclutter? I've been through the docs and I don't see any methods that would give me this info. Also, how do I remove window decorations? for eg, I'm making a splash, which doesn't need the title bar etc. Is there a property that I can set? Clutter does not abstract a platform's windowing system - except to the extent that it needs to effectively paint the stage and handle events on it. the rest is left to the platform's own libraries. you can use clutter-gtk (and its python bindings) to get a Stage embedded inside a gtk+ window - and then use gtk+'s API to achieve what you want. ciao, Emmanuele. hey, Thanks Emmanuele. I'm trying to *not* use the gtk bindings so the app stays DE independent. Thanks anyway, regards, Ankur -- To unsubscribe send a mail to clutter+unsubscr...@o-hand.com