Ant wrote:
> Strange behaviour though (IMHO), that the selection is only shown if
> the widget has focus.
It's only strange if you're used to certain platforms.
This is normal behaviour in the Macintosh world. One
of the original Apple UI Guidelines was that there
should only be one selection vis
Fredrik Lundh wrote:
...
> it does, but by default, the selection is only shown for widgets that has the
> key-
> board focus. if you add an explicit focus_set() call, you'll see the
> selection.
>
>
Perfect! Thanks Fredrik.
Strange behaviour though (IMHO), that the selection is only shown i
"Ant" <[EMAIL PROTECTED]> wrote:
> I have been trying to select text in a Text widget programmatically. I
> have been trying the following minimal example:
> #=
> from Tkinter import *
>
> def showgui():
>win = Tk()
>
>area = Text(win, width = 50, height = 2
Hi all,
I have been trying to select text in a Text widget programmatically. I
have been trying the following minimal example:
#=
from Tkinter import *
def showgui():
win = Tk()
area = Text(win, width = 50, height = 20)
area.pack()
new = """Lots o