%PDF- %PDF-
Direktori : /lib/python3/dist-packages/orca/__pycache__/ |
Current File : //lib/python3/dist-packages/orca/__pycache__/ax_utilities_state.cpython-312.pyc |
� g f+ � � � d Z dZdZdZdZdZddlZ ej dd � dd lm Z ddl mZ dd lm Z G d� d� Zy)a� Utilities for obtaining state-related information. These utilities are app-type- and toolkit-agnostic. Utilities that might have different implementations or results depending on the type of app (e.g. terminal, chat, web) or toolkit (e.g. Qt, Gtk) should be in script_utilities.py file(s). N.B. There are currently utilities that should never have custom implementations that live in script_utilities.py files. These will be moved over time. z$Id$z $Revision$z$Date$zCopyright (c) 2023 Igalia, S.L.�LGPL� N�Atspiz2.0)r � )�debug)�AXObjectc �� � e Zd ZdZed� � Zed� � Zed� � Zed� � Zed� � Z ed� � Z ed� � Zed � � Zed � � Z ed� � Zed� � Zed � � Zed� � Zed� � Zed� � Zed� � Zed� � Zed� � Zed� � Zed� � Zed� � Zed� � Zed� � Zed� � Zed� � Zed� � Zed� � Zed� � Z ed� � Z!ed� � Z"ed � � Z#ed!� � Z$ed"� � Z%ed#� � Z&ed$� � Z'ed%� � Z(ed&� � Z)ed'� � Z*ed(� � Z+ed)� � Z,ed*� � Z-ed+� � Z.ed,� � Z/ed-� � Z0ed.� � Z1y/)0�AXUtilitiesStatez2Utilities for obtaining state-related information.c �H � t j | � j � S )z*Returns true if obj has an empty state set)r � get_state_set�is_empty��objs �9/usr/lib/python3/dist-packages/orca/ax_utilities_state.py�has_no_statezAXUtilitiesState.has_no_state0 s � � �%�%�c�*�3�3�5�5� c �^ � t j | t j j � S )z+Returns true if obj has the has-popup state)r � has_stater � StateType� HAS_POPUPr s r � has_popupzAXUtilitiesState.has_popup6 �! � � �!�!�#�u���'@�'@�A�Ar c �^ � t j | t j j � S )z-Returns true if obj has the has-tooltip state)r r r r �HAS_TOOLTIPr s r �has_tooltipzAXUtilitiesState.has_tooltip<