config root man

Current Path : /compat/linux/proc/self/root/usr/local/lib/python2.5/lib-tk/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //compat/linux/proc/self/root/usr/local/lib/python2.5/lib-tk/tkFont.pyc

³ò
h”Rc@sÐdZddkZdZdZdZdZd„Zddd	„ƒYZdd
„Z	dd„Z
edjoaeiƒZ
ed
ddddeƒZeiƒGHeid
ƒGHeidƒGHeiƒGHeid
ƒGHeidƒGHe
ƒGHeidƒGeidƒGHeiƒGHeddƒZeidƒGeidƒGHeie
dddeƒZeiƒeie
ddde
iƒZeiƒededƒiƒZeideƒeideƒeiƒndS(s0.9iÿÿÿÿNtnormaltromantboldtitaliccCstd|dtƒS(sFGiven the name of a tk named font, returns a Font representation.
    tnametexists(tFonttTrue(R((s)/usr/local/lib/python2.5/lib-tk/tkFont.pyt
nametofontsRcBsªeZdZd„Zd„Zd„Zddded„Zd„Z	d„Z
d„Zd„Zd	„Z
d
„Zdd„Zd„Zd
„ZeZd„Zd„ZRS(söRepresents a named font.

    Constructor options are:

    font -- font specifier (name, system font, or (family, size, style)-tuple)
    name -- name to use for this font configuration (defaults to a unique name)
    exists -- does a named font by this name already exist?
       Creates a new named font if False, points to the existing font if True.
       Raises _tkinter.TclError if the assertion is false.

       the following are ignored if font is specified:

    family -- font 'family', e.g. Courier, Times, Helvetica
    size -- font size in points
    weight -- font thickness: NORMAL, BOLD
    slant -- font slant: ROMAN, ITALIC
    underline -- font underlining: false (0), true (1)
    overstrike -- font strikeout: false (0), true (1)

    cCsQg}x>|iƒD]0\}}|id|ƒ|it|ƒƒqWt|ƒS(Nt-(titemstappendtstrttuple(tselftkwtoptionstktv((s)/usr/local/lib/python2.5/lib-tk/tkFont.pyt_set/s
cCs2g}x|D]}|id|ƒq
Wt|ƒS(NR	(RR
(RtargsRR((s)/usr/local/lib/python2.5/lib-tk/tkFont.pyt_get6s
cCsGh}x:tdt|ƒdƒD] }||d|||d<qW|S(Niii(trangetlen(RRRti((s)/usr/local/lib/python2.5/lib-tk/tkFont.pyt_mkdict<s
cKsC|p
ti}n|o(|ii|iidd|ƒƒ}n|i|ƒ}|pdtt|ƒƒ}n||_|opt	|_
|i|iiddƒjotiid|if‚n|o |iidd|i|Œqn&|iidd|i|Œt
|_
||_|ii|_|ii|_dS(Ntfonttactualtnamess$named font %s does not already existt	configuretcreate(tTkintert
_default_rootttkt	splitlisttcallRRtidRtFalsetdelete_fontt_tkintertTclErrorRt_roott_splitt_call(RtrootRRRR((s)/usr/local/lib/python2.5/lib-tk/tkFont.pyt__init__Bs&
(		$		cCs|iS(N(R(R((s)/usr/local/lib/python2.5/lib-tk/tkFont.pyt__str___scCs |i|ijo
t|tƒS(N(Rt
isinstanceR(Rtother((s)/usr/local/lib/python2.5/lib-tk/tkFont.pyt__eq__bscCs
|i|ƒS(N(tcget(Rtkey((s)/usr/local/lib/python2.5/lib-tk/tkFont.pyt__getitem__escCs|ih||<dS(N(R(RR3tvalue((s)/usr/local/lib/python2.5/lib-tk/tkFont.pyt__setitem__hscCs]y(|io|idd|iƒnWn.ttfj
o
‚ntj
onXdS(NRtdelete(R&R+RtKeyboardInterruptt
SystemExitt	Exception(R((s)/usr/local/lib/python2.5/lib-tk/tkFont.pyt__del__ks
cCst|i|iƒS(s*Return a distinct copy of the current font(RR)R(R((s)/usr/local/lib/python2.5/lib-tk/tkFont.pytcopytscCsT|o!|idd|id|ƒSn)|i|i|idd|iƒƒƒSdS(sReturn actual font attributesRRR	N(R+RRR*(Rtoption((s)/usr/local/lib/python2.5/lib-tk/tkFont.pyRxs!cCs|idd|id|ƒS(sGet font attributeRtconfigR	(R+R(RR=((s)/usr/local/lib/python2.5/lib-tk/tkFont.pyR2scKsY|o&|idd|i|i|ƒŒn)|i|i|idd|iƒƒƒSdS(sModify font attributesRR>N(R+RRRR*(RR((s)/usr/local/lib/python2.5/lib-tk/tkFont.pyR>…s
cCst|idd|i|ƒƒS(sReturn text widthRtmeasure(tintR+R(Rttext((s)/usr/local/lib/python2.5/lib-tk/tkFont.pyR?‘scGs¥|o,t|idd|i|i|ƒƒƒSno|i|idd|iƒƒ}h}x@tdt|ƒdƒD]&}t||dƒ|||d<qsW|SdS(s}Return font metrics.

        For best performance, create a dummy widget
        using this font before calling this method.RtmetricsiiiN(R@R+RRR*RR(RRtresR((s)/usr/local/lib/python2.5/lib-tk/tkFont.pyRB•s)!$N(t__name__t
__module__t__doc__RRRtNoneR%R-R.R1R4R6R;R<RR2R>RR?RB(((s)/usr/local/lib/python2.5/lib-tk/tkFont.pyRs"													
	cCs3|p
ti}n|ii|iiddƒƒS(sGet font families (as a tuple)Rtfamilies(RR R!R"R#(R,((s)/usr/local/lib/python2.5/lib-tk/tkFont.pyRH¦s
cCs3|p
ti}n|ii|iiddƒƒS(s'Get names of defined fonts (as a tuple)RR(RR R!R"R#(R,((s)/usr/local/lib/python2.5/lib-tk/tkFont.pyR¬s
t__main__tfamilyttimestsizeitweightthellot	linespaceRtCourieriRAsHello, worldsQuit!tcommand((RPiR(t__version__RtNORMALtROMANtBOLDtITALICRRRGRHRRDtTkR,tfRR>R2R?RBtLabeltwtpacktButtontdestroyR<tfbtmainloop(((s)/usr/local/lib/python2.5/lib-tk/tkFont.pys<module>	s>	Ž	




Man Man