> > I would like to know how can I clone an Object (widget). I mean,
> > creating an widget exactly identical to the first one (but allocated
> > in different places in memory).

> We do it in glade-3, its a question of recursing through the object
> heirarchy (so that children are also recursivly copied) and applying
> the properties/child-properties found on the original objects, but
> some properties are not introspectable so you need special case code
> for that (glade-3 uses an xml catalog to handle all that stuff).
> 
> Depending on what you are trying to acomplish, you probably want to
> forget about cloning objects and take some other approach, but
> you are welcome to take a look at the `glade_widget_dup()' function
> in glade-widget.c (cvs co glade3).

hummmm ... I got it. Well, being honest, I don't wanna to use any
glade function, since I hope there is a simplest way to do this.

Let me explain better my situation: Basicly, I have a populated menu
widget, and I *must* to clone it between two window (I don't wanna to
share it between two windows)..

regards

ps: Thanks Tristan !

-- Antonio Gomes
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to