Paul McNett wrote: > Ed Leafe wrote: >> On Jul 7, 2008, at 8:43 PM, Paul McNary wrote: >> >>> I'll chalk it up to my wxPython build until I have a chance to check >>> it >>> out closer. >>> >>> I am on GTK if that makes a difference. >> >> Your build should be fine; it might be Gtk, though. Trouble is I >> just re-created my VM, and haven't had the time to set it up. Paul, >> can you verify that WordWrap works on Gtk? > > Works for me. I ran dabo/dabo/ui/uiwx/dGrid.py, and then pressed Ctrl+D > to get the command window, and typed: > > Python 2.5.1 (r251:54863, Mar 7 2008, 04:10:12) > [GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > >>> o = self.grid > >>> c = o.Columns[ > >>> print c.WordWrap > False > >>> c.WordWrap = True > ### I then manually resized the column width to be pretty slim, and > ### manually resized RowHeight to be taller. It wrapped fine. > >>> c.WordWrap = False > ### This instantly took away the word wrapping. > >>> c.WordWrap = True > ### This instantly caused the wrapping to happen > > Dabo revision 4112, plus it tested the same with HEAD. > wxPython version: '2.8.7.1 (gtk2-unicode)' > > Paul > > I'm on Python 2.4.5 currently
I do the above but when I do print c.WordWrap it returns AttributeError:"list" object has no attribute "WordWrap" _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]
