File: Group_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 (80 lines) | stat: -rw-r--r-- 1,905 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
complete = 1
reviewdate = "15 November 1998"

name = """
    frame with ring border and tag
"""

description = """
    This megawidget consists of an interior frame with an exterior
    ring border and an identifying tag displayed over the top edge of
    the ring.  The programmer can create other widgets within the
    interior frame.

"""

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

text['options']['tagindent'] = """
    The distance from the left edge of the ring to the left side of
    the tag component.

"""

text['options']['collapsedheight'] = """
    The distance from the bottom of the tag to the bottom of the ring
    when the groupchildsite is collapsed.

"""

text['options']['collapsedwidth'] = """
    When the groupchildsite is collapsed, the width of the ring is set to
    the width of the tag plus *collapsedwidth*.

"""

text['components'] = {}

text['components']['ring'] = """
    This component acts as the enclosing ring around the
    *groupchildsite*.  The default *borderwidth* is *2* and the
    default *relief* is *'groove'*.

"""

text['components']['groupchildsite'] = """
    The frame which can contain other widgets to be grouped.

"""

text['components']['tag'] = """
    The identifying tag displayed over the top edge of the enclosing
    ring.  If the pyclass for this component is *None*, (ie: 
    /tag_pyclass = None/, then no tag component is created.

"""

text['methods'] = {}

text['methods']['interior'] = """
    Return the frame within which the programmer may create widgets. 
    This is the same as /component(\\'groupchildsite\\')/.

"""

text['methods']['collapse'] = """
    Do not display the groupchildsite component.

"""

text['methods']['expand'] = """
    Display the groupchildsite component.

"""

text['methods']['toggle'] = """
    Display the groupchildsite component if it is currently hidden and
    hide it if it is currently displayed.

"""