Michael,
Your pack_forget() code works like a charm!
Thank you,
Malcolm
From: "Michael Lange"
To: tkinter-discuss@python.org
Date: Thu, 9 Dec 2010 15:51:23 +0100
There's nothing like that built in, but it is quite easy to set it up:
from Tkinter import *
root = Tk()
root.geometry('200x200'
Mick,
Perfect - that's just what I was looking for.
Malcolm
From: "Michael O'Donnell"
Look at:
w.winfo_ismapped()
...Note that if a widget IS packed, but the parent (or some ancestor)
is not, this will return False.
w.winfo_manager()
-- will return "" if the widget is not packed/gridded e
Mick,
> If you are placing a row of widgets into a frame, with pack you don't have to
> keep track of which column you are up to, just pack them one after the other.
I think grid() will automatically increment the row if you don't specify
it.
Malcolm
It seems that Tkinter Entry and Text widgets have built in
support for basic clipboard functionality via the keystrokes
Ctrl+X/Ctrl+C/Ctrl+V (cut, copy, paste).
Of course these make sense for English speaking locales. How does
this functionality work when Tkinter is used in non-English
locales? Ar
I noticed there are a lot of non-US developers on this list. I'm
looking for tips on using Tkinter in non-US locales.
In particular:
1. Are there any Unicode or font specific issues to be concerned
about?
2. Are you using the locale module to control how you display or
parse data moving into and
What determines the initial position of Tkinter's root and
Toplevel() windows?
Under Windows (running Python 2.7), my root window appears to
show up in random positions (usually clustered around the upper
left of my display).
The position of my first Toplevel() window appears to be random
as well
Hi,
Thus spoketh pyt...@bdurham.com
unto us on Fri, 10 Dec 2010 10:13:28 -0500:
> It seems that Tkinter Entry and Text widgets have built in
> support for basic clipboard functionality via the keystrokes
> Ctrl+X/Ctrl+C/Ctrl+V (cut, copy, paste).
>
> Of course these make sense for English speak
Michael,
> >>> e1.event_delete('<>', '')
> >>> e1.event_add('<>', '')
Thank you! That's the *exact* technique I was searching for.
> I'm not sure if this would make sense, though. Aren't these default bindings
> the same for any locale (at least this is true for germany :)?
I mistakenly thoug
Thus spoketh pyt...@bdurham.com
unto us on Fri, 10 Dec 2010 10:23:37 -0500:
> I noticed there are a lot of non-US developers on this list. I'm
> looking for tips on using Tkinter in non-US locales.
>
> In particular:
>
> 1. Are there any Unicode or font specific issues to be concerned
> about?
Thus spoketh pyt...@bdurham.com
unto us on Fri, 10 Dec 2010 11:12:37 -0500:
> What determines the initial position of Tkinter's root and
> Toplevel() windows?
>
> Under Windows (running Python 2.7), my root window appears to
> show up in random positions (usually clustered around the upper
> lef
I'm using the text widget to give ongoing updates to the user. When
something happens in the program, I want to add an update to the user in the
text widget.
But I can't figure out how to add each new update onto it's own new line.
I've looked through the documentation, but I don't see any met
11 matches
Mail list logo