MOON
Server: Apache/2.2.34 (Unix) mod_ssl/2.2.34 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 FrontPage/5.0.2.2635
System: Linux server.asjudinet.com 2.6.32-042stab141.3 #1 SMP Fri Nov 15 22:45:34 MSK 2019 i686
User: asjudine (504)
PHP: 5.2.17
Disabled: NONE
Upload Files
File: //usr/lib/Tix8.4/pref/WmDefault.pyo
mò
wËAc@s1dZdkZdkZdkZdkZdkZdd„Zdd„Zd„Z	d„Z
edjoÃdZe
eiƒdjoeiieidƒZnep(eiieƒpeiieƒoeiƒZndkZeiƒZeeƒeehd	d
<ƒe	eƒZeGHndS(smOne of the bad things about Tk/Tkinter is that it does not pick up
the current color and font scheme from the prevailing CDE/KDE/GNOME/Windows 
window manager scheme.

One of the good things about Tk/Tkinter is that it is not tied to one
particular widget set so it could pick up the current color and font scheme 
from the prevailing CDE/KDE/GNOME/Windows window manager scheme.

The WmDefault package is for making Tk/Tkinter applications use the 
prevailing CDE/KDE/GNOME/Windows scheme. It tries to find the files
and/or settings that the current window manager is using, and then
sets the Tk options database accordingly.

Download the latest version of wm_default from http://tix.sourceforge.net
either as a part of the standard Tix distribution, or as a part of the
Tix Applications: http://tix.sourceforge.net/Tide. wm_default does not
require Tix, but is Tix enabled.
NtcCsïy[y|iidƒWn@tiitiƒ}|iid|ƒ|iidƒnXWn~t	i
ƒ\}}}d}x+ti|||ƒD]}||d}q’Wytid|ƒWqÜt	ii|ƒqÜXnX|iid|ƒS(sÅ1) find the files and/or settings (::wm_default::setup).
    Takes one optional argument: wm, the name of the window manager
    as a string, if known. One of: windows gnome kde1 kde2 cde kde.
    spackage require wm_defaults(global auto_path; lappend auto_path {%s}sError loading WmDefault
s
sWmDefault Errors::wm_default::setupN(trootttktevaltostpathtdirnametselft__file__tdirtsystexc_infotttvttbttextt	tracebacktformat_exceptiontlinettkMessageBoxt	showerrortstderrtwritetcalltwm(RRRRRR
RR	((t!/usr/lib/Tix8.4/pref/WmDefault.pytsetups&cKs\|djo |ii|iidƒƒSn|iit|iid|i||ƒƒƒS(s¢2) Setting the Tk options database (::wm_default::addoptions).
    You can override the settings in 1) by adding your values to the
    call to addoptions().
    s::wm_default::addoptionsN(s::wm_default::addoptions(	tcnftNoneRRt	splitlistRtapplyt_optionstkw(RRR ((Rt
addoptions6s

 cCsm|ii|iidƒƒ}h}xBtdt|ƒdƒD](}||}||d}|||<q=W|S(s3Returns the current settings, as a dictionary.
    s::wm_default::getoptionsiiiN(RRRRtwordstdicttrangetlentitkeytvalue(RR'R&R#R(R"((Rt
getoptionsAs
cCs|iidƒS(sGReturns a string of the current settings, one value-pair per line.
    s::wm_default::parrayN(RRR(R((RtparrayLst__main__it
foregroundtred(t__doc__RR
RtstringRRRR!R)R*t__name__R	R%targvRRtisdirtisabstgetcwdtTkintertTkRtretval(
R5R/R!R)RRR
RRR*RR7R	((Rt?s$$			
0