Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #41657
| From | Christian Gollwitzer <auriocus@gmx.de> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: tkinter: invisible PanedWindow "sashes" on OS X |
| Date | 2013-03-21 19:42 +0100 |
| Organization | A noiseless patient Spider |
| Message-ID | <kifk6v$87i$1@dont-email.me> (permalink) |
| References | <mailman.3592.1363876639.2939.python-list@python.org> |
Am 21.03.13 15:37, schrieb Arnaud Delobelle: > Hi Python List, > > I'm trying to use PanedWindow on OS X (10.8.3). I've started with the > effbot docs example (http://effbot.org/tkinterbook/panedwindow.htm), > namely: > > ---------- > from Tkinter import * > > m = PanedWindow(orient=VERTICAL) > m.pack(fill=BOTH, expand=1) > > top = Label(m, text="top pane") > m.add(top) > > bottom = Label(m, text="bottom pane") > m.add(bottom) > > mainloop() > ---------- > > I can see two panes alright, but no handle to resize them (or 'sash' > as they seem to be called in tkinter). Is there something else that I > should be doing? This is, unfortunately, the platform standard on both OSX and Windows7. You can still resize the windows: Just grab the space between the two labels. There should be at least a cursor change. With you example it doesn't work particularly well, because the labels are small and have no visible border. Try using e.g. a text widget instead (or maybe relief=SUNKEN) Christian
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
tkinter: invisible PanedWindow "sashes" on OS X Arnaud Delobelle <arnodel@gmail.com> - 2013-03-21 14:37 +0000
Re: tkinter: invisible PanedWindow "sashes" on OS X Christian Gollwitzer <auriocus@gmx.de> - 2013-03-21 19:42 +0100
Re: tkinter: invisible PanedWindow "sashes" on OS X Arnaud Delobelle <arnodel@gmail.com> - 2013-03-21 20:59 +0000
csiph-web