how to remove the contents of vbox?



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.

-- 
---------------------
Best regards



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