Re: how to remove the contents of vbox?



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
tadeboro gmail com
tadej borovsak gmail com



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