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

From Christian Gollwitzer <auriocus@gmx.de>
Newsgroups comp.lang.python
Subject Re: Python Tk Tix GUI documentation & builder overview and tips
Date 2015-01-04 09:23 +0100
Organization A noiseless patient Spider
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>

Show all headers | 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