コード例 #1
0
ファイル: grep.py プロジェクト: 1st1/cpython
    def __init__(self, root, engine, flist):
        """Create search dialog for searching for a phrase in the file system.

        Uses SearchDialogBase as the basis for the GUI and a
        searchengine instance to prepare the search.

        Attributes:
            globvar: Value of Text Entry widget for path to search.
            recvar: Boolean value of Checkbutton widget
                    for traversing through subdirectories.
        """
        SearchDialogBase.__init__(self, root, engine)
        self.flist = flist
        self.globvar = StringVar(root)
        self.recvar = BooleanVar(root)
コード例 #2
0
    def __init__(self, root, engine, flist):
        """Create search dialog for searching for a phrase in the file system.

        Uses SearchDialogBase as the basis for the GUI and a
        searchengine instance to prepare the search.

        Attributes:
            globvar: Value of Text Entry widget for path to search.
            recvar: Boolean value of Checkbutton widget
                    for traversing through subdirectories.
        """
        SearchDialogBase.__init__(self, root, engine)
        self.flist = flist
        self.globvar = StringVar(root)
        self.recvar = BooleanVar(root)
コード例 #3
0
 def __init__(self, root, engine, flist):
     SearchDialogBase.__init__(self, root, engine)
     self.flist = flist
     self.globvar = StringVar(root)
     self.recvar = BooleanVar(root)
コード例 #4
0
ファイル: replace.py プロジェクト: Darkness0ut/cpython
 def __init__(self, root, engine):
     SearchDialogBase.__init__(self, root, engine)
     self.replvar = StringVar(root)
コード例 #5
0
ファイル: replace.py プロジェクト: iflat/idlecn
 def __init__(self, root, engine):
     SearchDialogBase.__init__(self, root, engine)
     self.replvar = StringVar(root)
コード例 #6
0
ファイル: grep.py プロジェクト: JSMSC/cpython
 def __init__(self, root, engine, flist):
     SearchDialogBase.__init__(self, root, engine)
     self.flist = flist
     self.globvar = StringVar(root)
     self.recvar = BooleanVar(root)