Package dogtail :: Module procedural :: Class Click
[hide private]
[frames] | no frames]

Class Click

source code

object --+            
         |            
 FocusBase --+        
             |        
   FocusWidget --+    
                 |    
            Action --+
                     |
                    Click

A special case of Action, Click will eventually handle raw mouse events.

Instance Methods [hide private]
 
__init__(self)
action is a string with the same name as the AT-SPI action you wish to execute using this class.
source code
 
__call__(self, name='', roleName='', description='', raw=True, button=1, delay=1.0)
By default, execute a raw mouse event.
source code

Inherited from Action: __getattr__, __setattr__, button, menu, menuItem, table, tableCell, text

Inherited from FocusWidget: findByPredicate

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  primary = 1
  middle = 2
  secondary = 3

Inherited from FocusBase: node

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

action is a string with the same name as the AT-SPI action you wish to execute using this class.

Overrides: object.__init__
(inherited documentation)

__call__(self, name='', roleName='', description='', raw=True, button=1, delay=1.0)
(Call operator)

source code 

By default, execute a raw mouse event. If raw is False or if button evaluates to False, just pass the rest of the arguments to Action.

Overrides: FocusWidget.__call__