Re: how to update the content of a vbox???



>in my user interface there's a vbox which contains a pixmap (image) at
>the moment. But I want to update this (vbox) by the click on a button
>(replace "old" pixmap with ie. another pixmap).

gtk_pixmap_set (old_pixmap, new_pixmap);

otherwise:
	
gtk_container_remove (vbox, old_pixmap);
gtk_container_add (vbox, new_pixmap);

--p



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