[Glade-users] image object inside more then one widget
    Tadej Borovšak 
    tadeboro at gmail.com
       
    Thu Sep 10 04:49:41 EDT 2009
    
    
  
Hi.
> i create an image object but i can't insert it in more then one
> widget: when i insert it in the second one, it is removed from the first
>
> it's a bug or not?
No, this is limitation of GTK+, where each widget can have only one
parent thus cannot be placed into multiple container widgets.
If you want to display the same image in two locations, you'll have to
create two GtkImages that will either load the same from disk twice or
display the same GdkPixbuf that you'll manually load from disk (this
cannot be done from Glade3).
Tadej
-- 
Tadej Borovšak
tadeboro.blogspot.com
tadeboro at gmail.com
tadej.borovsak at gmail.com
    
    
More information about the Glade-users
mailing list