관리-도구
편집 파일: ScrolledList.cpython-35.opt-1.pyc
��Yf � @ sc d d l Td d l m Z Gd d � d � Z d d � Z e d k r_ d d l m Z e e � d S) � )�*)� macosxSupportc @ s� e Z d Z d 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 d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d S)!�ScrolledListz(None)c K sk | | _ t | � | _ } | j j d d d d � t | d d �| _ } | j j d d d d � t | d d d d �| _ } | r� | j | � | j d d d d � | j | d <| j | d <| j d | j � | j d | j � t j � r$| j d | j � | j d | j � n | j d | j � | j d | j � | j d | j � | j � d S)NZfillZboth�expand� �name�vbarZside�right�yZexportselectionr Z backgroundZwhiteZcommandZyscrollcommandz<ButtonRelease-1>z<Double-ButtonRelease-1>z<ButtonPress-2>z<Control-Button-1>z<ButtonPress-3>z<Key-Up>z <Key-Down>)�masterZFrame�frameZpackZ Scrollbarr ZListbox�listboxZ configureZyview�setZbind�click_event�double_click_eventr ZisAquaTk�popup_event�up_event� down_event�clear)�selfr Zoptionsr r r � r �9/opt/alt/python35/lib64/python3.5/idlelib/ScrolledList.py�__init__ s* zScrolledList.__init__c C s | j j � d S)N)r Zdestroy)r r r r �close$ s zScrolledList.closec C s6 | j j d d � d | _ | j j d | j � d S)Nr �endr )r �delete�empty�insert�default)r r r r r '