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

Class Click

source code

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

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

Inherited from FocusBase: node

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: Action.__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__