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:08:33 +0200
How exactly would I do that? I had tried it, but was discouraged by teh
error "property is not a valid tag here".
-- Cedric
On Sun, May 06, 2012 at 01:59:16PM +0200, Jean Brefort wrote:
> The property should be in the <child> node, not in the <object> node.
>
> Regards,
> Jean
>
> Le dimanche 06 mai 2012 à 13:39 +0200, Cedric Sodhi a écrit :
> > Hello,
> >
> > I'm trying to build a tabular interface with GtkBuilder, using GtkGrid.
> >
> > GtkGrid specifies that it provides child properties left-attach and
> > top-attach and they do in fact exist, but whenever I attempt to set them
> > by
> >
> > <object class="GtkGrid">
> > <child>
> > <object class="GtkLabel">
> > <property name="left-attach">0</property>
> > </object>
> > </child>
> > </object>
> >
> > GtkBuilder says that "Unknown property: GtkLabel.left-attach"
> >
> > Could anyone help with that?
> >
> > Thanks.
> > _______________________________________________
> > gtk-devel-list mailing list
> > gtk-devel-list gnome org
> > http://mail.gnome.org/mailman/listinfo/gtk-devel-list
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]