File: //lib64/python2.7/lib-tk/tkFont.pyo
ó
zfc @ sÎ d Z d d l Z d Z d Z d Z d Z d „ Z d d d „ ƒ YZ d d
„ Z d d „ Z
e d k rÊe j ƒ Z
e d
d d d d e ƒ Z e j ƒ GHe j d
ƒ GHe j d ƒ GHe j ƒ GHe j d
ƒ GHe j d ƒ GHe
ƒ GHe j d ƒ Ge j d ƒ GHe j ƒ GHe d d ƒ Z e j d ƒ Ge j d ƒ GHe j e
d d d e ƒZ e j ƒ e j e
d d d e
j ƒZ e j ƒ e d e d ƒ j ƒ Z e j d e ƒ e j d e ƒ e j ƒ n d S( s 0.9iÿÿÿÿNt normalt romant boldt italicc C s t d | d t ƒ S( sF Given the name of a tk named font, returns a Font representation.
t namet exists( t Fontt True( R ( ( s% /usr/lib64/python2.7/lib-tk/tkFont.pyt
nametofont s R c B sª e Z d Z d „ Z d „ Z d „ Z d d d e d „ Z d „ Z d „ Z
d „ Z d „ Z d „ Z
d
„ Z d d „ Z d „ Z d
„ Z e Z d „ Z d „ Z RS( 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)
c C si g } xV | j ƒ D]H \ } } t | t ƒ s= t | ƒ } n | j d | ƒ | j | ƒ q Wt | ƒ S( Nt -( t itemst
isinstancet
basestringt strt appendt tuple( t selft kwt optionst kt v( ( s% /usr/lib64/python2.7/lib-tk/tkFont.pyt _set/ s c C s2 g } x | D] } | j d | ƒ q
Wt | ƒ S( NR ( R R ( R t argsR R ( ( s% /usr/lib64/python2.7/lib-tk/tkFont.pyt _get8 s
c C sG i } x: t d t | ƒ d ƒ D] } | | d | | | d <q W| S( Ni i i ( t ranget len( R R R t i( ( s% /usr/lib64/python2.7/lib-tk/tkFont.pyt _mkdict>