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: Thu, 2 Sep 2010 10:34:03 -0400
Hi,
On Thu, Sep 2, 2010 at 5:38 AM, Tristan Van Berkom
<tristanvb openismus com> wrote:
> On the other hand... since g_object_new() will never return NULL...
> I'm not sure how much this api would be different than simply
> invoking these lines of code:
>
> gtk_container_add_with_properties (container,
> g_object_new (GTK_TYPE_FOO,
> "fill", FALSE,
> NULL),
> "expand", TRUE,
> NULL);
good point, this isn't bad, at least.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]