
    FQ	f                         d dl mZ ddlmZ ddlmZ ed   j                  Zg Z G d dej                        Z	 ee	      Z	ej                  d        G d d	ej                        Z ee      Zej                  d	        G d
 dej                        Z ee      Zej                  d        G d dej                        Z ee      Zej                  d        G d dej                        Z ee      Zej                  d        G d dej                        Z ee      Zej                  d        G d dej                         Z ee      Zej                  d        G d dej"                        Z ee      Zej                  d        G d dej$                        Z ee      Zej                  d       y)    )GObject   )override)modulesIBusc                       e Zd ZddZy)	Attributec                 F    t         j                  j                  ||||      S N)r   r	   new)clstypevaluestart_index	end_indexs        3/usr/lib/python3/dist-packages/gi/overrides/IBus.py__new__zAttribute.__new__$   s    ~~!!${IFF    N)r   r   r   r   )__name__
__module____qualname__r    r   r   r	   r	   #   s    Gr   r	   c                   <     e Zd Z	 	 	 	 	 	 	 	 d fd	Zd fd	Z xZS )	Componentc	                 >    t        t        | 
  d||||||||d|	 y )N)namedescriptionversionlicenseauthorhomepagecommand_line
textdomainr   )superr   __init__)selfr   r   r   r   r    r!   r"   r#   kwargs	__class__s             r   r%   zComponent.__init__,   s:     	i' 	2T4?0707/5195A3=	2 +1	2r   c                 F    |t        di |}t        t        |   |       y )Nr   )
EngineDescr$   r   
add_engine)r&   enginer'   r(   s      r   r+   zComponent.add_engineA   s$    >)&)Fi)&1r   ) r-   r-   r-   r-   r-   r-   r-   r   )r   r   r   r%   r+   __classcell__r(   s   @r   r   r   *   s,      2*2 2r   r   c                   *     e Zd Zd fd	Z fdZ xZS )Configc                 8    t         t        |   ||      }||S |S r   )r$   r1   	get_value)r&   sectionr   defaultr   r(   s        r   r3   zConfig.get_valueK   s%    fd-gt<=Nr   c                 Z    || j                  ||       y t        t        |   |||       y r   )unsetr$   r1   	set_value)r&   r4   r   r   r(   s       r   r8   zConfig.set_valueS   s)    =JJw%&$)'4?r   r   )r   r   r   r3   r8   r.   r/   s   @r   r1   r1   I   s    @ @r   r1   c                   @     e Zd Z	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d fd	Z xZS )r*   c                     t        t        | 
  di d|d|d|d|d|d|d|d|d	|	d
|
d|d|d|d|d|d|| y )Nr   longnamer   languager   r    iconlayouthotkeysranksymbolsetuplayout_variantlayout_optionr   r#   r   )r$   r*   r%   )r&   r   r;   r   r<   r   r    r=   r>   r?   r@   rA   rB   rC   rD   r   r#   r'   r(   s                     r   r%   zEngineDesc.__init__^   s    $ 	j$( 	3d 	32:	35@	3 3;	3 29		3
 17	3 /3	3 17	3 29	3 /3	3 17	3 05	3 9G	3 8E	3 29	3 5?+1!	3r   )r-   r-   r-   r-   r-   r-   r-   usr-   r   r-   r-   r-   r-   r-   r-   r   r   r   r%   r.   r/   s   @r   r*   r*   \   s?      "!!"3 "3r   r*   c                         e Zd Zd fd	Z xZS )Factoryc                     |@|j                  d|j                                |j                  dt        j                         t	        t
        |   di | y )N
connectionobject_pathr   )
setdefaultget_connectionr   PATH_FACTORYr$   rH   r%   )r&   busr'   r(   s      r   r%   zFactory.__init__   sI    ?lC,>,>,@AmT->->?gt%//r   r   rF   r/   s   @r   rH   rH      s    0 0r   rH   c                       e Zd Zd Zd Zy)Keymapc                 @    t         j                  j                  |      S r   )r   rQ   r   )r   r   s     r   r   zKeymap.__new__   s    {{t$$r   c                       y r   r   )argsr'   s     r   r%   zKeymap.__init__       r   Nr   r   r   r   r%   r   r   r   rQ   rQ      s    %r   rQ   c                   \    e Zd Zddddej                  j
                  g g fdZd Zd Zd Z	y	)
LookupTable   r   TFc                     t         j                  j                  ||||      }|j                  |       |D ]  }	|j	                  |	        t        |      D ]  \  }
}|j                  |
|        |S r   )r   rX   r   set_orientationappend_candidate	enumerate	set_label)r   	page_size
cursor_poscursor_visibleroundorientation
candidateslabelstable	candidateindexlabels               r   r   zLookupTable.__new__   s}       $$Y%/%3%*, 	k*# 	.I""9-	.%f- 	*LE5OOE5)	*r   c                      y r   r   r&   rT   r'   s      r   r%   zLookupTable.__init__   rU   r   c                 &    | j                  |       y r   )set_cursor_visible)r&   visibles     r   show_cursorzLookupTable.show_cursor   s    (r   c                 $    | j                          y r   )clear)r&   s    r   cleanzLookupTable.clean   s    

r   N)
r   r   r   r   OrientationSYSTEMr   r%   ro   rr   r   r   r   rX   rX      s9     # ,,33&)r   rX   c            	            e Zd Zdej                  j
                  dddddej                  j                  df	 fd	Z xZ	S )Propertyr-   Tc
                 `   |
j                  d|      }|d k7  r%t        |t        j                        st        |      }|d k7  r%t        |t        j                        st        |      }|	d k7  r%t        |	t        j                        st        |	      }	t	        t
        |   d|||||||||	d	|
 y )N	prop_type)	keyrx   ri   r=   tooltip	sensitivern   staterA   r   )pop
isinstancer   Textr$   rv   r%   )r&   ry   r   ri   r=   rz   r{   rn   r|   rA   r'   rx   r(   s               r   r%   zProperty.__init__   s     JJ{D1	D=E499!=KEd?:gtyy#A7mGT>*VTYY"?&\Fh& 		131:-2,0/61:/6-2.4		1 *0		1r   )
r   r   r   r   PropTypeNORMAL	PropState	UNCHECKEDr%   r.   r/   s   @r   rv   rv      s>     mm**~~//1 1r   rv   c                       e Zd ZddZd Zy)r   Nc                 j    t         j                  j                  |      }||j                  |       |S r   )r   r   new_from_stringset_attributes)r   stringattrstexts       r   r   zText.__new__   s/    yy((0&r   c                      y r   r   rk   s      r   r%   zText.__init__   rU   r   )r-   NrV   r   r   r   r   r      s    r   r   N)gi.repositoryr   	overridesr   importerr   _introspection_moduler   __all__r	   appendr   r1   r*   rH   rQ   rX   rv   r   r   r   r   <module>r      s  . "  
 v,,
G G Y	 { 2 28 Y	 { @T[[ @  
&	 x $3 $3L j!
 | 0dll 0 7
 y T[[  
&	 x $"" @ {# } 1t}} 1> H z 	499 	 ~ v r   