473,387 Members | 1,603 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Tkinter and Tile

Howdy all,

Python programmers looking for a built-in GUI toolkit are told two
things: one, Python already comes with a GUI toolkit, and two, it
looks equally ugly on all platforms. This is because the Tk widget
library, that Tkinter uses, defaults to looking like Motif, which
hasn't been the default widget set of *anything* for a long time.

The Tk folks are apparently getting their act together. Tile is a
"theming engine" for Tk with widgets that look and act native::

<URL:http://tktable.sourceforge.net/tile/>

Tile is included with Tcl/Tk 8.5 and Tcl developers, at least, are
encouraged to migrate to using it::

<URL:http://wiki.tcl.tk/11075>

What effect will this have on Python's Tkinter? Is it possible we can
soon expect that the long-time, but much-neglected, built-in GUI
module for Python can take advantage of this and provide widgets that
look and act like the native GUI on Unix, Windows and MacOS?

--
\ "Compulsory unification of opinion achieves only the unanimity |
`\ of the graveyard." -- Justice Roberts in 319 U.S. 624 (1943) |
_o__) |
Ben Finney

Feb 12 '07 #1
2 5349
On Mon, 12 Feb 2007 09:24:20 +0100, Ben Finney <be*@benfinney.id.auwrote:
Howdy all,

Python programmers looking for a built-in GUI toolkit are told two
things: one, Python already comes with a GUI toolkit, and two, it
looks equally ugly on all platforms. This is because the Tk widget
library, that Tkinter uses, defaults to looking like Motif, which
hasn't been the default widget set of *anything* for a long time.

The Tk folks are apparently getting their act together. Tile is a
"theming engine" for Tk with widgets that look and act native::

<URL:http://tktable.sourceforge.net/tile/>

Tile is included with Tcl/Tk 8.5 and Tcl developers, at least, are
encouraged to migrate to using it::

<URL:http://wiki.tcl.tk/11075>

What effect will this have on Python's Tkinter? Is it possible we can
soon expect that the long-time, but much-neglected, built-in GUI
module for Python can take advantage of this and provide widgets that
look and act like the native GUI on Unix, Windows and MacOS?
FYI, changes done in tcl/tk are usually quite rapidly integrated in
Tkinter. For example, for the "panedwindow" widget, introduced in tk8.4
(first version out in the end of 2002), a Tkinter wrapper was available in
Python 2.3 (first version out mid-2003). So I don't doubt that the Tile
extension package will be integrated in Tkinter, as soon as it is
available in an official tcl/tk release.

Note also that there is already an "unofficial" Tkinter wrappers set for
the Tile widgets, done by Kevin Walzer. See:
https://sourceforge.net/project/show...roup_id=165637
(package tkinter-wrapper)

I personnally will surely use this package. Not only does it provide a
native and more pleasing to the eye appearence, but it also finally
provides widgets that are quite standard nowadays (notebook, combo-box,
tree widget, ...), but that weren't available before in tk without an
extension package.

HTH
--
python -c "print ''.join([chr(154 - ord(c)) for c in
'U(17zX(%,5.zmz5(17l8(%,5.Z*(93-965$l7+-'])"
Feb 12 '07 #2
"Eric Brunel" <er*********@despammed.comwrote:

FYI, changes done in tcl/tk are usually quite rapidly integrated in
Tkinter. For example, for the "panedwindow" widget, introduced in tk8.4
(first version out in the end of 2002), a Tkinter wrapper was available in
Python 2.3 (first version out mid-2003). So I don't doubt that the Tile
extension package will be integrated in Tkinter, as soon as it is
available in an official tcl/tk release.

Do you imagine that the bizarre behaviour of "ButtonRelease" will be fixed too?

- Hendrik
Feb 13 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Mark 'Kamikaze' Hughes | last post by:
In the new Python game I'm developing, I need to crop out individual tiles from larger tilesets, and maintain transparency. Unfortunately, I've run into major deficiencies in both Tkinter and PIL...
7
by: Harlin Seritt | last post by:
I was looking at the Tcl/Tk sourceforge page and found that there were a couple of new widgets being produced for Tcl 8.5. Does anyone know if there are any Tkinter wrappers somewhere? thanks, ...
2
by: John Salerno | last post by:
I'm a little confused. I was under the impression (perhaps incorrectly) that Tkinter will create GUI widgets that are native to your OS, so I should have an XPish looking application. But when I...
0
by: Kevin Walzer | last post by:
Is anyone using Tile in their Tkinter applications? Tile provides native theming for Windows XP and Mac OS X, and provides an improved Tk look-and-feel on Unix/Linux. For info on Tile:...
1
by: Kevin Walzer | last post by:
I'm not sure how often members of this list visit the Tkinter wiki at http://tkinter.unpythonic.net/wiki/FrontPage; this wiki seems to have less traffic in general than the Tcl/Tk wiki at...
44
by: bg_ie | last post by:
Hi, I'm in the process of writing some code and noticed a strange problem while doing so. I'm working with PythonWin 210 built for Python 2.5. I noticed the problem for the last py file...
1
by: Kevin Walzer | last post by:
I'm trying to create a custom Tkinter widget class, and I'm having some difficulty getting it set up properly. The class is called MacToolbar, saved in its own module MacToolbar.py, and imported...
11
by: Kenneth McDonald | last post by:
Any guesses as to how many people are still using Tkinter? And can anyone direct me to good, current docs for Tkinter? Thanks, Ken
4
by: Mudcat | last post by:
So I haven't programmed much in Python the past couple of years and have been catching up the last few days by reading the boards. I'll be making commercial Python applications again and wanted to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.