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


Groups > comp.lang.python > #83191

Re: Python Tk Tix GUI documentation & builder overview and tips

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.swapon.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
From Christian Gollwitzer <auriocus@gmx.de>
Newsgroups comp.lang.python
Subject Re: Python Tk Tix GUI documentation & builder overview and tips
Date Sun, 04 Jan 2015 09:23:10 +0100
Organization A noiseless patient Spider
Lines 48
Message-ID <m8at8k$g39$1@dont-email.me> (permalink)
References <e92d6639-28e4-4b58-83f3-fa1e88a186db@k2g2000yql.googlegroups.com> <5373bac1-9d1b-4468-adb8-361240afef92@googlegroups.com> <mailman.17360.1420322282.18130.python-list@python.org>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Sun, 4 Jan 2015 08:22:44 +0000 (UTC)
Injection-Info mx02.eternal-september.org; posting-host="52ac7a71250a76d941bcb5c514e0f16a"; logging-data="16489"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/i7XeRpKzkVRtNfxffcoEiN2ijA0O4Mq8="
User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
In-Reply-To <mailman.17360.1420322282.18130.python-list@python.org>
Cancel-Lock sha1:X4phCrRbhfFHYaudT4HEq7Pudmk=
Xref csiph.com comp.lang.python:83191

Show key headers only | View raw


Am 03.01.15 um 22:57 schrieb Terry Reedy:
> On 1/3/2015 1:30 PM, abaskm@gmail.com wrote:
>> Hi,
>>
>> I have had issues running Tix on python 2.7.6 and 3.4.2:
>>
>> More details on the issue here.
>>
>> http://stackoverflow.com/questions/27751923/tix-widgets-installation-issue
>>
>> Has anyone had similar issues with Tix?
>
> The current doc is wrong in any case.  I opened
> http://bugs.python.org/issue23156
>

Tix is a compiled extension, so this tix8.4.3.dll is needed as well as a 
couple of .tcl file including pkgIndex.tcl, which makes the package 
available to the Tcl interpreter. tix*.dll was never part of tk*.dll.

Note that Tix is LEGACY. There are much better options for its widgets 
available that are based on ttk. Just to try, I compiled Tix under OSX 
for my Tk8.6.3 and ran the widget demos.

Instead of

* Hierarchical Listbox use ttk::treeview, tablelist_tile or tkTreeCtrl, 
with increasing order of capabilities and install complexity

* TList: I think tkTreeCtrl can do it, never have used this layout

* CheckList: tablelist can be used with an editable field

* Grid widget: use tkTable

* NoteBook, PanedWindow, ComboBox, LabelFrame -> ttk::notebook, 
ttk::panedwindow, ttk::combobox, ttk::labelframe

* Balloon: tcllib::tooltip

Not to mention that the Tix widgets are extremely ugly, while the 
widgets from ttk have a near-native look and feel.

Caveat emptor: I've never used Tix, so this is just my impression as an 
experienced Tk programmer from running the widget demo

	Christian

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


Thread

Re: Python Tk Tix GUI documentation & builder overview and tips abaskm@gmail.com - 2015-01-03 10:30 -0800
  Re: Python Tk Tix GUI documentation & builder overview and tips Terry Reedy <tjreedy@udel.edu> - 2015-01-03 16:57 -0500
    Re: Python Tk Tix GUI documentation & builder overview and tips Christian Gollwitzer <auriocus@gmx.de> - 2015-01-04 09:23 +0100
      Re: Python Tk Tix GUI documentation & builder overview and tips Terry Reedy <tjreedy@udel.edu> - 2015-01-04 15:45 -0500

csiph-web