/
usr
/
lib64
/
python3.6
/
tkinter
/
__pycache__
/
File Upload :
llllll
Current File: //usr/lib64/python3.6/tkinter/__pycache__/font.cpython-36.opt-1.pyc
3 \� � @ sz d Z ddlZddlZdZdZdZdZdd� ZG d d � d �Zd!dd�Z d"d d�Z edk�rvej� Z edded�Zeej� � eejd�� eejd�� eej� � eejd�� eejd�� ee � � eejd�ejd�� eeje d�� ed#d�Zeejd�ejde d�� eje ded�Zej� eje de jd�Zej� eed d�j� Zejed � ejed� ej� 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.6/tkinter/font.py� nametofont s r c @ s� e Zd ZdZejd�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>