Re: Placing a new box in a button at runtime
- From: Havoc Pennington <hp redhat com>
- To: Jeff Shipman <shippy cs nmt edu>
- Cc: GTK List <gtk-list gnome org>
- Subject: Re: Placing a new box in a button at runtime
- Date: 22 Apr 2000 19:34:29 -0400
Jeff Shipman <shippy@cs.nmt.edu> writes:
> I've got a button which has a box placed in it. If I
> wanted to re-create a new box and place it in the container
> at runtime, what would I need to do?
>
gtk_container_remove () the old one, then gtk_container_add () the new
one. Note that you must gtk_widget_ref () a child while it's removed
from a container, unless you want the child to be destroyed.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]