ok
Direktori : /proc/thread-self/root/proc/self/root/lib64/python2.7/lib-tk/ |
Current File : //proc/thread-self/root/proc/self/root/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>