Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #7231
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!FUSE.NET-a2kHrUvQQWlmc!not-for-mail |
|---|---|
| Date | Wed, 08 Jun 2011 08:36:32 -0400 |
| From | Kevin Walzer <kw@codebykevin.com> |
| User-Agent | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20110528 Thunderbird/5.0b1 |
| MIME-Version | 1.0 |
| Newsgroups | comp.lang.python |
| Subject | Re: Tix Combobox |
| References | <b36fd30e-19f2-42ee-9cfe-2a21c4572907@p13g2000yqh.googlegroups.com> |
| In-Reply-To | <b36fd30e-19f2-42ee-9cfe-2a21c4572907@p13g2000yqh.googlegroups.com> |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Message-ID | <cdff1$4def6d54$4275d90a$28594@FUSE.NET> (permalink) |
| X-Complaints-To | abuse@usenetserver.com |
| Organization | UseNetServer.com |
| Lines | 26 |
| X-Trace | cdff14def6d54e7d07caf28594 |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:7231 |
Show key headers only | View raw
On 6/8/11 8:00 AM, peter wrote:
> I'm writing some fairly simple code using a Tkinter GUI, and found I
> wanted a Combo box. As Tkinter does not provide one, I turned to
> Tix, and struggled. Extensive googling failed to turn up any python
> specific documentation, and there was no obvious way to translate the
> Tcl documentation.
>
> Nothing worked, and usually fell over with the error message
> _tkinter.TclError: unknown color name "{#c3c3c3}". Googling this
> error message seemed to suggest that this was a known bug, and that
> there was no readily available fix for those of us who like
> applications to work out of the box.
>
> Is this correct? If so is there any other Tkinter based solution, or
> do I need to learn a new GUI?
>
> I'm using Python 2.6.1 under WindowsXP
>
> Peter
If you switch to Python 2.7 you can use the themed ttk widgets, which
includes a native combobox--not the ugly one that comes with Tix.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Tix Combobox peter <peter.mosley@talk21.com> - 2011-06-08 05:00 -0700 Re: Tix Combobox Kevin Walzer <kw@codebykevin.com> - 2011-06-08 08:36 -0400
csiph-web