File: TextDialog_text.py

package info (click to toggle)
python-pmw 2.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 4,968 kB
  • sloc: python: 42,737; makefile: 4
file content (42 lines) | stat: -rw-r--r-- 914 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
complete = 1
reviewdate = "18 May 2002"

name = """
    a dialog displaying a scrolled text
"""

description = """
    A text dialog is a dialog window which displays a text message to
    the user along with one or more buttons to press.

"""

text = {}
text['options'] = {}

text['options']['borderx'] = """
    The padding to the left and right of the scrolled text.

"""

text['options']['bordery'] = """
    The padding above and below the scrolled text.

"""

text['components'] = {}

text['components']['scrolledtext'] = """
    The scrolled text to contain the text for the dialog.

"""

text['methods'] = {}

text['methods']['bbox'] = """
    This method is explicitly forwarded to the *text* component's
    /bbox()/ method.  Without this explicit forwarding, the /bbox()/
    method (aliased to /grid_bbox()/) of the *hull* would be invoked,
    which is probably not what the programmer intended.

"""