3
WY                 @   s,   d dl mZ d dlT dgZG dd dZdS )    )Atspi)*Applicationc               @   sh   e Zd ZdZdd Zdd Zdd ZdZeeed	Z	d
d Z
dZee
ed	Zdd ZdZeeed	ZdS )r   z
        An interface identifying an object which is the root of the user
        interface Accessible hierarchy associated with a running application.
        Children of Application are typically, but not exclusively, top-level
        windows.
        c             C   s
   || _ d S )N)obj)selfr    r   5/usr/lib/python3/dist-packages/pyatspi/application.py__init__!   s    zApplication.__init__c             C   s   t d dS )a  
                Gets the locale in which the application is currently operating.
                For the current message locale, use lctype LOCALE_TYPE_MESSAGES.
                @param : lctype
                The LocaleType for which the locale is queried. 
                @return a string compliant with the POSIX standard for locale
                description.
                z pyatspi: getLocale unimplementedN)print)r   Zlocale_typer   r   r   	getLocale$   s    	zApplication.getLocalec             C   s
   | j j S )N)r   get_id)r   r   r   r   r   0   s    zApplication.get_idzc
                The application instance's unique ID as assigned by the registry.
                )fgetdocc             C   s
   | j j S )N)r   Zget_toolkit_name)r   r   r   r   get_toolkitName8   s    zApplication.get_toolkitNamez
                A string indicating the type of user interface toolkit which
                is used by the application.
                c             C   s
   | j j S )N)r   get_version)r   r   r   r   r   A   s    zApplication.get_versionz
                A string indicating the version number of the application's accessibility
                bridge implementation.
                N)__name__
__module____qualname____doc__r	   r   r   Z_idDocpropertyidr   Z_toolkitNameDocZtoolkitNamer   Z_versionDocversionr   r   r   r   r      s   N)Zgi.repositoryr   Zpyatspi.utils__all__r   r   r   r   r   <module>   s   