Re: State of the art: Tkinter, Tk 8.5, Tix?
> The themed Tk widgets (ttk) that come with Tk 8.5 add a lot of the > same things that Tix does, but they do so in a more modern way, > hooking into platform-specific themes and API's wherever possible (XP, > Vista, Mac) and updating the generic X11 look as well. As such, they > are more appropriate for modern development. Tix is more of a legacy > toolkit. Interesting... so to summarize, what do I get from Python/TK on *Linux* with tkinter beeing dynamically linked to the system tk 8.5.6 ? Especially I'd like to know if it will support fontconfig/TTF/antialiased fonts? -- дамјан ( http://softver.org.mk/damjan/ ) When you do things right, people won't be sure if you did anything at all. -- http://mail.python.org/mailman/listinfo/python-list
Re: State of the art: Tkinter, Tk 8.5, Tix?
excord80 wrote: On Jan 10, 11:45 am, r wrote: We need TK 8.5's themes. This will bring Tkinter out of the dark ages and into the 21st Century! And improve the shine of the Python base distro. Python could use a good boost right now! Could someone please explain what Tix provides compared to what the new stuff in Tk 8.5 provides? Is there much overlap? And here are some Tix screenshots: http://tixlibrary.sourceforge.net/screenshots/index.shtml -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list
Re: State of the art: Tkinter, Tk 8.5, Tix?
excord80 wrote: Could someone please explain what Tix provides compared to what the new stuff in Tk 8.5 provides? Is there much overlap? Tix is a compiled Tk extension that adds a good number of widgets to the base set, such as a notebook tab, treeview, combobox, and others; Python includes a Tix wrapper as part of the standard library. However, it has not undergone much development over the past several years, and its widgets look very outdated (they have a mid-90s feel to them). The themed Tk widgets (ttk) that come with Tk 8.5 add a lot of the same things that Tix does, but they do so in a more modern way, hooking into platform-specific themes and API's wherever possible (XP, Vista, Mac) and updating the generic X11 look as well. As such, they are more appropriate for modern development. Tix is more of a legacy toolkit. A Python wrapper for ttk can be found here: http://code.google.com/p/python-ttk/ It will be added to the standard library at some point, probably for Python 3.1. Here are some screenshots: http://code.google.com/p/python-ttk/wiki/Screenshots HTH, Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list
Re: State of the art: Tkinter, Tk 8.5, Tix?
On Jan 10, 3:05 pm, excord80 wrote: > On Jan 10, 11:45 am, r wrote: > > > We need TK 8.5's themes. This will bring Tkinter out of the dark ages > > and into the 21st Century! And improve the shine of the Python base > > distro. Python could use a good boost right now! > > Could someone please explain what Tix provides compared to what the > new stuff in Tk 8.5 provides? Is there much overlap? TIX is just a set of compound widgets that were not included in the base Python Tkinter distro(notebook, label entry, etc... Now, it looks like they are standard. The new 8.5 TK includes support for OS specific themes, so as to give a more native feel to TK apps, hence the 21st century analogy :) -- http://mail.python.org/mailman/listinfo/python-list
Re: State of the art: Tkinter, Tk 8.5, Tix?
On Jan 10, 11:45 am, r wrote: > We need TK 8.5's themes. This will bring Tkinter out of the dark ages > and into the 21st Century! And improve the shine of the Python base > distro. Python could use a good boost right now! Could someone please explain what Tix provides compared to what the new stuff in Tk 8.5 provides? Is there much overlap? -- http://mail.python.org/mailman/listinfo/python-list
Re: State of the art: Tkinter, Tk 8.5, Tix?
We need TK 8.5's themes. This will bring Tkinter out of the dark ages and into the 21st Century! And improve the shine of the Python base distro. Python could use a good boost right now! -- http://mail.python.org/mailman/listinfo/python-list
Re: State of the art: Tkinter, Tk 8.5, Tix?
On Wed, 07 Jan 2009 20:31:23 +0100, excord80 wrote: Does Python work with Tk 8.5? I'm manually installing my own Python 2.6.1 (separate from my system's Python 2.5.2), and am about to install my own Tcl/Tk 8.5 but am unsure how to make them talk to eachother. Should I install Tk first? If I put Tk into my home directory (under "~/opt" most likely), is there some configure option I need to pass Python to tell it where to find my Tk? There's some important information missing here: the platform you're on... Anyway, you should indeed install tcl/tk first. Then, assuming you're on Linux, you should edit the file named Setup in the Modules sub-directory of your Python installation, find the lines for the _tkinter module and edit them to match your installation. Then, you can build and install Python and it should work without problem. As for Python 2.6 / tk 8.5 compatibility, it depends on what you want to do. Since tk 8.5 still offers the 'regular' tk widgets, these will work in Python 2.6. If you want the new widgets (aka ttk), I'm not sure there are official wrappers for them in the distro (there weren't any last time I checked). If there aren't, you can find the 'pre-official' ones here: http://pypi.python.org/pypi/pyttk Also, I see that Python comes with Tix. Was Tix supposed to be something to make up for what was lacking in Tk prior to its 8.5 release? Is Tix here to stay, or has it been eclipsed by what comes with Tk 8.5 OOTB? I've never worked with Tix myself, but I'd say the widget set offered by tk/ttk is now quite complete. HTH -- python -c "print ''.join([chr(154 - ord(c)) for c in 'U(17zX(%,5.zmz5(17l8(%,5.Z*(93-965$l7+-'])" -- http://mail.python.org/mailman/listinfo/python-list
Re: State of the art: Tkinter, Tk 8.5, Tix?
On Wed, Jan 7, 2009 at 2:31 PM, excord80 wrote: > Does Python work with Tk 8.5? I'm manually installing my own Python > 2.6.1 (separate from my system's Python 2.5.2), and am about to > install my own Tcl/Tk 8.5 but am unsure how to make them talk to > eachother. Should I install Tk first? If I put Tk into my home > directory (under "~/opt" most likely), is there some configure option > I need to pass Python to tell it where to find my Tk? > > Also, I see that Python comes with Tix. Was Tix supposed to be > something to make up for what was lacking in Tk prior to its 8.5 > release? Is Tix here to stay, or has it been eclipsed by what comes > with Tk 8.5 OOTB? Python will work with Tk 8.5. Regardless of the version, Tk has to be installed first. I also think you'll have to modify the detect_modules method in setup.py to include the directory where Tk is installed. I'm on a Mac, so the method for detecting Tk is a little bit different. > > -- > http://mail.python.org/mailman/listinfo/python-list > -- http://mail.python.org/mailman/listinfo/python-list
Re: State of the art: Tkinter, Tk 8.5, Tix?
On Jan 7, 2:31 pm, excord80 wrote: > Does Python work with Tk 8.5? I'm manually installing my own Python > 2.6.1 (separate from my system's Python 2.5.2), and am about to > install my own Tcl/Tk 8.5 but am unsure how to make them talk to > eachother. Should I install Tk first? If I put Tk into my home > directory (under "~/opt" most likely), is there some configure option > I need to pass Python to tell it where to find my Tk? > > Also, I see that Python comes with Tix. Was Tix supposed to be > something to make up for what was lacking in Tk prior to its 8.5 > release? Is Tix here to stay, or has it been eclipsed by what comes > with Tk 8.5 OOTB? I'm curious about this too. If no one responds please let us know how it goes. -- http://mail.python.org/mailman/listinfo/python-list
State of the art: Tkinter, Tk 8.5, Tix?
Does Python work with Tk 8.5? I'm manually installing my own Python 2.6.1 (separate from my system's Python 2.5.2), and am about to install my own Tcl/Tk 8.5 but am unsure how to make them talk to eachother. Should I install Tk first? If I put Tk into my home directory (under "~/opt" most likely), is there some configure option I need to pass Python to tell it where to find my Tk? Also, I see that Python comes with Tix. Was Tix supposed to be something to make up for what was lacking in Tk prior to its 8.5 release? Is Tix here to stay, or has it been eclipsed by what comes with Tk 8.5 OOTB? -- http://mail.python.org/mailman/listinfo/python-list
Re: Tkinter / Tk 8.5
Eric Brunel wrote: > On Thu, 27 Sep 2007 04:41:48 +0200, Scott David Daniels > <[EMAIL PROTECTED]> wrote: > >> Michal Bozon wrote: >>> Today has been released a first beta of Tk 8.5, including a Ttk >>> (tile) style engine, which makes possible the native look >>> of widgets on MS platform, without having to install any extension. >>> Is there a chance it will be included in 2.5.x, 2.6 or 3.0 ? >> >> This is just a guess, but: >> The beta: no way for anything. >> 2.5.x: also very unlikely >> 2.6: unlikely unless release is _soon_ (first alpha of 2.6 is out) > > It won't be: tcl/tk development is quite slow. There have been several > months between each 5 or 6 alpha release and between the last alpha and > the beta. So don't expect the official release to come soon... > >> 3.0: much more likely, 3.0 won't be out for some time. > > This would be my guess too... I'd say that Tk 8.5 will be out before Python 3.0: the beta phase should be fairly efficient on Tk. -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list
Re: Tkinter / Tk 8.5
Michal Bozon wrote: > Today has been released a first beta of Tk 8.5, including a Ttk > (tile) style engine, which makes possible the native look > of widgets on MS > platform, without having to install any extension. > > http://wiki.tcl.tk/11075 > http://sourceforge.net/mailarchive/message.php?msg_name=1190813039.46fa5d6f6a06b%40webmail.nist.gov > > Is there a chance it will be included in 2.5.x, 2.6 or 3.0 ? > > -m. Did you know that a wrapper for use with Tk 8.4.x is located here? http://tkinter.unpythonic.net/wiki/TileWrapper This does require a separate installation of the Tile libraries, but those can be obtained from ActiveState. I use this wrapper myself on OS X with a commercial application I develop, and Tile makes a big difference. (I maintain and update this wrapper at the wiki, but am not the original author.) --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list
Re: Tkinter / Tk 8.5
On Thu, 27 Sep 2007 04:41:48 +0200, Scott David Daniels <[EMAIL PROTECTED]> wrote: > Michal Bozon wrote: >> Today has been released a first beta of Tk 8.5, including a Ttk >> (tile) style engine, which makes possible the native look >> of widgets on MS platform, without having to install any extension. >> Is there a chance it will be included in 2.5.x, 2.6 or 3.0 ? > > This is just a guess, but: > The beta: no way for anything. > 2.5.x: also very unlikely > 2.6: unlikely unless release is _soon_ (first alpha of 2.6 is out) It won't be: tcl/tk development is quite slow. There have been several months between each 5 or 6 alpha release and between the last alpha and the beta. So don't expect the official release to come soon... > 3.0: much more likely, 3.0 won't be out for some time. This would be my guess too... -- python -c "print ''.join([chr(154 - ord(c)) for c in 'U(17zX(%,5.zmz5(17l8(%,5.Z*(93-965$l7+-'])" -- http://mail.python.org/mailman/listinfo/python-list
Re: Tkinter / Tk 8.5
Michal Bozon wrote: > Today has been released a first beta of Tk 8.5, including a Ttk > (tile) style engine, which makes possible the native look > of widgets on MS platform, without having to install any extension. > > Is there a chance it will be included in 2.5.x, 2.6 or 3.0 ? This is just a guess, but: The beta: no way for anything. 2.5.x: also very unlikely 2.6: unlikely unless release is _soon_ (first alpha of 2.6 is out) 3.0: much more likely, 3.0 won't be out for some time. -Scott David Daniels [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list
Tkinter / Tk 8.5
Today has been released a first beta of Tk 8.5, including a Ttk (tile) style engine, which makes possible the native look of widgets on MS platform, without having to install any extension. http://wiki.tcl.tk/11075 http://sourceforge.net/mailarchive/message.php?msg_name=1190813039.46fa5d6f6a06b%40webmail.nist.gov Is there a chance it will be included in 2.5.x, 2.6 or 3.0 ? -m. -- http://mail.python.org/mailman/listinfo/python-list