Uname: Linux web3.us.cloudlogin.co 5.10.226-xeon-hst #2 SMP Fri Sep 13 12:28:44 UTC 2024 x86_64
Software: Apache
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.210.96.117
Your Ip: 18.191.218.186
User: edustar (269686) | Group: tty (888)
Safe Mode: OFF
Disable Function:
NONE

name : font.cpython-32.pyc
l
��bc@s�dZddlZdZdZdZdZd�ZGd�d	�Zdd
�Z	dd�Z
edkr�ej�Z
ed
dddde�Zeej��eejd
��eejd��eej��eejd
��eejd��ee
��eejd�ejd��eej��edd�Zeejd�ejd��eje
ddde�Zej�eje
ddde
j�Zej�eded�j�Zejde�ejde�ej�ndS(u0.9iNunormaluromanubolduitaliccCstd|dd�S(uFGiven the name of a tk named font, returns a Font representation.
    unameuexistsT(uFontuTrue(uname((u3/usr/local/python-3.2/lib/python3.2/tkinter/font.pyu
nametofontscBs�|EeZdZd�Zd�Zd�Zddddd�Zd�Z	d�Z
d�Zd�Zd	�Z
d
�Zdd�Zd�Zd
�ZeZd�Zd�ZdS(u�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>|j�D]0\}}|jd|�|jt|��qWt|�S(Nu-(uitemsuappendustrutuple(uselfukwuoptionsukuv((u3/usr/local/python-3.2/lib/python3.2/tkinter/font.pyu_set/s
cCs2g}x|D]}|jd|�q
Wt|�S(Nu-(uappendutuple(uselfuargsuoptionsuk((u3/usr/local/python-3.2/lib/python3.2/tkinter/font.pyu_get6s
cCsMi}x@tdt|�d�D]&}||d|||dd�<qW|S(Niii(urangeulen(uselfuargsuoptionsui((u3/usr/local/python-3.2/lib/python3.2/tkinter/font.pyu_mkdict<s$cKs:|stj}n|r?|jj|jjdd|��}n|j|�}|smdtt|��}n||_|r�d|_
|j|jjdd�kr�tjjd|jf��n|r|jjdd|j|�qn%|jjdd|j|�d|_
||_|jj|_|jj|_dS(	Nufontuactualunamesu$named font %s does not already existu	configureucreateFT(utkinteru
_default_rootutku	splitlistucallu_setustruidunameuFalseudelete_fontu_tkinteruTclErroruTrueu_rootu_splitu_call(uselfurootufontunameuexistsuoptions((u3/usr/local/python-3.2/lib/python3.2/tkinter/font.pyu__init__Bs('			"		cCs|jS(N(uname(uself((u3/usr/local/python-3.2/lib/python3.2/tkinter/font.pyu__str__`scCst|t�o|j|jkS(N(u
isinstanceuFontuname(uselfuother((u3/usr/local/python-3.2/lib/python3.2/tkinter/font.pyu__eq__cscCs
|j|�S(N(ucget(uselfukey((u3/usr/local/python-3.2/lib/python3.2/tkinter/font.pyu__getitem__fscCs|ji||6�dS(N(u	configure(uselfukeyuvalue((u3/usr/local/python-3.2/lib/python3.2/tkinter/font.pyu__setitem__iscCsYy&|jr%|jdd|j�nWn,ttfk
rC�Yntk
rTYnXdS(Nufontudelete(udelete_fontu_callunameuKeyboardInterruptu
SystemExitu	Exception(uself((u3/usr/local/python-3.2/lib/python3.2/tkinter/font.pyu__del__ls	
cCst|j|j��S(u*Return a distinct copy of the current font(uFontu_rootuactual(uself((u3/usr/local/python-3.2/lib/python3.2/tkinter/font.pyucopyuscCsO|r#|jdd|jd|�S|j|j|jdd|j���SdS(uReturn actual font attributesufontuactualu-N(u_callunameu_mkdictu_split(uselfuoption((u3/usr/local/python-3.2/lib/python3.2/tkinter/font.pyuactualyscCs|jdd|jd|�S(uGet font attributeufontuconfigu-(u_calluname(uselfuoption((u3/usr/local/python-3.2/lib/python3.2/tkinter/font.pyucget�scKsW|r+|jdd|j|j|��n(|j|j|jdd|j���SdS(uModify font attributesufontuconfigN(u_callunameu_setu_mkdictu_split(uselfuoptions((u3/usr/local/python-3.2/lib/python3.2/tkinter/font.pyuconfig�s
cCst|jdd|j|��S(uReturn text widthufontumeasure(uintu_calluname(uselfutext((u3/usr/local/python-3.2/lib/python3.2/tkinter/font.pyumeasure�scGs�|r.t|jdd|j|j|���S|j|jdd|j��}i}xFtdt|�d�D],}t||d�|||dd�<qnW|SdS(u}Return font metrics.

        For best performance, create a dummy widget
        using this font before calling this method.ufontumetricsiiiN(uintu_callunameu_getu_spliturangeulen(uselfuoptionsuresui((u3/usr/local/python-3.2/lib/python3.2/tkinter/font.pyumetrics�s%!*NF(u__name__u
__module__u__doc__u_setu_getu_mkdictuNoneuFalseu__init__u__str__u__eq__u__getitem__u__setitem__u__del__ucopyuactualucgetuconfigu	configureumeasureumetrics(u
__locals__((u3/usr/local/python-3.2/lib/python3.2/tkinter/font.pyuFonts"
													
	uFontcCs1|stj}n|jj|jjdd��S(uGet font families (as a tuple)ufontufamilies(utkinteru
_default_rootutku	splitlistucall(uroot((u3/usr/local/python-3.2/lib/python3.2/tkinter/font.pyufamilies�scCs1|stj}n|jj|jjdd��S(u'Get names of defined fonts (as a tuple)ufontunames(utkinteru
_default_rootutku	splitlistucall(uroot((u3/usr/local/python-3.2/lib/python3.2/tkinter/font.pyunames�su__main__ufamilyutimesusizeiuweightuhellou	linespaceufontuCourieriutextuHello, worlduQuit!ucommand(uCourieriubold(u__version__utkinteruNORMALuROMANuBOLDuITALICu
nametofontuFontuNoneufamiliesunamesu__name__uTkurootufuprintuactualuconfigucgetumeasureumetricsuLabeluwupackuButtonudestroyucopyufbumainloop(((u3/usr/local/python-3.2/lib/python3.2/tkinter/font.pyu<module>	s>	�	



© 2025 GrazzMean