Re: [clutter] clutter-gtk OSX flavour

2008-10-09 Thread Tommi Komulainen
On Thu, Oct 9, 2008 at 7:32 AM, Tomas Frydrych [EMAIL PROTECTED] wrote:
 ere wer wrote:
 There seams to be a new (native?) port of GTK+ to OSX:

 http://labs.imendio.com/:

 From what I understand (have not tested anythig), this version does
 not require X

 Im interested if there will be a new flavor to clutter-gtk, currently
 there are only x11/win32, or the x11 will do?

 At the moment the Clutter OSX backend does not have the necessary API,
 for this; I think at least clutter_osx_set_stage_foreign() and
 clutter_osx_disable_event_retrieval() are necessary to get clutter-gtk
 to work with the native osx gtk port. Patches, as always, are welcome.

There's two patches I made some time ago, needs work:
http://lists.o-hand.com/clutter/1250.html

IMO the clutter_foo_disable_event_retrieval() is a fairly ugly hack
and would nice if it were replaced with something like
clutter_init_embed() or something.


-- 
Tommi Komulainen [EMAIL PROTECTED]
-- 
To unsubscribe send a mail to [EMAIL PROTECTED]



Re: [clutter] clutter-gtk OSX flavour

2008-10-09 Thread Tomas Frydrych
ere wer wrote:
 There seams to be a new (native?) port of GTK+ to OSX:
 
 http://labs.imendio.com/:
 
 From what I understand (have not tested anythig), this version does
 not require X
 
 Im interested if there will be a new flavor to clutter-gtk, currently
 there are only x11/win32, or the x11 will do?

At the moment the Clutter OSX backend does not have the necessary API,
for this; I think at least clutter_osx_set_stage_foreign() and
clutter_osx_disable_event_retrieval() are necessary to get clutter-gtk
to work with the native osx gtk port. Patches, as always, are welcome.

Tomas
-- 
To unsubscribe send a mail to [EMAIL PROTECTED]



[clutter] clutter-gtk OSX flavour

2008-10-09 Thread ere wer
There seams to be a new (native?) port of GTK+ to OSX:


http://labs.imendio.com/:

Announcing the GTK+ OS X framework
September 23, 2008 – 8:30 am

We’re happy to announce the GTK+ Framework for Mac OS X. This means getting 
started with GTK+ development on your Mac is as easy as saying 1, 2, 3!

Just download the framework, install it, launch XCode and you’re ready to go!

You can find the latest version of the installer on our GTK+ on OS X website. 
(http://www.gtk-osx.org/)


From what I understand (have not tested anythig), this version does not require 
X

Im interested if there will be a new flavor to clutter-gtk, currently there are 
only x11/win32, or the x11 will do?

...sorry if the question is lame :/
MihailNaydenov



--
To unsubscribe send a mail to [EMAIL PROTECTED]



[clutter] Weird bug with fullscreen

2008-10-09 Thread Mike Massonnet
Hello,

Yesterday on IRC I mentionned a bug with fullscreen and it's getting
weirder.  I thought I could only trigger it on one board, but now I can
trigger it on any boards.

When I pass a stage to fullscreen it takes only a quarter of the display
(close to that).

What I do is next:

stage = clutter_stage_get_deault ();
clutter_stage_fullscreen (CLUTTER_STAGE (stage));
clutter_actor_show (stage);

This doesn't work.


Now I tried this:

stage = clutter_stage_get_deault ();
clutter_stage_fullscreen (CLUTTER_STAGE (stage));
/* Add actors to the stage ... */
clutter_actor_set_size (stage, 1024, 768); // or 800 or -1 or ...
clutter_actor_show (stage);

This works.


And finally I stumbled over this:

stage = clutter_stage_get_deault ();
clutter_stage_fullscreen (CLUTTER_STAGE (stage));
clutter_actor_show_all (stage); // show_all!

And that one Just Workstm.

I triggered some weird stuff with fullscreen, but finally I got it!


My 2 cents,
Mike
-- 
To unsubscribe send a mail to [EMAIL PROTECTED]