Your IP : 3.146.107.152
3
��2a\ � @ s� d dl mZ d dlmZ d dlmZ dd� Zdd� Zdd � Zd
d� Z G dd
� d
e�Z
dd� Zedkr�d dl
mZ edddd� d dlmZ ee� dS )� )�TclError)�searchengine)�SearchDialogBasec C s. | j � }tj|�}t|d�s(t||�|_|jS )N�
_searchdialog)Z_rootr �get�hasattr�SearchDialogr )�text�root�engine� r �+/opt/alt/python36/lib64/python3.6/search.py�_setup s
r c C s | j dd�}t| �j| |�S )Nz sel.firstzsel.last)r r �open)r �patr r r
�find s r c C s t | �j| �S )N)r �
find_again)r r r r
r s r c C s t | �j| �S )N)r �find_selection)r r r r
r s r c @ s. e Zd Zdd� Zd
dd�Zdd� Zdd � ZdS )r c C s t j| � | jd| jd� d S )Nz Find Next� )r �create_widgetsZmake_button�default_command)�selfr r r
r s
zSearchDialog.create_widgetsNc C s | j j� sd S | j| j� d S )N)r �getprogr r )r Zeventr r r
r "