Hi,

Is there a generic way, in clutter or in glib, to clone an actor ?
The scenario is that I have an actor (any unknown subclass of actor), which I want to duplicate several times (memcpy-like), with all its current properties values, before setting some properties with specific value for each clone.

I don't need a deep copy, i.e. I would just increment the ref count of internal GObjects.

For example, I have a list actor whose role is to lay out a big list of items I have a ClutterLtabel with "Times 16" as "font-name", and I want to duplicate it 20 times and set a different text to each.

I am quite pessimistic about the answers because I could not find a ClutterActor::copy or even GObject::copy virtual functio which each actor could override...

Thanks,

Michael

--
Michael Boccara
Graphtech
Herzliya, Israel


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

Reply via email to