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

Class Focus

source code

object --+    
         |    
 FocusBase --+
             |
            Focus

The container class for the focused application, dialog and widget.

Instance Methods [hide private]
 
__getattr__(self, name) source code
 
__setattr__(self, name, value)
x.__setattr__('name', value) <==> x.name = value
source code
 
button(self, name)
A shortcut to self.widget.findByPredicate(predicate.IsAButtonNamed(name))
source code
 
icon(self, name)
A shortcut to self.widget(name, roleName = 'icon')
source code
 
menu(self, name)
A shortcut to self.widget.findByPredicate(predicate.IsAMenuNamed(name))
source code
 
menuItem(self, name)
A shortcut to self.widget.findByPredicate(predicate.IsAMenuItemNamed(name))
source code
 
table(self, name='')
A shortcut to self.widget(name, roleName 'table')
source code
 
tableCell(self, name='')
A shortcut to self.widget(name, roleName 'table cell')
source code
 
text(self, name='')
A shortcut to self.widget.findByPredicate(IsATextEntryNamed(name))
source code

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

Class Variables [hide private]
  desktop = <Accessible object at 0x2d5b820 (AtspiAccessible at ...
  application = FocusApplication()
  app = FocusApplication()
  dialog = FocusDialog()
  window = FocusWindow()
  frame = FocusWindow()
  widget = FocusWidget()

Inherited from FocusBase: node

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__getattr__(self, name)
(Qualification operator)

source code 
Overrides: FocusBase.__getattr__

__setattr__(self, name, value)

source code 

x.__setattr__('name', value) <==> x.name = value

Overrides: object.__setattr__
(inherited documentation)

Class Variable Details [hide private]

desktop

Value:
<Accessible object at 0x2d5b820 (AtspiAccessible at 0x2dc4dd0)>