Re: gtk_container_new_child (was Re: Wrapping Box Container)
- From: Havoc Pennington <hp pobox com>
- To: Tristan Van Berkom <tristanvb openismus com>
- Cc: gtk-devel-list gnome org
- Subject: Re: gtk_container_new_child (was Re: Wrapping Box Container)
- Date: Tue, 7 Sep 2010 00:04:52 -0400
I forgot that GtkWidget::parent already works:
g_object_new (TYPE_FOO, "parent", box, "blah", 42, NULL)
This is a pretty nice solution I think. You don't even have to save a
pointer to the new object if you aren't doing anything other than
adding it to parent and setting a couple of props.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]