U e5d@ ã @ sz d Z ddlZddlZdZdZdZdZdd„ ZG d d „ d ƒZd dd„Z d!d d„Z edk�rve ¡ Z edded�Zee ¡ ƒ ee d¡ƒ ee d¡ƒ ee ¡ ƒ ee d¡ƒ ee d¡ƒ ee ƒ ƒ ee d¡e d¡ƒ eeje d�ƒ edd�Zee d¡ejde d�ƒ eje ded�Ze ¡ eje de jd�Ze ¡ eed d� ¡ Zejed� ejed� e ¡ dS )"z0.9é NZnormalZromanÚboldZitalicc C s t | dd�S )zFGiven the name of a tk named font, returns a Font representation. T)ÚnameÚexists)ÚFont©r © r ú$/usr/lib64/python3.8/tkinter/font.pyÚ nametofont s r c @ sœ e Zd ZdZe d¡Zdd„ Zdd„ Zdd„ Z d#dd„Z d d„ Zdd„ Zdd„ Z dd„ Zdd„ Zdd„ Zd$dd„Zdd„ Zdd„ ZeZd%dd „Zd!d"„ Zd S )&r aö 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) é c C s: g }| ¡ D ]$\}}| d| ¡ | t|ƒ¡ qt|ƒS ©Nú-)ÚitemsÚappendÚstrÚtuple)ÚselfÚkwÚoptionsÚkÚvr r r Ú_set1 s z Font._setc C s$ g }|D ]}| d| ¡ qt|ƒS r )r r )r Úargsr r r r r Ú_get8 s z Font._getc C s: i }t dt|ƒdƒD ] }||d ||| dd … <