Thanks Emmanuele,

I think i found a way to do it on X11.

// #if x11
#include <gdk/gdkx.h>
#include <clutter/x11/clutter-x11.h>
// #endif // x11

// in main(), after stage is shown...
// #if x11
Window stage_xwindow = clutter_x11_get_stage_window( CLUTTER_STAGE( stage )
);
Display *stage_display = clutter_x11_get_default_display();
XMoveWindow( stage_display, stage_xwindow, 100, 100 );
// #endif // x11

Now... how do i pull this off on Mac OS X (x11 or whatever),
and MS Windows? :-)

Thanks again,
Izzy.



On Mon, Jul 4, 2011 at 4:52 AM, Emmanuele Bassi <[email protected]>wrote:

> On 2011-07-01 at 23:39, Izzy Soft wrote:
> > Silly question... but I have to ask it. (:-(
> >
> > clutter_actor_set_position( stage, ... ) ? What does this do?
> > [ stage being the default clutter stage from clutter_stage_get_default()
> ]
>
> it doesn't do anything. the set_size/position/x/y/with/height setter
> functions are meant only for the scene graph.
>
> a Stage is defined to have a position of (0, 0) in the scene graph.
>
> > How do I set the starting position of the Clutter Window on the desktop?
>
> you need to use the platform's own API for positioning the native window
> used by the Stage at the wanted coordinates.
>
> ciao,
>  Emmanuele.
>
> --
> Emmanuele Bassi,
> Intel Open Source Technology Center
> _______________________________________________
> clutter-app-devel-list mailing list
> [email protected]
> http://lists.clutter-project.org/listinfo/clutter-app-devel-list
>
_______________________________________________
clutter-app-devel-list mailing list
[email protected]
http://lists.clutter-project.org/listinfo/clutter-app-devel-list

Reply via email to