Re: Setting child properties with GtkBuilder
- From: Cedric Sodhi <manday gmx net>
- To: Jean Brefort <jean brefort normalesup org>
- Cc: gtk-devel-list gnome org
- Subject: Re: Setting child properties with GtkBuilder
- Date: Sun, 6 May 2012 14:28:20 +0200
Thank you, that works. Could you or anyone perhaps explain why normally
setting the property on the child like a normal child-property does not
work for containers?
On Sun, May 06, 2012 at 02:16:26PM +0200, Jean Brefort wrote:
> Sorry, I forgot the packing node. Try that:
>
> <object class="GtkGrid">
> <child>
> <object class="GtkLabel"/>
> <packing>
> <property name="left-attach">0</property>
> </packing>
> </child>
> </object>
>
> You might also use glade to generate the ui file without syntax errors.
>
> Regards,
> Jean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]