Package dogtail :: Module tree :: Class Wizard
[hide private]
[frames] | no frames]

Class Wizard

source code

object --+        
         |        
      Node --+    
             |    
        Window --+
                 |
                Wizard

Note that the buttons of a GnomeDruid were not accessible until recent versions of libgnomeui. This is http://bugzilla.gnome.org/show_bug.cgi?id=157936 and is fixed in gnome-2.10 and gnome-2.12 (in CVS libgnomeui); there's a patch attached to that bug.

This bug is known to affect FC3; fixed in FC5

Instance Methods [hide private]
 
__init__(self, node, debugName=None)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
currentPage(self)
Get the current page of this wizard
source code
 
getPageTitle(self)
Get the string title of the current page of this wizard
source code
 
clickForward(self)
Click on the 'Forward' button to advance to next page of wizard.
source code
 
clickApply(self)
Click on the 'Apply' button to advance to next page of wizard.
source code

Inherited from Window: activate, getWnckWindow

Inherited from Node: blink, button, child, childLabelled, childNamed, click, contains, deselect, deselectAll, doActionNamed, doubleClick, dump, findAncestor, findChild, findChildren, getAbsoluteSearchPath, getChildAtPoint, getLogString, getRelativeSearch, getUserVisibleStrings, grabFocus, isChild, keyCombo, menu, menuItem, point, satisfies, select, selectAll, tab, textentry, typeText

Inherited from Node (private): _fastFindChild

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

Properties [hide private]

Inherited from Node: URI, actions, caretOffset, checked, children, combovalue, dead, debugName, extents, focusable, focused, indexInParent, isChecked, isSelected, labelee, labeler, labellee, labeller, maxValue, minValue, minValueIncrement, position, role, roleName, selected, selectedChildren, sensitive, showing, size, text, value

Inherited from object: __class__

Method Details [hide private]

__init__(self, node, debugName=None)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

currentPage(self)

source code 

Get the current page of this wizard

FIXME: this is currently a hack, supporting only GnomeDruid

getPageTitle(self)

source code 

Get the string title of the current page of this wizard

FIXME: this is currently a total hack, supporting only GnomeDruid

clickForward(self)

source code 

Click on the 'Forward' button to advance to next page of wizard.

It will log the title of the new page that is reached.

FIXME: what if it's Next rather than Forward ???

This will only work if your libgnomeui has accessible buttons; see above.

clickApply(self)

source code 

Click on the 'Apply' button to advance to next page of wizard. FIXME: what if it's Finish rather than Apply ???

This will only work if your libgnomeui has accessible buttons; see above.