/usr/lib64/python3.12/tkinter/__pycache__
Edit: /usr/lib64/python3.12/tkinter/__pycache__/font.cpython-312.opt-1.pyc (10872B)
{|jX d dl Z d dlZdZg dZdZdZdZdZddZ G d d
Z ddZ
ddZed
k( r ej Z e dde Z eej# eej# d eej# d eej% eej' d eej' d e e eej) d ej+ d eej+ e e d Z eej) d ej+ de ej, ede Zej1 ej2 edej4 Zej1 e ed j7 Zej% e ej% e ej: yy) Nz0.9)NORMALROMANBOLDITALIC
nametofontFontfamiliesnamesnormalromanbolditalicc t | d| S )zFGiven the name of a tk named font, returns a Font representation.
T)nameexistsroot)r )r r s %/usr/lib64/python3.12/tkinter/font.pyr r s T$T22 c e Zd ZdZ ej
d Zd Zd Zd Z ddZ
d Zd Zd
Z
d Zd Zd
Zd ZddZd Zd ZeZddZd Zy)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 g }|j D ]3 \ }}|j d|z |j t | 5 t | S N-)itemsappendstrtuple)selfkwoptionskvs r _setz Font._set2 sG HHJDAqNN3q5!NN3q6" W~r c R g }|D ] }|j d|z t | S r )r r )r argsr r! s r _getz Font._get9 s+ ANN3q5! W~r c b i }t dt | d D ] }||dz ||| dd <