Author th9
Recipients th9
Date 2011-12-08.01:12:08
SpamBayes Score 2.4728e-12
Marked as misclassified No
Message-id <1323306729.26.0.368335158355.issue13553@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2011-12-08 01:12:10th9setrecipients: + th9
2011-12-08 01:12:09th9setmessageid: <1323306729.26.0.368335158355.issue13553@psf.upfronthosting.co.za>
2011-12-08 01:12:08th9linkissue13553 messages
2011-12-08 01:12:08th9create