Module SearchChooser :: Class SearchChooser
[hide private]
[frames] | no frames]

Class SearchChooser

source code

                                  object --+        
                                           |        
AccessEngine.AEUserInterface.AEUserInterface --+    
                                               |    
                AccessEngine.AEChooser.AEChooser --+
                                                   |
                                                  SearchChooser

Dialog for searching current view for given accessible.

Instance Methods [hide private]
 
init(self, app_name, timestamp, **kwargs)
Creates and shows the chooser dialog and its components.
source code
 
_onSearchChange(self, widget)
Callback for search text entry.
source code
 
_onMatchClicked(self, widget)
Callback for 'match' checkbox.
source code
 
_onWrapClicked(self, widget)
Callback for 'wrap' checkbox.
source code
 
_onClose(self, widget)
Notify the AccessEngine.AEScript that the dialog is closing and destroy it.
source code
 
close(self)
Closes the chooser, preventing further chooser interaction with the user.
source code
string
getName(self)
Gets the name of the chooser.
source code
string
getQuery(self)
Gets the search query.
source code
boolean
isWrapSet(self)
Should the search wrap to the top (or bottom) of the accessible tree ?
source code
boolean
isMatchCaseSet(self)
Should the search be case sensitive ?
source code

Inherited from AccessEngine.AEChooser.AEChooser: __call__, __init__, activate, update

Inherited from AccessEngine.AEUserInterface.AEUserInterface: getClassName, getDescription, getPath

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

Class Variables [hide private]
  START = 10
  ALLOW_MULTI_APPS = True

Inherited from AccessEngine.AEChooser.AEChooser: APPLY, APP_SINGLETON, CANCEL, GLOBAL_SINGLETON, OK

Instance Variables [hide private]
gtk.Dialog dialog
Dialog widget for choosing AccessEngine.AEScripts
boolean matchcase
Make search case sensitive
string query
Search query
boolean wrap
Make search wrap around

Inherited from AccessEngine.AEChooser.AEChooser: aid, block_signals

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

init(self, app_name, timestamp, **kwargs)

source code 
Creates and shows the chooser dialog and its components.
Parameters:
  • app_name (string) - Name of application for current AETier
  • timestamp (float) - Time at which input was given indicating the start of this chooser
Overrides: AccessEngine.AEChooser.AEChooser.init

_onSearchChange(self, widget)

source code 
Callback for search text entry. Updates query.
Parameters:
  • widget (gtk.Widget) - source of GUI event

_onMatchClicked(self, widget)

source code 
Callback for 'match' checkbox. Sets instance variable according to checkbox state.
Parameters:
  • widget (gtk.Widget) - source of GUI event

_onWrapClicked(self, widget)

source code 
Callback for 'wrap' checkbox. Sets instance variable according to checkbox state.
Parameters:
  • widget (gtk.Widget) - source of GUI event

_onClose(self, widget)

source code 
Notify the AccessEngine.AEScript that the dialog is closing and destroy it.
Parameters:
  • widget (gtk.Widget) - Source of GUI event

close(self)

source code 
Closes the chooser, preventing further chooser interaction with the user.
Overrides: AccessEngine.AEChooser.AEChooser.close

getName(self)

source code 
Gets the name of the chooser.
Returns: string
Human readable name of the chooser
Overrides: AccessEngine.AEUserInterface.AEUserInterface.getName

getQuery(self)

source code 
Gets the search query.
Returns: string
Search query

isWrapSet(self)

source code 
Should the search wrap to the top (or bottom) of the accessible tree ?
Returns: boolean
Is search wrap set?

isMatchCaseSet(self)

source code 
Should the search be case sensitive ?
Returns: boolean
Is match case set?