%PDF- %PDF-
Direktori : /usr/share/ibus-table/setup/__pycache__/ |
Current File : //usr/share/ibus-table/setup/__pycache__/main.cpython-312.pyc |
� ��Xe�, � �� � d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlZddlZddlZddl Z ddl Z ddlZddlZddl Z ddlZddlZddlZddlZddlmZ edd � dd lmZ edd � ddlmZ ej. d � ej0 d� edd� ddlmZ edd� ddlmZ edd� ddlmZ edd� ddlmZ ddlmZmZm Z! dZ" ddl#Z#dZ"ejJ d dz gejJ z e_% ddl&Z&ddl'Z'ddl(Z( ejR d� Z* ejV � ejX � ejZ � fZ. ej^ d�� Z0e0jc d d!d"e2d#d$d%�&� e0jc d'd(d)dd*�+� e0jg � Z4 ed,� ed-� ed.� gZ5 G d/� d0ejl � Z7 G d1� d2ejl � Z8e9d3k( �r/e4jt r ejv � Z<n�ejJ j{ e'j| � d4� Z?ej� j� e?d5d6d7d8ddd�9� ZB ej� d:� ZDeBj� eD� e*j� ej� � e*j� eB� e*j� d;� e j e j� e j� � ej� ej� d$� e!� ej� � �� ej� ej� j� ej� j� ej� j� ed>� �?� ZXeXj� � eXj� � ej� d@� e4j� Z]e]sdAej� v rej� dA Z] ej� dBd$e]� j� dCdD� Z]e]se0j� � e7e]�E� Zb ej� � yy# e$f$ r dZ"Y ��Hw xY w# ej� $ r2 e*j� d<� ej� ej� d=� Y ��nw xY w)Fz The setup tool for ibus-table. � )�Union)�Any)�Dict)�ListN)�require_version�Gioz2.0)r �GLib)r zIBus Table Preferenceszibus-setup-table�Gdkz3.0)r �Gtk)r �Pangoz1.0)r �IBus)r )�N_�_�initFTz /../enginez ibus-tablezibus-table setup tool)�descriptionz-nz --engine-name�store�engine_name� u" Set the name of the engine, for example “table:cangjie3” or just “cangjie3”. Default: "%(default)s". If this option is not used, the value of the environment variable IBUS_ENGINE_NAME is tried instead. If the variable IBUS_ENGINE_NAME is also not set or empty, this help is printed.)�action�type�dest�default�helpz-qz --no-debug� store_truezODo not write log file ~/.cache/ibus-table/setup-debug.log, default: %(default)s)r r r z Initial statezDirect inputzTable inputc � � e Zd ZdZdhdeddfd�Zdid�Zeej j fdedej ddfd �� Zdedej fd �Z defd�Zededdfd �� Zededdfd�� Zedej&