New submission from th9 <rei4...@gmail.com>:

I want the app name to be displayed under the icon in Alt+Tab menu, but 
currently it only displays the className of the root, which by default is "Tk". 
So in Gnome3 all Tkinter apps show up as "Tk" in the panel and in the Alt+Tab 
menu.

It is possible to override that to some extent by giving className attribute to 
Tk(), but I don't know what the side effects are and it doesn't preserve 
capitalization of the name - the first letter is capital, but all others are 
small. Moreover, default title of the window is taken from the className by 
making first letter small and leaving the rest as given, so at the end nothing 
is as intended.

E.g., if I give calssName="APP", the app is called "App", but windows title is 
"aPP".

There should be a way to give this information, but I don't see it exposed 
anywhere and it is not correctly inferred from args[0] either.

Example program attached.

----------
components: Tkinter
files: tk_wm_test.py
messages: 149013
nosy: th9
priority: normal
severity: normal
status: open
title: Tkinter doesn't set proper application name
type: behavior
versions: Python 2.7, Python 3.2
Added file: http://bugs.python.org/file23875/tk_wm_test.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13553>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to