[Tkinter-discuss] Using Win32 API to get around Tkinter limitations?

2010-10-29 Thread python
Wondering if there are ways to use the Win32 API to get around the following Tkinter limitations? 1. Inability to set custom mouse cursors via *.cur/*.ani files. 2. Determine the height or width of window properties such as titlebar, left/right and bottom window frame edges? Thank you, Malcolm _

Re: [Tkinter-discuss] Using Win32 API to get around Tkinter limitations?

2010-10-29 Thread Igor Novikov
On Fri, Oct 29, 2010 at 10:02 AM, wrote: > Wondering if there are ways to use the Win32 API to get around the > following Tkinter limitations? > If you are familiar with winapi you can try using pywin32 extension: http://sourceforge.net/projects/pywin32/ > > 1. Inability to set custom mouse c

Re: [Tkinter-discuss] Using Win32 API to get around Tkinter limitations?

2010-10-29 Thread python
Hi Igor, > Why not use conventional tcl/tk functionality? It seems tcl/tk allows to use cur/ani files for custom cursor: > [1]http://wiki.tcl.tk/8674 Thanks for your response. You are correct, under Windows the cursor='@path/to/file.ext' technique works as expected. I had tried that, but from wit

[Tkinter-discuss] Cross platform way to discover the height/width of window borders/titlebar, etc.

2010-10-29 Thread python
Is there a cross-platform way to discover the height/width of operating system rendered window borders/titlebars, etc? If not, any suggestions on how one might discover these properties when running under Windows using either ctypes or the pywin32 library? Thank you, Malcolm _

[Tkinter-discuss] How does Python's new ttk (Title) support work under Linux Qt and GTk?

2010-10-29 Thread python
Any comments on the concerns about ttk portability to Qt and GTk windowing systems? The following is from a recent thread on the python-list mailing list. > Tkinter is built-in and available on Windows, Mac, and Linux. If you're using Python 2.7 or 3.1 you can take advantage of Tkinter's ttk (Ti

Re: [Tkinter-discuss] Using Win32 API to get around Tkinter limitations?

2010-10-29 Thread Igor Novikov
On Fri, Oct 29, 2010 at 6:41 PM, wrote: > Hi Igor, > > > Why not use conventional tcl/tk functionality? It seems tcl/tk allows to > use cur/ani files for custom cursor: > > http://wiki.tcl.tk/8674 > > Thanks for your response. You are correct, under Windows the > cursor='@path/to/file.ext' techni

Re: [Tkinter-discuss] How does Python's new ttk (Title) support work under Linux Qt and GTk?

2010-10-29 Thread Michael Lange
Hi, Thus spoketh pyt...@bdurham.com unto us on Fri, 29 Oct 2010 12:31:49 -0400: > Any comments on the concerns about ttk portability to Qt and GTk > windowing systems? > > The following is from a recent thread on the python-list mailing list. > > > Tkinter is built-in and available on Windows

Re: [Tkinter-discuss] How does Python's new ttk (Title) support work under Linux Qt and GTk?

2010-10-29 Thread Igor Novikov
On Fri, Oct 29, 2010 at 9:16 PM, Michael Lange wrote: > > There are also a few advanced pixmap themes available at : > >http://tktable.cvs.sourceforge.net/viewvc/tktable/tile-themes/ > > According to > > > http://groups.google.com/group/comp.lang.tcl/browse_thread/thread/acedceb8a116b58e/ec9f

Re: [Tkinter-discuss] How does Python's new ttk (Title) support work under Linux Qt and GTk?

2010-10-29 Thread Michael Lange
Hi, Thus spoketh Igor Novikov unto us on Fri, 29 Oct 2010 21:34:53 +0300: > On Fri, Oct 29, 2010 at 9:16 PM, Michael Lange wrote: > > > > > There are also a few advanced pixmap themes available at : > > > >http://tktable.cvs.sourceforge.net/viewvc/tktable/tile-themes/ > > > > According to

Re: [Tkinter-discuss] How does Python's new ttk (Title) support work under Linux Qt and GTk?

2010-10-29 Thread Igor Novikov
On Fri, Oct 29, 2010 at 10:18 PM, Michael Lange wrote: > Hi, > > Thus spoketh Igor Novikov > unto us on Fri, 29 Oct 2010 21:34:53 +0300: > > > On Fri, Oct 29, 2010 at 9:16 PM, Michael Lange wrote: > > > > > > > > There are also a few advanced pixmap themes available at : > > > > > >http://t

Re: [Tkinter-discuss] How does Python's new ttk (Title) support work under Linux Qt and GTk?

2010-10-29 Thread Michael Lange
Hi, Thus spoketh Igor Novikov unto us on Fri, 29 Oct 2010 22:31:11 +0300: > > > Pixmap themes should be fixed before using with Ttk in tk8.5/8.6 > because they use 'tile' namespace but should be 'ttk' > To enable theme you need running following command: > > widget.tk.call('lappend', 'auto_pa