;ò
›ˆeBc @ s’ d k Z d e i f d „ ƒ YZ d „ Z d Z e d j oP d k Z d k Z d k Z e i d e i
i e i d ƒ g e i d ƒ n d S( Ns TestPanelc B sG t Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z RS( Nc C s t i i | | d ƒ | | _ t i | d d d d f ƒ | _ | i t i | i
| i ƒ t i | d d d d f ƒ | _ | i t i | i | i ƒ | i t i
| i ƒ | i t i | i ƒ | i t i | i ƒ | i t i | i ƒ | i t i | i ƒ d S( Niÿÿÿÿs Show Find Dialogi i2 s Show Find && Replace DialogiZ ( s wxs Panels __init__s selfs parents logs Buttons fbtns Binds
EVT_BUTTONs
OnShowFinds frbtns OnShowFindReplaces EVT_FINDs OnFinds
EVT_FIND_NEXTs EVT_FIND_REPLACEs EVT_FIND_REPLACE_ALLs EVT_FIND_CLOSEs OnFindClose( s selfs parents log( ( sq /mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/FindReplaceDialog.pys __init__ s !!c C s | i i ƒ | i i ƒ d S( N( s selfs fbtns Enables frbtn( s self( ( sq /mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/FindReplaceDialog.pys
EnableButtons s
c C s | i i ƒ | i i ƒ d S( N( s selfs fbtns Disables frbtn( s self( ( sq /mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/FindReplaceDialog.pys DisableButtons# s
c C sE | i ƒ t i ƒ } t i | | d ƒ } | | _ | i t ƒ d S( Ns Find( s selfs DisableButtonss wxs FindReplaceDatas datas FindReplaceDialogs dlgs Shows True( s selfs evts dlgs data( ( sq /mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/FindReplaceDialog.pys
OnShowFind' s
c C sK | i ƒ t i ƒ } t i | | d t i ƒ } | | _ | i t ƒ d S( Ns Find & Replace(
s selfs DisableButtonss wxs FindReplaceDatas datas FindReplaceDialogs FR_REPLACEDIALOGs dlgs Shows True( s selfs evts dlgs data( ( sq /mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/FindReplaceDialog.pys OnShowFindReplace/ s
c C sÆ h t i d <t i d <t i d <t i d <} | i ƒ } | | j o | | } n d } | t i t i g j o d | i
ƒ } n d } | i
i d | | i ƒ | | i ƒ f ƒ d S( Ns FINDs FIND_NEXTs REPLACEs REPLACE_ALLs **Unknown Event Type**s Replace text: %ss s4 %s -- Find text: %s Replace text: %s Flags: %d
( s wxs wxEVT_COMMAND_FINDs wxEVT_COMMAND_FIND_NEXTs wxEVT_COMMAND_FIND_REPLACEs wxEVT_COMMAND_FIND_REPLACE_ALLs maps evts GetEventTypes ets evtTypes GetReplaceStrings
replaceTxts selfs logs writes
GetFindStrings GetFlags( s selfs evts evtTypes maps ets
replaceTxt( ( sq /mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/FindReplaceDialog.pys OnFind7 s 6
c C s. | i i d ƒ | i ƒ i ƒ | i ƒ d S( Ns FindReplaceDialog closing...
( s selfs logs writes evts GetDialogs Destroys
EnableButtons( s selfs evt( ( sq /mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/FindReplaceDialog.pys OnFindCloseO s ( s __name__s
__module__s __init__s
EnableButtonss DisableButtonss
OnShowFinds OnShowFindReplaces OnFinds OnFindClose( ( ( sq /mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/FindReplaceDialog.pys TestPanel s c C s t | | ƒ } | Sd S( N( s TestPanels nbs logs win( s frames nbs logs win( ( sq /mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/FindReplaceDialog.pys runTestW s s÷ FindReplaceDialog is a standard modeless dialog which is used to allow the user
to search for some text (and possibly replace it with something else). The actual
searching is supposed to be done in the owner window which is the parent of this
dialog. Note that it means that unlike for the other standard dialogs this one
must have a parent window. Also note that there is no way to use this
dialog in a modal way; it is always, by design and implementation, modeless.
FileReplaceDialog requires the use of FindReplaceData. This holds the
data for the dialog. It is used to initialize the dialog with the default values
and will keep the last values from the dialog when it is closed. It is also
updated each time a FindDialogEvent is generated so instead of using the
FindDialogEvent methods you can also directly query this object. Care must be
taken not to use this object after the dialog is destroyed. The data within
will be invalid after the parent dialog is destroyed.
s __main__s i i (
s wxs Panels TestPanels runTests overviews __name__s syss oss runs mains paths basenames argv( s syss runs overviews runTests wxs oss TestPanel( ( sq /mnt/gmirror/ports/x11-toolkits/py-wxPython26-common/work/wxPython-src-2.6.3.3/wxPython/demo/FindReplaceDialog.pys ?
s I