Mini Shell
3
���X � @ s, d dl mZ d dlT dgZG dd� d�ZdS )� )�Atspi)�*�Applicationc @ sh e Zd ZdZdd� Zdd� Zdd� ZdZeeed �Z d
d� Z
dZee
ed �Zd
d� Z
dZee
ed �ZdS )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 �!/usr/lib/python3.6/application.py�__init__! s zApplication.__init__c C s t d� dS )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 Zlocale_typer r r � getLocale$ s zApplication.getLocalec C s
| j j� S )N)r �get_id)r r r r r 0 s zApplication.get_idzc
The application instance's unique ID as assigned by the registry.
)�fget�docc C s
| j j� S )N)r Zget_toolkit_name)r r r r �get_toolkitName8 s zApplication.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 zApplication.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_toolkitNameDocZtoolkitNamer Z_versionDoc�versionr r r r r s N)Z
gi.repositoryr Z
pyatspi.utils�__all__r r r r r �<module> s