Package NVDAObjects :: Module behaviors :: Class Dialog
[hide private]
[frames] | no frames]

Class Dialog

source code

                   object --+            
                            |            
baseObject.AutoPropertyObject --+        
                                |        
      baseObject.ScriptableObject --+    
                                    |    
                           NVDAObject --+
                                        |
                                       Dialog

Overrides the description property to obtain dialog text.

Nested Classes [hide private]

Inherited from NVDAObject: TextInfo, __metaclass__

Instance Methods [hide private]
basestring
_get_description(self)
The description or help text of this object.
source code

Inherited from NVDAObject: __eq__, __init__, __ne__, doAction, event_becomeNavigatorObject, event_caret, event_descriptionChange, event_focusEntered, event_foreground, event_gainFocus, event_mouseMove, event_nameChange, event_stateChange, event_typedCharacter, event_valueChange, findOverlayClasses, getActionName, makeTextInfo, reportFocus, scrollIntoView, setFocus

Inherited from baseObject.ScriptableObject: bindGesture, bindGestures, clearGestureBindings, getScript

Inherited from baseObject.AutoPropertyObject: invalidateCache

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

Class Methods [hide private]
 
getDialogText(cls, obj)
This classmethod walks through the children of the given object, and collects up and returns any text that seems to be part of a dialog's message text.
source code

Inherited from NVDAObject: findBestAPIClass, getPossibleAPIClasses, kwargsFromSuper

Inherited from baseObject.AutoPropertyObject: invalidateCaches

Static Methods [hide private]

Inherited from NVDAObject: objectFromPoint, objectInForeground, objectWithFocus

Class Variables [hide private]
  value = None
hash(x)

Inherited from NVDAObject: beTransparentToMouse, cachePropertiesByDefault, presType_content, presType_layout, presType_unavailable, tableCellCoordsInName

Instance Variables [hide private]

Inherited from NVDAObject: textRepresentationLineLength

Inherited from NVDAObject (private): _mouseEntered

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

getDialogText(cls, obj)
Class Method

source code 

This classmethod walks through the children of the given object, and collects up and returns any text that seems to be part of a dialog's message text.

Parameters:
  • obj (IAccessible) - the object who's children you want to collect the text from

_get_description(self)

source code 

The description or help text of this object.

Returns: basestring
Overrides: NVDAObject._get_description
(inherited documentation)