Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c5507c0

Browse files
committed
Issue #18592: Add docstrings to file being tested (idlelib.SearchDialogBase.py).
1 parent 958dbb9 commit c5507c0

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

Lib/idlelib/SearchDialogBase.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,23 @@
1+
'''Define SearchDialogBase used by Search, Replace, and Grep dialogs.'''
12
from tkinter import *
23

34
class 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"

0 commit comments

Comments
 (0)