Re: Placing a new box in a button at runtime
- From: Vlad Harchev <hvv hippo ru>
- 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: Sun, 23 Apr 2000 11:37:52 +0500 (SAMST)
On Sat, 22 Apr 2000, Jeff Shipman wrote:
> 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?
just
gtk_widget_destroy(GTK_BIN(button)->child)
and button should be ready for packing widgets into it again.
> --
> +-----------------------------------------------------+
> | Jeff "Shippy" Shipman E-Mail: shippy@cs.nmt.edu |
> | Computer Science Major ICQ: 1786493 |
> | New Mexico Institute of Mining and Technology |
> | Homepage: http://www.nmt.edu/~shippy |
> +-----------------------------------------------------+
>
> _______________________________________________
> gtk-list mailing list
> gtk-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-list
>
Best regards,
-Vlad
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]