Re: [gtk-list] Re: Object args and all that stuff...



Tim Janik wrote:
> 
> the work on the object arguments is continued in the 1.1 branch of gtk.
> there are a bunch of widgets supporting them now, and i'm constantly working
> on increasing the amount of widgets that feature the object arguments.
> containers now implement child arguments as well. this works similar to widget
> arguments, but the values are associated with a certain container<->child
> relation.
> e.g. if you got a hbox containing a button, you can do this:
> 
> gtk_widget_set (GTK_WIDGET (hbox),
>                 "homogeneous", TRUE,
>                 NULL);
> gtk_container_child_set (GTK_CONTAINER (hbox),
>                          GTK_WIDGET (button),
>                          "expand", FALSE,
>                          "position", 0,
>                          NULL);
> 

Great! I'll fire up CVS and have a dig through 1.1 then.

Regards
M.Beach



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