Activity Team/Compatibility Tips: Difference between revisions
| Line 120: | Line 120: | ||
See python.org for more information on incompatibilities between versions. | See python.org for more information on incompatibilities between versions. | ||
=== GNOME toolkit versions === | |||
In older versions of gtk, e.g., 2.16.0, the set_size_request method does not work properly for label. | |||
label = gtk.Label(string) | |||
label.set_line_wrap(True) | |||
label.set_size_request(width, -1) | |||
Works fine on 2.22.0 | |||
''I'll try to track down the relevant gtk patch.'' | |||