| Server IP : 182.53.201.61 / Your IP : 216.73.217.175 Web Server : Apache/2.2.15 (Fedora) System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686 User : apache ( 48) PHP Version : 5.3.3 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/lib/python2.6/site-packages/orca/ |
Upload File : |
Ñò
z#ÝJc
@ sí d Z d Z d Z d Z d Z d Z d d k Z d d k Z d d k Z d d k Z d d k
Z
d d k Z d d k Z d d k
Z
d d k Z d d k l Z d a d e i f d
„ ƒ YZ d „ Z d „ Z e d
j o e ƒ n d S( s' Displays a GUI for the Orca Find windows $Id$s
$Revision$s $Date$s- Copyright (c) 2005-2009 Sun Microsystems Inc.t LGPLiÿÿÿÿN( t _t OrcaFindGUIc B st e Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z
d „ Z d
„ Z d „ Z
RS( c C sY t i i | | | ƒ d | _ d | _ d | _ d | _ d | _ d | _ d | _
d S( sÁ Initialize the Orca configuration GUI.
Arguments:
- fileName: name of the GtkBuilder file.
- windowName: name of the component to get from the GtkBuilder file.
N( t orca_gtkbuildert GtkBuilderWrappert __init__t Nonet activeScriptt
caseSensitivet matchEntireWordt searchBackwardst searchStringt
startAtTopt
windowWrap( t selft fileNamet
windowName( ( s6 /usr/lib/python2.6/site-packages/orca/orca_gui_find.pyR - s c C sF d | _ t | _ t | _ t | _ t | _ t | _ t i | _ d S( Nt (
R t FalseR
R R t TrueR
R t
orca_stateR ( R ( ( s6 /usr/lib/python2.6/site-packages/orca/orca_gui_find.pyt initA s c
C sj | i d ƒ } yD | i ƒ t i } | d j o t i ƒ } n | i i | ƒ Wn# t j
o t i
t i ƒ n X| i ƒ yÙ | i d ƒ } | i
t i i ƒ | i d t | i ƒ ƒ ƒ t i i o | i d ƒ i t ƒ n | i d ƒ i t i i ƒ | i d ƒ i t i i ƒ | i d ƒ i t i i ƒ | i d ƒ i t i i ƒ Wn n Xd S(
s_ Show the Orca Find dialog. This assumes that the GUI has
already been created.
t
findDialogi t searchForEntryt topRadioButtont matchCaseCheckboxt matchEntireWordCheckboxt wrapAroundCheckboxt searchBackwardsCheckboxN( t
get_widgett realizeR t lastInputEventTimestampt gtkt get_current_event_timet windowt
set_user_timet AttributeErrort debugt printExceptiont LEVEL_FINESTt showt set_textt searchQueryR t
select_regiont lent get_textR t
set_activeR R R R
R
( R R t tsR ( ( s6 /usr/lib/python2.6/site-packages/orca/orca_gui_find.pyt showGUIL s4
c C sV | i ƒ | _ | i d ƒ } t | i ƒ d j o | i t ƒ n | i t ƒ d S( sñ Signal handler for the "changed" signal for the
searchForEntry GtkEntry widget. The user has changed
the string to be searched for.
Arguments:
- widget: the component that generated the signal.
t
findButtoni N( R- R R R, t
set_sensitiveR R ( R t widgetR1 ( ( s6 /usr/lib/python2.6/site-packages/orca/orca_gui_find.pyt searchForEntryChangedy s
c C sD | i ƒ o3 | i ƒ t d ƒ j o
t | _ q@ t | _ n d S( s Signal handler for the "toggled" signal for the
currentLocationRadioButton or topRadioButton GtkRadioButton
widgets. The user has toggled the starting point for the search.
Arguments:
- widget: the component that generated the signal.
s C_urrent locationN( t
get_activet get_labelR R R R ( R R3 ( ( s6 /usr/lib/python2.6/site-packages/orca/orca_gui_find.pyt startingPointChanged‰ s
c C s | i ƒ | _ d S( sú Signal handler for the "toggled" signal for the
matchCaseCheckbox GtkCheckButton widget. The user has
[un]checked the "Match Case" checkbox.
Arguments:
- widget: the component that generated the signal.
N( R5 R ( R R3 ( ( s6 /usr/lib/python2.6/site-packages/orca/orca_gui_find.pyt matchCaseChecked˜ s c C s | i ƒ | _ d S( s Signal handler for the "toggled" signal for the
matchEntireWordCheckbox GtkCheckButton widget.
The user has [un]checked the "Match entire word"
checkbox.
Arguments:
- widget: the component that generated the signal.
N( R5 R ( R R3 ( ( s6 /usr/lib/python2.6/site-packages/orca/orca_gui_find.pyt matchEntireWordChecked£ s
c C s | i ƒ | _ d S( s Signal handler for the "toggled" signal for the
searchBackwardsCheckbox GtkCheckButton widget.
The user has [un]checked the "Search backwards"
checkbox.
Arguments:
- widget: the component that generated the signal.
N( R5 R
( R R3 ( ( s6 /usr/lib/python2.6/site-packages/orca/orca_gui_find.pyt searchBackwardsChecked¯ s
c C s | i ƒ | _ d S( sü Signal handler for the "toggled" signal for the
wrapAroundCheckbox GtkCheckButton widget. The user has
[un]checked the "Wrap around" checkbox.
Arguments:
- widget: the component that generated the signal.
N( R5 R
( R R3 ( ( s6 /usr/lib/python2.6/site-packages/orca/orca_gui_find.pyt wrapAroundChecked» s c C s | i d ƒ i ƒ d S( sõ Signal handler for the "clicked" signal for the cancelButton
GtkButton widget. The user has clicked the Cancel button.
Hide the dialog.
Arguments:
- widget: the component that generated the signal.
R N( R t hide( R R3 ( ( s6 /usr/lib/python2.6/site-packages/orca/orca_gui_find.pyt closeButtonClickedÆ s c C sŒ t i ƒ t _ | i t i _ | i t i _ | i t i _ | i t i _ | i t i _ | i t i _ t
| i _ | i
d ƒ i ƒ d S( s Signal handler for the "clicked" signal for the findButton
GtkButton widget. The user has clicked the Find button.
Call the method to begin the search.
Arguments:
- widget: the component that generated the signal.
R N( t findt SearchQueryR R* R R
R R R R
R R t findCommandRunR t destroy( R R3 ( ( s6 /usr/lib/python2.6/site-packages/orca/orca_gui_find.pyt findButtonClickedÑ s c C s
d a d S( sà Signal handler for the "destroyed" signal for the findDialog
GtkWindow widget. Reset OS to None.
Arguments:
- widget: the component that generated the signal.
N( R t OS( R R3 ( ( s6 /usr/lib/python2.6/site-packages/orca/orca_gui_find.pyt findDialogDestroyedé s
( t __name__t
__module__R R R0 R4 R7 R8 R9 R: R; R= RB RD ( ( ( s6 /usr/lib/python2.6/site-packages/orca/orca_gui_find.pyR + s - c C sY t pD t i i t i t i t i d d ƒ } t | d ƒ a t i ƒ n t i
ƒ d S( Nt uis orca-find.uiR ( RC t ost patht joint platformt prefixt datadirnamet packageR R R0 ( t uiFile( ( s6 /usr/lib/python2.6/site-packages/orca/orca_gui_find.pyt
showFindUIõ s c C s5 t i t i d ƒ t ƒ t i ƒ t i d ƒ d S( NR i ( t localet setlocalet LC_ALLRP R t maint syst exit( ( ( s6 /usr/lib/python2.6/site-packages/orca/orca_gui_find.pyRT s
t __main__( t __doc__t __id__t __version__t __date__t
__copyright__t __license__RH RU R% R RQ R>