Mark Roseman added the comment:
I believe the ttk::themes call is older, part of when it was still Tile. There
are a bunch of those kind of API's that were kept around (for compatibility I
presume) when the official API (style theme names) was created and documented.
As explained on the
Terry J. Reedy added the comment:
Mark, do you have any opinion of this? It apparently impinges on what themes
we use or can offer as an option.
--
nosy: +markroseman
versions: +Python 3.6 -Python 3.5
___
Python tracker rep...@bugs.python.org
klappnase added the comment:
Are 'unloaded but available' themes really available to use?
Yes.
Does Style.theme_use(available_name) work?
Yes.
If so, it seems to me that available_name should
be reported by theme_names.
I agree, one should think so. I am not 100% certain about that, but
klappnase added the comment:
What is your real name?
Michael Lange
What should I add in the Misc/ACKS file?
Hmm, personally I'd prefer the nick, but it seems to be common practice to use
the real name; I think I'll leave it to you ;)
--
___
Python
Serhiy Storchaka added the comment:
Now CPython trunk in feature freeze stage until 3.4 realease. So we should wait
several months before commit this patch.
--
versions: +Python 3.5 -Python 3.4
___
Python tracker rep...@bugs.python.org
Terry J. Reedy added the comment:
As a non-tcl/tk user except via tkinter, I am not convinced that we should add
a near-duplicate function. The *Python* doc for ttk.Style.theme_names says
Returns a list of all known themes. If it does not do that, which it seems
not to, it should be changed
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: serhiy.storchaka - terry.reedy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17397
___
Serhiy Storchaka added the comment:
Since splitlist() works with Tcl_Obj-s, proposed test should pass.
klappnase, could you please sign a Contributor Licensing Agreement?
http://www.python.org/psf/contrib/contrib-form/
What is your real name? What should I add in the Misc/ACKS file?
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +terry.reedy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17397
___
___
Python-bugs-list
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17397
___
klappnase added the comment:
I am not familiar with python's test unit, but I tried my best.
As far as I see there are three possibilities to invoke the function:
* without pattern - return tuple with all themes
* with pattern that matches one or more themes
* with pattern that matches no
klappnase added the comment:
Update: I just tried Python-3.3.0 on WinXP, the same error, so it is obviously
_not_ a bug specific to the debian python install.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17397
Serhiy Storchaka added the comment:
This looks similar to issue16809 and requires a similar solution.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17397
___
klappnase added the comment:
Yes, I happen to encounter these TclObjects occasionally, e.g. (not tested with
the latest python):
$ python3
Python 3.1.3 (r313:86834, Nov 28 2010, 11:28:10)
[GCC 4.4.5] on linux2
Type help, copyright, credits or license for more information.
from tkinter import
Changes by klappnase klappn...@web.de:
--
title: ttk::themes missing form ttk.py - ttk::themes missing from ttk.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17397
___
Serhiy Storchaka added the comment:
Can you provide some tests for the new method?
--
nosy: +gpolo, serhiy.storchaka
stage: - test needed
versions: +Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17397
16 matches
Mail list logo