File: //snap/core22/current/usr/lib/python3/dist-packages/urwid/__pycache__/wimp.cpython-310.pyc
o
��o_�U � @ s0 d dl mZmZ d dlmZmZmZmZmZ d dl m
Z
d dlmZ d dl
mZmZ d dlmZ d dlmZ d dlmZ d d lmZ d d
lmZ d dlmZ G dd
� d
e�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�Z G dd� ded�e�Z!G dd� de�Z"dd� Z#e$dkr�e#� dS dS )� )�division�print_function)�Text�
WidgetWrap�delegate_to_widget_mixin�BOX�FLOW)�CompositeCanvas)�connect_signal)�Columns�Overlay)�is_mouse_press)�calc_coords)�disconnect_signal)�python3_repr)�WidgetDecoration)�ACTIVATEc @ s8 e Zd ZdZdZd
dd�Zddd�Zdd � Zd
d� ZdS )�SelectableIconFTr c C s | j �|� || _dS )a�
:param text: markup for this widget; see :class:`Text` for
description of text markup
:param cursor_position: position the cursor will appear in the
text when this widget is in focus
This is a text widget that is selectable. A cursor
displayed at a fixed location in the text when in focus.
This widget has no special handling of keyboard or mouse input.
N)�_SelectableIcon__super�__init__�_cursor_position)�self�text�cursor_position� r �,/usr/lib/python3/dist-packages/urwid/wimp.pyr '