Hi everyone,
Attached I have the extract of a glade/gtkbuilder file I am working with.
I wish for the gtk.Label with the text 'The software on this computer is
up to date.' to wrap after 'is' so that the fragment 'up to date.' is on
a new line. Like so:
-----------------------------------------
The software on this computer is
up to date.
-----------------------------------------
However the way I am trying will not let me do this (setting wrap mode
to word, setting a width of 33 characters and setting the justify to
left) . Is there a way to do this and am I going about it the wrong way?
please help :)
--
Andrew
<?xml version="1.0"?>
<interface>
<requires lib="gtk+" version="2.16"/>
<!-- interface-naming-policy project-wide -->
<object class="GtkAlignment" id="alignment_software_up_to_date">
<property name="visible">True</property>
<property name="top_padding">12</property>
<property name="bottom_padding">12</property>
<property name="left_padding">12</property>
<property name="right_padding">12</property>
<child>
<object class="GtkHBox" id="hbox3">
<property name="visible">True</property>
<property name="spacing">12</property>
<child>
<object class="GtkImage" id="image2">
<property name="visible">True</property>
<property name="yalign">0</property>
<property name="pixel_size">48</property>
<property name="icon_name">distributor-logo</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="label3">
<property name="visible">True</property>
<property name="xalign">0</property>
<property name="label" translatable="yes"><span size="large" weight="bold">The software on this computer is up to date.</span></property>
<property name="use_markup">True</property>
<property name="wrap">True</property>
<property name="width_chars">33</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">1</property>
</packing>
</child>
</object>
</child>
</object>
</interface>
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/