~ubuntu-branches/ubuntu/utopic/dogtail/utopic

« back to all changes in this revision

Viewing changes to examples/test-events.py

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2006-12-21 13:33:47 UTC
  • mfrom: (1.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 5.
  • Revision ID: james.westby@ubuntu.com-20061221133347-xo9jg11afp5plcka
Tags: upstream-0.6.1
ImportĀ upstreamĀ versionĀ 0.6.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
# Test of event callbacks
9
9
# Under construction
10
10
 
11
 
def callback(event): 
 
11
def callback(event):
12
12
    source = event.source
13
13
    if isinstance(source, atspi.Accessible):
14
14
        sourceStr = " source:%s"%(str(dogtail.tree.Node(source)))