ok
Direktori : /usr/lib64/python2.7/site-packages/pynche/ |
Current File : //usr/lib64/python2.7/site-packages/pynche/TextViewer.pyc |
� ��^c @ s9 d Z d d l Td d l Z d Z d d d � � YZ d S( s( TextViewer class. The TextViewer allows you to see how the selected color would affect various characteristics of a Tk text widget. This is an output viewer only. In the top part of the window is a standard text widget with some sample text in it. You are free to edit this text in any way you want (BAW: allow you to change font characteristics). If you want changes in other viewers to update text characteristics, turn on Track color changes. To select which characteristic tracks the change, select one of the radio buttons in the window below. Text foreground and background affect the text in the window above. The Selection is what you see when you click the middle button and drag it through some text. The Insertion is the insertion cursor in the text window (which only has a background). i����( t *Ns Text Window...t TextViewerc B sn e Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d � Z d � Z RS( c C sB | | _ | j � } t | d d �} | _ | j d | j � | j d � | j d � | j d | j � | j d | j � | j d | j � | j d | j � t | d t d | j d d � d | j d d � d d d d �| _ | j d � } | r| j j d | � n | j d � } | rB| j j d | � n | j d � } | rm| j j d | � n | j j � | j j d | j d d � � | j d � } | r�| j j t | � n y8 | j d d t f � \ } } | j j t | | � Wn t k rn X| j j � t � | _ | j j | j d d! � � t � | _ | j j | j d"