Re: Setting child properties with GtkBuilder



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]