| Server IP : 182.53.201.61 / Your IP : 216.73.217.175 Web Server : Apache/2.2.15 (Fedora) System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686 User : apache ( 48) PHP Version : 5.3.3 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/lib/python2.6/site-packages/pyatspi/ |
Upload File : |
Ñò
1¡ÜJc @ sÞ d Z d d k Z d d k Z d „ Z d „ Z d d k Z d „ Z d „ Z d „ Z d „ Z d „ Z
e d
„ Z d „ Z
d „ Z d
„ Z d „ Z d „ Z d „ Z d e i f d „ ƒ YZ d e f d „ ƒ YZ d S( sj
Utility functions for AT-SPI for querying interfaces, searching the hierarchy,
converting constants to strings, and so forth.
@author: Peter Parente
@organization: IBM Corporation
@copyright: Copyright (c) 2005, 2007 IBM Corporation
@license: LGPL
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the
Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
Portions of this code originally licensed and copyright (c) 2005, 2007
IBM Corporation under the BSD license, available at
U{http://www.opensource.org/licenses/bsd-license.php}
iÿÿÿÿNc C s
| i i S( s4
Gets the ID of an interface class or object in string format for use in
queryInterface.
@param obj: Class representing an AT-SPI interface or instance
@type obj: object
@return: IID for the interface
@rtype: string
@raise AttributeError: When the parameter does not provide typecode info
( t __typecode__t repo_id( t obj( ( s1 /usr/lib/python2.6/site-packages/pyatspi/utils.pyt getInterfaceIID s c C s
| i i S( s*
Gets the human readable name of an interface class or object in string
format.
@param obj: Class representing an AT-SPI interface or instance
@type obj: class
@return: Name of the interface
@rtype: string
@raise AttributeError: When the parameter does not provide typecode info
( R t name( R ( ( s1 /usr/lib/python2.6/site-packages/pyatspi/utils.pyt getInterfaceName- s c C s] t ƒ } xM t i D]B } | i t | ƒ ƒ } | d j o q n | i t | ƒ ƒ q W| S( sÞ
Gets a list of the names of all interfaces supported by this object. The
names are the short-hand interface names like "Accessible" and "Component",
not the full interface identifiers.
@param obj: Arbitrary object to query for all accessibility related
interfaces. Must provide a queryInterface method.
@type obj: object
@return: Set of supported interface names
@rtype: set
@raise AttributeError: If the object provide does not implement
queryInterface
N( t sett constantst ALL_INTERFACESt queryInterfaceR t Nonet addR ( R t namest ict io( ( s1 /usr/lib/python2.6/site-packages/pyatspi/utils.pyt listInterfaces>