Re: Remove GdkPixmap from a container



Hi,

"amitjain" <amitjain webdunia com> writes:

> i am using Gtk1.2.
> I have a container in that i added some widgets and some pixmaps.
> I added these pixmap in a vbox and then that i added that vbox in 
> my main container.
> now i want to remove vbox on some events, and pixmap should be 
> disappear from screen.
> i come to know about gtk_widget_unref(),gtk_container_remove(),
> but i think i am missing somewhere in syncronisation between all those.
> so can anybody help me.it would be appreciable.

the GTK+-2.0 docs describe the semantics quite well. They should apply
to 1.2 as well:

  http://developer.gnome.org/doc/API/2.0/gtk/gtkcontainer.html#gtk-container-remove


Salut, Sven



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]