File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ '''Define SearchDialogBase used by Search, Replace, and Grep dialogs.'''
12from tkinter import *
23
34class SearchDialogBase :
5+ '''Create most of a modal search dialog (make_frame, create_widgets).
6+
7+ The wide left column contains:
8+ 1 or 2 text entry lines (create_entries, make_entry);
9+ a row of standard radiobuttons (create_option_buttons);
10+ a row of dialog specific radiobuttons (create_other_buttons).
11+
12+ The narrow right column contains command buttons
13+ (create_command_buttons, make_button).
14+ These are bound to functions that execute the command.
15+
16+ Except for command buttons, this base class is not limited to
17+ items common to all three subclasses. Rather, it is the Find dialog
18+ minus the "Find Next" command and its execution function.
19+ The other dialogs override methods to replace and add widgets.
20+ '''
421
522 title = "Search Dialog"
623 icon = "Search"
You can’t perform that action at this time.
0 commit comments