Re: Future Python Gui?



bcwhite@xxxxxxxxx wrote:
On Windows, the easiest way to install Tile is to grab it from
ActiveState's Tcl distribution
(http://www.activestate.com/products/activetcl/) and then place it with
the Tcl/Tk bits that come with Python. The Tcl/Tk build for Windows that
python.org provides doesn't ship with Tile. You'll also have to install
the Tile wrapper at the site I referenced earlier in your site-packages
directory.

For posterity's sake, here's what I did...

- install python http://www.python.org/download/
(use the Windows MSI install package)
- go to http://bruno.thoorens.free.fr/ and do the download
- instructions say to copy "tty.py" to "Tkinter" folder, but that
doesn't exist
- copy instead to C:\Python25\Lib
- copy folders as directed (to C:\Python25\Tcl)

This should also work with the ActivePython download at
http://www.activestate.com/products/activepython/ .

Within your program, you need:

# Import "Tile" theming engine
tkroot.tk.call('package', 'require', 'tile')
tkroot.tk.call('namespace', 'import', '-force', 'ttk::*')
tkroot.tk.call('tile::setTheme', 'xpnative')

after your call to "tkroot = Tk()" (or "tkroot = Tkinter.Tk()" if you
just "import Tkinter").

The frustrating part is that the main reason I wanted this is because
it says it wraps a "Notebook" widget. If it does, I can't find it!
<sigh>

-- Brian


The wrapper I maintain works differently, and includes the notebook widget.

--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
.



Relevant Pages

  • Re: Multiple Version Install?
    ... Windows 98, if it matters. ... One more thing you Python guys got right. ... numbers change on Windows, you also need to install matching ... a certain set of Delphi "components". ...
    (comp.lang.python)
  • RE: Python 2.4 killing commercial Windows Python development ?
    ... > install fully useable Python on their Windows machines. ... > Quicksomething for Windows, or RealPlayer, ... The Windows application that I develop and distribute relies on Python ...
    (comp.lang.python)
  • Re: Python Extension Building Network
    ... Windows binaries for any Python extension developer that needs them, ... The main objective is to make it easier for Windows users to install ... however binary packages are also available. ...
    (comp.lang.python)
  • Re: Why does Python never add itself to the Windows path?
    ... different versions of MS Windows, and not a single time was the Python ... the Windows installer program and thought that would suffice. ... just choose to install Python into directory ...
    (comp.lang.python)
  • Re: Windows distribution suggestions?
    ... > Since your installer needs to run before Python is installed, ... > You'll find a Windows installer program, ... The app works ok under Windows now. ... > and then, if you provide updates, just install them using your installed ...
    (comp.lang.python)