On Fri, 2008-08-29 at 09:03 -0700, ere wer wrote:
> I'm slowly learning Clutter by playing with the samples and vala-bindings, 
> and here 5+1 quick questions:
> 
> 1
> The problem linking without libtool (under win32)
> and manually adding --lopengl32 -lgdi32 -lwinmm to the gcc or clutter-0.8.pc.
> Why is it necessary? For a beginner it is pretty frustrating not being able 
> to compile following any tutorial!

windows has different function visibility rules - you're pretty much on
your own, here - especially if you're using Vala.

> 2
> Why manually setting stage.visible=true on the default scene? In the end if 
> there is a default one (from end-user perspective) it should pop when
> Clutter.init(ref args);
> Clutter.main();

because you may want to decide when you want to show the stage. the
stage is the only actor that it's not visible by default, so:

> Pretty much the same goes for actor.show()
> end/or stage.show_all()
> to get the actors appear.

no, this does not happen since Clutter 0.8.0: every actor is
automatically shown when added to a parent (that's also another reason
why you have to explicitly show the stage: you're not parenting it).

> 3
> Why stage.set_user_resizable is false by default? I know that clutter
> is mainly used for mobile devices (for now), but from a desktop
> perspective its pretty unusual to create a window that is not
> resizable... I even was disapointed, in the begininig, that Clutter
> creates only fixed sieze and fullscrean apps :) (looking into the
> samples)

because if you want to use a proper window on a desktop environment
you're *way* better off by embedding Clutter inside a GtkWindow using
the GtkClutterEmbed widget.

> 4
> Why stage.set_position(x,y) does not work. I understand, this is ment to 
> position actors on the stage, but how can one move the stage (the window) 
> itself?

because setting the window position is not recommended in any case:
window managers will not usually honour such requests. on win32 might be
the case, but we prefer consistency.

as I said, if you want to use Clutter on the desktop you're better off
using an embedding toolkit.

> 5
> Why Clutter.Entry does not get the focus when clicked?

because Clutter does not provide a focus model - it's all up to you, if
you're designing a toolkit on top of Clutter, to provide one. Clutter is
not GTK+ or QT.

> 5+1
> I'm pretty sure this one is a bug:
> When stage resizable is false the Minimize and Maximize buttons are not 
> disabled on Windows os, resulting in unpredicted beheviour!

this is a bug: please, open an entry in bugzilla:

  http://bugzilla.openedhand.com/enter_bug.cgi?product=Clutter

specifying that you're using the windows platform.

> PS I do not know if this is the right place for posting such "requsts", and I 
> intend to add more (as a replay to this mail) in the future (if there is any:)

bugs should be reported on bugzilla, as the README and release
announcement emails say.

ciao,
 Emmanuele.

-- 
Emmanuele Bassi, OpenedHand Ltd.
Unit R, Homesdale Business Centre
216-218 Homesdale Rd., Bromley - BR12QZ
http://www.o-hand.com

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

Reply via email to