Hello.

> hello, I got this func: static void (GtkWidget *vbox) {...}, when passed in
> an vbox, it should insert a GtkWidget *scrolled_window into the vbox, but I
> want to clear the contents of vbox first,otherwise the old contents will be
> displayed as well as the newly inserted widget. I am wondering how to
> implement this.Any tips will be appreciated.

Just call gtk_widget_destroy() on previously inserted scrolled window.

Tadej

-- 
Tadej Borovšak
tadeboro.blogspot.com
tadeb...@gmail.com
tadej.borov...@gmail.com
_______________________________________________
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