eric6/Documentation/Source/eric6.Graphics.GraphicsUtilities.html

branch
maintenance
changeset 6989
8b8cadf8d7e9
parent 6942
2602857055c5
child 7273
391d6b7b1eff
equal deleted inserted replaced
6938:7926553b7509 6989:8b8cadf8d7e9
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.Graphics.GraphicsUtilities</title>
4 <meta charset="UTF-8">
5 <style>
6 body {
7 background: #EDECE6;
8 margin: 0em 1em 10em 1em;
9 color: black;
10 }
11
12 h1 { color: white; background: #85774A; }
13 h2 { color: white; background: #85774A; }
14 h3 { color: white; background: #9D936E; }
15 h4 { color: white; background: #9D936E; }
16
17 a { color: #BA6D36; }
18
19 </style>
20 </head>
21 <body><a NAME="top" ID="top"></a>
22 <h1>eric6.Graphics.GraphicsUtilities</h1>
23 <p>
24 Module implementing some graphical utility functions.
25 </p>
26 <h3>Global Attributes</h3>
27 <table>
28 <tr><td>None</td></tr>
29 </table>
30 <h3>Classes</h3>
31 <table>
32 <tr>
33 <td><a href="#RecursionError">RecursionError</a></td>
34 <td>Unable to calculate result because of recursive structure.</td>
35 </tr>
36 </table>
37 <h3>Functions</h3>
38 <table>
39 <tr>
40 <td><a href="#_buildChildrenLists">_buildChildrenLists</a></td>
41 <td>Function to build up parent - child relationships.</td>
42 </tr><tr>
43 <td><a href="#sort">sort</a></td>
44 <td>Function to sort widgets topographically.</td>
45 </tr>
46 </table>
47 <hr /><hr />
48 <a NAME="RecursionError" ID="RecursionError"></a>
49 <h2>RecursionError</h2>
50 <p>
51 Unable to calculate result because of recursive structure.
52 </p>
53 <h3>Derived from</h3>
54 OverflowError, ValueError
55 <h3>Class Attributes</h3>
56 <table>
57 <tr><td>None</td></tr>
58 </table>
59 <h3>Class Methods</h3>
60 <table>
61 <tr><td>None</td></tr>
62 </table>
63 <h3>Methods</h3>
64 <table>
65 <tr><td>None</td></tr>
66 </table>
67 <h3>Static Methods</h3>
68 <table>
69 <tr><td>None</td></tr>
70 </table>
71
72 <div align="right"><a href="#top">Up</a></div>
73 <hr /><hr />
74 <a NAME="_buildChildrenLists" ID="_buildChildrenLists"></a>
75 <h2>_buildChildrenLists</h2>
76 <b>_buildChildrenLists</b>(<i>routes</i>)
77 <p>
78 Function to build up parent - child relationships.
79 </p><p>
80 Taken from Boa Constructor.
81 </p><dl>
82 <dt><i>routes</i></dt>
83 <dd>
84 list of routes between nodes
85 </dd>
86 </dl><dl>
87 <dt>Returns:</dt>
88 <dd>
89 dictionary of child and dictionary of parent relationships
90 </dd>
91 </dl>
92 <div align="right"><a href="#top">Up</a></div>
93 <hr /><hr />
94 <a NAME="sort" ID="sort"></a>
95 <h2>sort</h2>
96 <b>sort</b>(<i>nodes, routes, noRecursion=False</i>)
97 <p>
98 Function to sort widgets topographically.
99 </p><p>
100 Passed a list of nodes and a list of source, dest routes, it attempts
101 to create a list of stages, where each sub list is one stage in a process.
102 </p><p>
103 The algorithm was taken from Boa Constructor.
104 </p><dl>
105 <dt><i>nodes</i></dt>
106 <dd>
107 list of nodes to be sorted
108 </dd><dt><i>routes</i></dt>
109 <dd>
110 list of routes between the nodes
111 </dd><dt><i>noRecursion</i></dt>
112 <dd>
113 flag indicating, if recursion errors should be raised
114 </dd>
115 </dl><dl>
116 <dt>Returns:</dt>
117 <dd>
118 list of stages
119 </dd>
120 </dl><dl>
121 <dt>Raises <b>RecursionError</b>:</dt>
122 <dd>
123 a recursion error was detected
124 </dd>
125 </dl>
126 <div align="right"><a href="#top">Up</a></div>
127 <hr />
128 </body></html>

eric ide

mercurial