On 12/06/10 17:52, Ankur Sinha wrote:
> 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.
>>
> I'm trying to *not* use the gtk bindings so the app stays DE
> independent.

As Emmanuele indicated, windowing is not platform-agnostic; you will
need to use whatever APIs given platform provides to do this, i.e., on
an X-based system, you will need to use xlib and follow the ICCM
(http://tronche.com/gui/x/icccm/) and the EWMH
(http://standards.freedesktop.org/wm-spec/wm-spec-1.4.html) protocols.

Tomas
-- 
To unsubscribe send a mail to [email protected]

Reply via email to