Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #35755

Re: Inserting Unicode chars in Entry widget

References <df4d0902-c40a-42de-8a6c-b997460313a9@googlegroups.com>
Date 2012-12-30 03:58 +1100
Subject Re: Inserting Unicode chars in Entry widget
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.1429.1356800290.29569.python-list@python.org> (permalink)

Show all headers | View raw


On Sun, Dec 30, 2012 at 3:43 AM, Alan Graham <alan.l.graham@gmail.com> wrote:
> Hello Python experts,
>
> I want to insert Unicode chars in an Entry widget by pushing on buttons;
> one for each Unicode character I need. I have made the Unicode buttons.
> I just need a simple function that will send the Unicode character to
> the Entry widget.
> Is there a better approach?

What GUI toolkit are you using?

Whatever it is, there ought to be a simple method on the Entry widget
that inserts a character. Poke around with it and you'll probably find
it, though you may find it under a name you don't expect. (Happens a
lot. GTK calls something "sensitive" when the rest of the world calls
it "enabled".)

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Inserting Unicode chars in Entry widget Alan Graham <alan.l.graham@gmail.com> - 2012-12-29 08:43 -0800
  Re: Inserting Unicode chars in Entry widget Chris Angelico <rosuav@gmail.com> - 2012-12-30 03:58 +1100
  Re: Inserting Unicode chars in Entry widget Irmen de Jong <irmen.NOSPAM@xs4all.nl> - 2012-12-29 18:11 +0100
    Re: Inserting Unicode chars in Entry widget Chris Angelico <rosuav@gmail.com> - 2012-12-30 04:23 +1100
      Re: Inserting Unicode chars in Entry widget Irmen de Jong <irmen.NOSPAM@xs4all.nl> - 2012-12-29 20:15 +0100

csiph-web