Package pyLinAcc :: Module Interfaces
[hide private]
[frames] | no frames]

Module Interfaces

source code

Defines functions that make queryInterface more Pythonic.


Authors:
Peter Parente, Pete Brunet

Organization: IBM Corporation

Copyright: Copyright (c) 2005, 2007 IBM Corporation

License: The BSD License

All rights reserved. This program and the accompanying materials are made available under the terms of the BSD license which accompanies this distribution, and is available at http://www.opensource.org/licenses/bsd-license.php

Functions [hide private]
object
queryInterface(obj, idl)
Queries an object for another interface.
source code
Accessibility.Accessible
IAccessible(obj)
Returns: Object with the Accessible interface or None if not supported
source code
Accessibility.Action
IAction(obj)
Returns: Object with the Action interface
source code
Accessibility.Application
IApplication(obj)
Returns: Object with the Application interface or None if not supported
source code
Accessibility.Collection
ICollection(obj)
Returns: Object with the Collection interface or None if not supported
source code
Accessibility.Component
IComponent(obj)
Returns: Object with the Component interface or None if not supported
source code
Accessibility.Desktop
IDesktop(obj)
Returns: Object with the Desktop interface or None if not supported
source code
Accessibility.Document
IDocument(obj)
Returns: Object with the Document interface or None if not supported
source code
Accessibility.EditableText
IEditableText(obj)
Returns: Object with the EditableText interface or None if not supported
source code
Accessibility.Hyperlink
IHyperlink(obj)
Returns: Object with the Hyperlink interface or None if not supported
source code
Accessibility.Hypertext
IHypertext(obj)
Returns: Object with the Hypertext interface or None if not supported
source code
Accessibility.Image
IImage(obj)
Returns: Object with the Image interface or None if not supported
source code
Accessibility.LoginHelper
ILoginHelper(obj)
Returns: Object with the LoginHelper interface or None if not supported
source code
Accessibility.StreamableContent
IStreamableContent(obj)
Returns: Object with the StreamableContent interface or None if not supported
source code
Accessibility.Table
ITable(obj)
Returns: Object with the Table interface or None if not supported
source code
Accessibility.Text
IText(obj)
Returns: Object with the Text interface or None if not supported
source code
Accessibility.Value
IValue(obj)
Returns: Object with the Value interface or None if not supported
source code
Accessibility.Selection
ISelection(obj)
Returns: Object with the Selection interface or None if not supported
source code
Function Details [hide private]

queryInterface(obj, idl)

source code 

Queries an object for another interface.

Parameters:
  • obj (object) - Object to query for another interface
  • idl (string) - Desired interface identifier
Returns: object
An object with the desired interface
Raises:
  • NotImplementedError - When the desired interface is not supported

IAccessible(obj)

source code 
Returns: Accessibility.Accessible
Object with the Accessible interface or None if not supported

IAction(obj)

source code 
Returns: Accessibility.Action
Object with the Action interface

IApplication(obj)

source code 
Returns: Accessibility.Application
Object with the Application interface or None if not supported

ICollection(obj)

source code 
Returns: Accessibility.Collection
Object with the Collection interface or None if not supported

IComponent(obj)

source code 
Returns: Accessibility.Component
Object with the Component interface or None if not supported

IDesktop(obj)

source code 
Returns: Accessibility.Desktop
Object with the Desktop interface or None if not supported

IDocument(obj)

source code 
Returns: Accessibility.Document
Object with the Document interface or None if not supported

IEditableText(obj)

source code 
Returns: Accessibility.EditableText
Object with the EditableText interface or None if not supported

IHyperlink(obj)

source code 
Returns: Accessibility.Hyperlink
Object with the Hyperlink interface or None if not supported

IHypertext(obj)

source code 
Returns: Accessibility.Hypertext
Object with the Hypertext interface or None if not supported

IImage(obj)

source code 
Returns: Accessibility.Image
Object with the Image interface or None if not supported

ILoginHelper(obj)

source code 
Returns: Accessibility.LoginHelper
Object with the LoginHelper interface or None if not supported

IStreamableContent(obj)

source code 
Returns: Accessibility.StreamableContent
Object with the StreamableContent interface or None if not supported

ITable(obj)

source code 
Returns: Accessibility.Table
Object with the Table interface or None if not supported

IText(obj)

source code 
Returns: Accessibility.Text
Object with the Text interface or None if not supported

IValue(obj)

source code 
Returns: Accessibility.Value
Object with the Value interface or None if not supported

ISelection(obj)

source code 
Returns: Accessibility.Selection
Object with the Selection interface or None if not supported