|
1 |
|
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
|
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|
4 |
|
5 <html xmlns="http://www.w3.org/1999/xhtml"> |
|
6 <head> |
|
7 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
|
8 <title>pyams_skin.viewlet.toolbar package — PyAMS User Guide 0.1.0 documentation</title> |
|
9 <link rel="stylesheet" href="_static/pyramid.css" type="text/css" /> |
|
10 <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> |
|
11 <script type="text/javascript"> |
|
12 var DOCUMENTATION_OPTIONS = { |
|
13 URL_ROOT: './', |
|
14 VERSION: '0.1.0', |
|
15 COLLAPSE_INDEX: false, |
|
16 FILE_SUFFIX: '.html', |
|
17 HAS_SOURCE: true, |
|
18 SOURCELINK_SUFFIX: '.txt' |
|
19 }; |
|
20 </script> |
|
21 <script type="text/javascript" src="_static/jquery.js"></script> |
|
22 <script type="text/javascript" src="_static/underscore.js"></script> |
|
23 <script type="text/javascript" src="_static/doctools.js"></script> |
|
24 <link rel="index" title="Index" href="genindex.html" /> |
|
25 <link rel="search" title="Search" href="search.html" /> |
|
26 <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Neuton&subset=latin" type="text/css" media="screen" charset="utf-8" /> |
|
27 <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Nobile:regular,italic,bold,bolditalic&subset=latin" type="text/css" media="screen" charset="utf-8" /> |
|
28 <!--[if lte IE 6]> |
|
29 <link rel="stylesheet" href="_static/ie6.css" type="text/css" media="screen" charset="utf-8" /> |
|
30 <![endif]--> |
|
31 |
|
32 </head> |
|
33 <body> |
|
34 |
|
35 <div class="related" role="navigation" aria-label="related navigation"> |
|
36 <h3>Navigation</h3> |
|
37 <ul> |
|
38 <li class="right" style="margin-right: 10px"> |
|
39 <a href="genindex.html" title="General Index" |
|
40 accesskey="I">index</a></li> |
|
41 <li class="right" > |
|
42 <a href="py-modindex.html" title="Python Module Index" |
|
43 >modules</a> |</li> |
|
44 <li class="nav-item nav-item-0"><a href="index.html">PyAMS User Guide 0.1.0 documentation</a> »</li> |
|
45 </ul> |
|
46 </div> |
|
47 |
|
48 <div class="document"> |
|
49 <div class="documentwrapper"> |
|
50 <div class="bodywrapper"> |
|
51 <div class="body" role="main"> |
|
52 |
|
53 <div class="section" id="pyams-skin-viewlet-toolbar-package"> |
|
54 <h1>pyams_skin.viewlet.toolbar package<a class="headerlink" href="#pyams-skin-viewlet-toolbar-package" title="Permalink to this headline">¶</a></h1> |
|
55 <div class="section" id="module-pyams_skin.viewlet.toolbar"> |
|
56 <span id="module-contents"></span><h2>Module contents<a class="headerlink" href="#module-pyams_skin.viewlet.toolbar" title="Permalink to this headline">¶</a></h2> |
|
57 <dl class="class"> |
|
58 <dt id="pyams_skin.viewlet.toolbar.ContextActionsExtension"> |
|
59 <em class="property">class </em><code class="descclassname">pyams_skin.viewlet.toolbar.</code><code class="descname">ContextActionsExtension</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>view</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.viewlet.toolbar.ContextActionsExtension" title="Permalink to this definition">¶</a></dt> |
|
60 <dd><p>Bases: <a class="reference internal" href="pyams_utils.html#pyams_utils.adapter.ContextRequestViewAdapter" title="pyams_utils.adapter.ContextRequestViewAdapter"><code class="xref py py-class docutils literal"><span class="pre">pyams_utils.adapter.ContextRequestViewAdapter</span></code></a></p> |
|
61 <p>extension:context_actions(context) TALES extension</p> |
|
62 <dl class="method"> |
|
63 <dt id="pyams_skin.viewlet.toolbar.ContextActionsExtension.render"> |
|
64 <code class="descname">render</code><span class="sig-paren">(</span><em>context=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.viewlet.toolbar.ContextActionsExtension.render" title="Permalink to this definition">¶</a></dt> |
|
65 <dd></dd></dl> |
|
66 |
|
67 </dd></dl> |
|
68 |
|
69 <dl class="class"> |
|
70 <dt id="pyams_skin.viewlet.toolbar.ContextActionsViewletManager"> |
|
71 <em class="property">class </em><code class="descclassname">pyams_skin.viewlet.toolbar.</code><code class="descname">ContextActionsViewletManager</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>view</em>, <em>manager=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.viewlet.toolbar.ContextActionsViewletManager" title="Permalink to this definition">¶</a></dt> |
|
72 <dd><p>Bases: <a class="reference internal" href="#pyams_skin.viewlet.toolbar.ToolbarMenu" title="pyams_skin.viewlet.toolbar.ToolbarMenu"><code class="xref py py-class docutils literal"><span class="pre">pyams_skin.viewlet.toolbar.ToolbarMenu</span></code></a></p> |
|
73 <p>Context actions viewlet manager</p> |
|
74 <dl class="attribute"> |
|
75 <dt id="pyams_skin.viewlet.toolbar.ContextActionsViewletManager.css_class"> |
|
76 <code class="descname">css_class</code><a class="headerlink" href="#pyams_skin.viewlet.toolbar.ContextActionsViewletManager.css_class" title="Permalink to this definition">¶</a></dt> |
|
77 <dd><p>Computed attributes based on schema fields</p> |
|
78 <p>Field properties provide default values, data validation and error messages |
|
79 based on data found in field meta-data.</p> |
|
80 <p>Note that FieldProperties cannot be used with slots. They can only |
|
81 be used for attributes stored in instance dictionaries.</p> |
|
82 </dd></dl> |
|
83 |
|
84 <dl class="attribute"> |
|
85 <dt id="pyams_skin.viewlet.toolbar.ContextActionsViewletManager.label"> |
|
86 <code class="descname">label</code><em class="property"> = 'Other actions...'</em><a class="headerlink" href="#pyams_skin.viewlet.toolbar.ContextActionsViewletManager.label" title="Permalink to this definition">¶</a></dt> |
|
87 <dd></dd></dl> |
|
88 |
|
89 <dl class="attribute"> |
|
90 <dt id="pyams_skin.viewlet.toolbar.ContextActionsViewletManager.label_css_class"> |
|
91 <code class="descname">label_css_class</code><em class="property"> = ''</em><a class="headerlink" href="#pyams_skin.viewlet.toolbar.ContextActionsViewletManager.label_css_class" title="Permalink to this definition">¶</a></dt> |
|
92 <dd></dd></dl> |
|
93 |
|
94 </dd></dl> |
|
95 |
|
96 <dl class="class"> |
|
97 <dt id="pyams_skin.viewlet.toolbar.JsToolbarAction"> |
|
98 <em class="property">class </em><code class="descclassname">pyams_skin.viewlet.toolbar.</code><code class="descname">JsToolbarAction</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>view</em>, <em>manager</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.viewlet.toolbar.JsToolbarAction" title="Permalink to this definition">¶</a></dt> |
|
99 <dd><p>Bases: <a class="reference internal" href="#pyams_skin.viewlet.toolbar.ToolbarAction" title="pyams_skin.viewlet.toolbar.ToolbarAction"><code class="xref py py-class docutils literal"><span class="pre">pyams_skin.viewlet.toolbar.ToolbarAction</span></code></a></p> |
|
100 <p>Javascript toolbar action</p> |
|
101 <dl class="method"> |
|
102 <dt id="pyams_skin.viewlet.toolbar.JsToolbarAction.get_url"> |
|
103 <code class="descname">get_url</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.viewlet.toolbar.JsToolbarAction.get_url" title="Permalink to this definition">¶</a></dt> |
|
104 <dd></dd></dl> |
|
105 |
|
106 </dd></dl> |
|
107 |
|
108 <dl class="class"> |
|
109 <dt id="pyams_skin.viewlet.toolbar.JsToolbarActionItem"> |
|
110 <em class="property">class </em><code class="descclassname">pyams_skin.viewlet.toolbar.</code><code class="descname">JsToolbarActionItem</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>view</em>, <em>manager</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.viewlet.toolbar.JsToolbarActionItem" title="Permalink to this definition">¶</a></dt> |
|
111 <dd><p>Bases: <a class="reference internal" href="#pyams_skin.viewlet.toolbar.ToolbarActionItem" title="pyams_skin.viewlet.toolbar.ToolbarActionItem"><code class="xref py py-class docutils literal"><span class="pre">pyams_skin.viewlet.toolbar.ToolbarActionItem</span></code></a></p> |
|
112 <p>Javascript call toolbar action item</p> |
|
113 <dl class="method"> |
|
114 <dt id="pyams_skin.viewlet.toolbar.JsToolbarActionItem.get_url"> |
|
115 <code class="descname">get_url</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.viewlet.toolbar.JsToolbarActionItem.get_url" title="Permalink to this definition">¶</a></dt> |
|
116 <dd></dd></dl> |
|
117 |
|
118 </dd></dl> |
|
119 |
|
120 <dl class="class"> |
|
121 <dt id="pyams_skin.viewlet.toolbar.JsToolbarMenuItem"> |
|
122 <em class="property">class </em><code class="descclassname">pyams_skin.viewlet.toolbar.</code><code class="descname">JsToolbarMenuItem</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>view</em>, <em>manager</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.viewlet.toolbar.JsToolbarMenuItem" title="Permalink to this definition">¶</a></dt> |
|
123 <dd><p>Bases: <a class="reference internal" href="#pyams_skin.viewlet.toolbar.ToolbarMenuItem" title="pyams_skin.viewlet.toolbar.ToolbarMenuItem"><code class="xref py py-class docutils literal"><span class="pre">pyams_skin.viewlet.toolbar.ToolbarMenuItem</span></code></a></p> |
|
124 <p>Javascript call toolbar menu item</p> |
|
125 <dl class="method"> |
|
126 <dt id="pyams_skin.viewlet.toolbar.JsToolbarMenuItem.get_url"> |
|
127 <code class="descname">get_url</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.viewlet.toolbar.JsToolbarMenuItem.get_url" title="Permalink to this definition">¶</a></dt> |
|
128 <dd></dd></dl> |
|
129 |
|
130 </dd></dl> |
|
131 |
|
132 <dl class="class"> |
|
133 <dt id="pyams_skin.viewlet.toolbar.TableItemColumnActionsMenu"> |
|
134 <em class="property">class </em><code class="descclassname">pyams_skin.viewlet.toolbar.</code><code class="descname">TableItemColumnActionsMenu</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>view</em>, <em>manager=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.viewlet.toolbar.TableItemColumnActionsMenu" title="Permalink to this definition">¶</a></dt> |
|
135 <dd><p>Bases: <a class="reference internal" href="#pyams_skin.viewlet.toolbar.ToolbarMenu" title="pyams_skin.viewlet.toolbar.ToolbarMenu"><code class="xref py py-class docutils literal"><span class="pre">pyams_skin.viewlet.toolbar.ToolbarMenu</span></code></a></p> |
|
136 <p>Table item actions menu</p> |
|
137 <dl class="attribute"> |
|
138 <dt id="pyams_skin.viewlet.toolbar.TableItemColumnActionsMenu.css_class"> |
|
139 <code class="descname">css_class</code><em class="property"> = 'btn btn-xs btn-info dropdown-toggle'</em><a class="headerlink" href="#pyams_skin.viewlet.toolbar.TableItemColumnActionsMenu.css_class" title="Permalink to this definition">¶</a></dt> |
|
140 <dd></dd></dl> |
|
141 |
|
142 <dl class="attribute"> |
|
143 <dt id="pyams_skin.viewlet.toolbar.TableItemColumnActionsMenu.label"> |
|
144 <code class="descname">label</code><em class="property"> = 'Actions...'</em><a class="headerlink" href="#pyams_skin.viewlet.toolbar.TableItemColumnActionsMenu.label" title="Permalink to this definition">¶</a></dt> |
|
145 <dd></dd></dl> |
|
146 |
|
147 <dl class="attribute"> |
|
148 <dt id="pyams_skin.viewlet.toolbar.TableItemColumnActionsMenu.label_css_class"> |
|
149 <code class="descname">label_css_class</code><em class="property"> = ''</em><a class="headerlink" href="#pyams_skin.viewlet.toolbar.TableItemColumnActionsMenu.label_css_class" title="Permalink to this definition">¶</a></dt> |
|
150 <dd></dd></dl> |
|
151 |
|
152 </dd></dl> |
|
153 |
|
154 <dl class="class"> |
|
155 <dt id="pyams_skin.viewlet.toolbar.TableToolbarViewletManager"> |
|
156 <em class="property">class </em><code class="descclassname">pyams_skin.viewlet.toolbar.</code><code class="descname">TableToolbarViewletManager</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>view</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.viewlet.toolbar.TableToolbarViewletManager" title="Permalink to this definition">¶</a></dt> |
|
157 <dd><p>Bases: <a class="reference internal" href="pyams_viewlet.html#pyams_viewlet.manager.TemplateBasedViewletManager" title="pyams_viewlet.manager.TemplateBasedViewletManager"><code class="xref py py-class docutils literal"><span class="pre">pyams_viewlet.manager.TemplateBasedViewletManager</span></code></a>, <a class="reference internal" href="pyams_viewlet.html#pyams_viewlet.manager.WeightOrderedViewletManager" title="pyams_viewlet.manager.WeightOrderedViewletManager"><code class="xref py py-class docutils literal"><span class="pre">pyams_viewlet.manager.WeightOrderedViewletManager</span></code></a></p> |
|
158 <p>Table toolbar viewlet manager</p> |
|
159 </dd></dl> |
|
160 |
|
161 <dl class="class"> |
|
162 <dt id="pyams_skin.viewlet.toolbar.ToolbarAction"> |
|
163 <em class="property">class </em><code class="descclassname">pyams_skin.viewlet.toolbar.</code><code class="descname">ToolbarAction</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>view</em>, <em>manager</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.viewlet.toolbar.ToolbarAction" title="Permalink to this definition">¶</a></dt> |
|
164 <dd><p>Bases: <a class="reference internal" href="pyams_viewlet.html#pyams_viewlet.viewlet.Viewlet" title="pyams_viewlet.viewlet.Viewlet"><code class="xref py py-class docutils literal"><span class="pre">pyams_viewlet.viewlet.Viewlet</span></code></a></p> |
|
165 <p>Base toolbar action class</p> |
|
166 <dl class="attribute"> |
|
167 <dt id="pyams_skin.viewlet.toolbar.ToolbarAction.click_handler"> |
|
168 <code class="descname">click_handler</code><a class="headerlink" href="#pyams_skin.viewlet.toolbar.ToolbarAction.click_handler" title="Permalink to this definition">¶</a></dt> |
|
169 <dd><p>Computed attributes based on schema fields</p> |
|
170 <p>Field properties provide default values, data validation and error messages |
|
171 based on data found in field meta-data.</p> |
|
172 <p>Note that FieldProperties cannot be used with slots. They can only |
|
173 be used for attributes stored in instance dictionaries.</p> |
|
174 </dd></dl> |
|
175 |
|
176 <dl class="attribute"> |
|
177 <dt id="pyams_skin.viewlet.toolbar.ToolbarAction.css_class"> |
|
178 <code class="descname">css_class</code><a class="headerlink" href="#pyams_skin.viewlet.toolbar.ToolbarAction.css_class" title="Permalink to this definition">¶</a></dt> |
|
179 <dd><p>Computed attributes based on schema fields</p> |
|
180 <p>Field properties provide default values, data validation and error messages |
|
181 based on data found in field meta-data.</p> |
|
182 <p>Note that FieldProperties cannot be used with slots. They can only |
|
183 be used for attributes stored in instance dictionaries.</p> |
|
184 </dd></dl> |
|
185 |
|
186 <dl class="method"> |
|
187 <dt id="pyams_skin.viewlet.toolbar.ToolbarAction.get_url"> |
|
188 <code class="descname">get_url</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.viewlet.toolbar.ToolbarAction.get_url" title="Permalink to this definition">¶</a></dt> |
|
189 <dd></dd></dl> |
|
190 |
|
191 <dl class="attribute"> |
|
192 <dt id="pyams_skin.viewlet.toolbar.ToolbarAction.label"> |
|
193 <code class="descname">label</code><a class="headerlink" href="#pyams_skin.viewlet.toolbar.ToolbarAction.label" title="Permalink to this definition">¶</a></dt> |
|
194 <dd><p>Computed attributes based on schema fields</p> |
|
195 <p>Field properties provide default values, data validation and error messages |
|
196 based on data found in field meta-data.</p> |
|
197 <p>Note that FieldProperties cannot be used with slots. They can only |
|
198 be used for attributes stored in instance dictionaries.</p> |
|
199 </dd></dl> |
|
200 |
|
201 <dl class="attribute"> |
|
202 <dt id="pyams_skin.viewlet.toolbar.ToolbarAction.label_css_class"> |
|
203 <code class="descname">label_css_class</code><a class="headerlink" href="#pyams_skin.viewlet.toolbar.ToolbarAction.label_css_class" title="Permalink to this definition">¶</a></dt> |
|
204 <dd><p>Computed attributes based on schema fields</p> |
|
205 <p>Field properties provide default values, data validation and error messages |
|
206 based on data found in field meta-data.</p> |
|
207 <p>Note that FieldProperties cannot be used with slots. They can only |
|
208 be used for attributes stored in instance dictionaries.</p> |
|
209 </dd></dl> |
|
210 |
|
211 <dl class="attribute"> |
|
212 <dt id="pyams_skin.viewlet.toolbar.ToolbarAction.modal_target"> |
|
213 <code class="descname">modal_target</code><a class="headerlink" href="#pyams_skin.viewlet.toolbar.ToolbarAction.modal_target" title="Permalink to this definition">¶</a></dt> |
|
214 <dd><p>Computed attributes based on schema fields</p> |
|
215 <p>Field properties provide default values, data validation and error messages |
|
216 based on data found in field meta-data.</p> |
|
217 <p>Note that FieldProperties cannot be used with slots. They can only |
|
218 be used for attributes stored in instance dictionaries.</p> |
|
219 </dd></dl> |
|
220 |
|
221 <dl class="attribute"> |
|
222 <dt id="pyams_skin.viewlet.toolbar.ToolbarAction.url"> |
|
223 <code class="descname">url</code><a class="headerlink" href="#pyams_skin.viewlet.toolbar.ToolbarAction.url" title="Permalink to this definition">¶</a></dt> |
|
224 <dd><p>Computed attributes based on schema fields</p> |
|
225 <p>Field properties provide default values, data validation and error messages |
|
226 based on data found in field meta-data.</p> |
|
227 <p>Note that FieldProperties cannot be used with slots. They can only |
|
228 be used for attributes stored in instance dictionaries.</p> |
|
229 </dd></dl> |
|
230 |
|
231 </dd></dl> |
|
232 |
|
233 <dl class="class"> |
|
234 <dt id="pyams_skin.viewlet.toolbar.ToolbarActionItem"> |
|
235 <em class="property">class </em><code class="descclassname">pyams_skin.viewlet.toolbar.</code><code class="descname">ToolbarActionItem</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>view</em>, <em>manager</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.viewlet.toolbar.ToolbarActionItem" title="Permalink to this definition">¶</a></dt> |
|
236 <dd><p>Bases: <a class="reference internal" href="pyams_viewlet.html#pyams_viewlet.viewlet.Viewlet" title="pyams_viewlet.viewlet.Viewlet"><code class="xref py py-class docutils literal"><span class="pre">pyams_viewlet.viewlet.Viewlet</span></code></a></p> |
|
237 <p>Toolbar action item class</p> |
|
238 <dl class="attribute"> |
|
239 <dt id="pyams_skin.viewlet.toolbar.ToolbarActionItem.click_handler"> |
|
240 <code class="descname">click_handler</code><a class="headerlink" href="#pyams_skin.viewlet.toolbar.ToolbarActionItem.click_handler" title="Permalink to this definition">¶</a></dt> |
|
241 <dd><p>Computed attributes based on schema fields</p> |
|
242 <p>Field properties provide default values, data validation and error messages |
|
243 based on data found in field meta-data.</p> |
|
244 <p>Note that FieldProperties cannot be used with slots. They can only |
|
245 be used for attributes stored in instance dictionaries.</p> |
|
246 </dd></dl> |
|
247 |
|
248 <dl class="attribute"> |
|
249 <dt id="pyams_skin.viewlet.toolbar.ToolbarActionItem.css_class"> |
|
250 <code class="descname">css_class</code><a class="headerlink" href="#pyams_skin.viewlet.toolbar.ToolbarActionItem.css_class" title="Permalink to this definition">¶</a></dt> |
|
251 <dd><p>Computed attributes based on schema fields</p> |
|
252 <p>Field properties provide default values, data validation and error messages |
|
253 based on data found in field meta-data.</p> |
|
254 <p>Note that FieldProperties cannot be used with slots. They can only |
|
255 be used for attributes stored in instance dictionaries.</p> |
|
256 </dd></dl> |
|
257 |
|
258 <dl class="method"> |
|
259 <dt id="pyams_skin.viewlet.toolbar.ToolbarActionItem.get_url"> |
|
260 <code class="descname">get_url</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.viewlet.toolbar.ToolbarActionItem.get_url" title="Permalink to this definition">¶</a></dt> |
|
261 <dd></dd></dl> |
|
262 |
|
263 <dl class="attribute"> |
|
264 <dt id="pyams_skin.viewlet.toolbar.ToolbarActionItem.hint_gravity"> |
|
265 <code class="descname">hint_gravity</code><a class="headerlink" href="#pyams_skin.viewlet.toolbar.ToolbarActionItem.hint_gravity" title="Permalink to this definition">¶</a></dt> |
|
266 <dd><p>Computed attributes based on schema fields</p> |
|
267 <p>Field properties provide default values, data validation and error messages |
|
268 based on data found in field meta-data.</p> |
|
269 <p>Note that FieldProperties cannot be used with slots. They can only |
|
270 be used for attributes stored in instance dictionaries.</p> |
|
271 </dd></dl> |
|
272 |
|
273 <dl class="attribute"> |
|
274 <dt id="pyams_skin.viewlet.toolbar.ToolbarActionItem.label"> |
|
275 <code class="descname">label</code><a class="headerlink" href="#pyams_skin.viewlet.toolbar.ToolbarActionItem.label" title="Permalink to this definition">¶</a></dt> |
|
276 <dd><p>Computed attributes based on schema fields</p> |
|
277 <p>Field properties provide default values, data validation and error messages |
|
278 based on data found in field meta-data.</p> |
|
279 <p>Note that FieldProperties cannot be used with slots. They can only |
|
280 be used for attributes stored in instance dictionaries.</p> |
|
281 </dd></dl> |
|
282 |
|
283 <dl class="attribute"> |
|
284 <dt id="pyams_skin.viewlet.toolbar.ToolbarActionItem.label_css_class"> |
|
285 <code class="descname">label_css_class</code><a class="headerlink" href="#pyams_skin.viewlet.toolbar.ToolbarActionItem.label_css_class" title="Permalink to this definition">¶</a></dt> |
|
286 <dd><p>Computed attributes based on schema fields</p> |
|
287 <p>Field properties provide default values, data validation and error messages |
|
288 based on data found in field meta-data.</p> |
|
289 <p>Note that FieldProperties cannot be used with slots. They can only |
|
290 be used for attributes stored in instance dictionaries.</p> |
|
291 </dd></dl> |
|
292 |
|
293 <dl class="attribute"> |
|
294 <dt id="pyams_skin.viewlet.toolbar.ToolbarActionItem.modal_target"> |
|
295 <code class="descname">modal_target</code><a class="headerlink" href="#pyams_skin.viewlet.toolbar.ToolbarActionItem.modal_target" title="Permalink to this definition">¶</a></dt> |
|
296 <dd><p>Computed attributes based on schema fields</p> |
|
297 <p>Field properties provide default values, data validation and error messages |
|
298 based on data found in field meta-data.</p> |
|
299 <p>Note that FieldProperties cannot be used with slots. They can only |
|
300 be used for attributes stored in instance dictionaries.</p> |
|
301 </dd></dl> |
|
302 |
|
303 <dl class="attribute"> |
|
304 <dt id="pyams_skin.viewlet.toolbar.ToolbarActionItem.stop_propagation"> |
|
305 <code class="descname">stop_propagation</code><a class="headerlink" href="#pyams_skin.viewlet.toolbar.ToolbarActionItem.stop_propagation" title="Permalink to this definition">¶</a></dt> |
|
306 <dd><p>Computed attributes based on schema fields</p> |
|
307 <p>Field properties provide default values, data validation and error messages |
|
308 based on data found in field meta-data.</p> |
|
309 <p>Note that FieldProperties cannot be used with slots. They can only |
|
310 be used for attributes stored in instance dictionaries.</p> |
|
311 </dd></dl> |
|
312 |
|
313 <dl class="attribute"> |
|
314 <dt id="pyams_skin.viewlet.toolbar.ToolbarActionItem.url"> |
|
315 <code class="descname">url</code><a class="headerlink" href="#pyams_skin.viewlet.toolbar.ToolbarActionItem.url" title="Permalink to this definition">¶</a></dt> |
|
316 <dd><p>Computed attributes based on schema fields</p> |
|
317 <p>Field properties provide default values, data validation and error messages |
|
318 based on data found in field meta-data.</p> |
|
319 <p>Note that FieldProperties cannot be used with slots. They can only |
|
320 be used for attributes stored in instance dictionaries.</p> |
|
321 </dd></dl> |
|
322 |
|
323 </dd></dl> |
|
324 |
|
325 <dl class="class"> |
|
326 <dt id="pyams_skin.viewlet.toolbar.ToolbarAddingMenu"> |
|
327 <em class="property">class </em><code class="descclassname">pyams_skin.viewlet.toolbar.</code><code class="descname">ToolbarAddingMenu</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>view</em>, <em>manager=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.viewlet.toolbar.ToolbarAddingMenu" title="Permalink to this definition">¶</a></dt> |
|
328 <dd><p>Bases: <a class="reference internal" href="#pyams_skin.viewlet.toolbar.ToolbarMenu" title="pyams_skin.viewlet.toolbar.ToolbarMenu"><code class="xref py py-class docutils literal"><span class="pre">pyams_skin.viewlet.toolbar.ToolbarMenu</span></code></a></p> |
|
329 <p>Toolbar adding menu</p> |
|
330 <dl class="attribute"> |
|
331 <dt id="pyams_skin.viewlet.toolbar.ToolbarAddingMenu.css_class"> |
|
332 <code class="descname">css_class</code><em class="property"> = 'btn btn-xs btn-success dropdown-toggle'</em><a class="headerlink" href="#pyams_skin.viewlet.toolbar.ToolbarAddingMenu.css_class" title="Permalink to this definition">¶</a></dt> |
|
333 <dd></dd></dl> |
|
334 |
|
335 <dl class="attribute"> |
|
336 <dt id="pyams_skin.viewlet.toolbar.ToolbarAddingMenu.label"> |
|
337 <code class="descname">label</code><em class="property"> = 'Add...'</em><a class="headerlink" href="#pyams_skin.viewlet.toolbar.ToolbarAddingMenu.label" title="Permalink to this definition">¶</a></dt> |
|
338 <dd></dd></dl> |
|
339 |
|
340 <dl class="attribute"> |
|
341 <dt id="pyams_skin.viewlet.toolbar.ToolbarAddingMenu.menu_css_class"> |
|
342 <code class="descname">menu_css_class</code><em class="property"> = 'dropdown-menu'</em><a class="headerlink" href="#pyams_skin.viewlet.toolbar.ToolbarAddingMenu.menu_css_class" title="Permalink to this definition">¶</a></dt> |
|
343 <dd></dd></dl> |
|
344 |
|
345 </dd></dl> |
|
346 |
|
347 <dl class="class"> |
|
348 <dt id="pyams_skin.viewlet.toolbar.ToolbarMenu"> |
|
349 <em class="property">class </em><code class="descclassname">pyams_skin.viewlet.toolbar.</code><code class="descname">ToolbarMenu</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>view</em>, <em>manager=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.viewlet.toolbar.ToolbarMenu" title="Permalink to this definition">¶</a></dt> |
|
350 <dd><p>Bases: <a class="reference internal" href="pyams_viewlet.html#pyams_viewlet.manager.TemplateBasedViewletManager" title="pyams_viewlet.manager.TemplateBasedViewletManager"><code class="xref py py-class docutils literal"><span class="pre">pyams_viewlet.manager.TemplateBasedViewletManager</span></code></a>, <a class="reference internal" href="pyams_viewlet.html#pyams_viewlet.manager.WeightOrderedViewletManager" title="pyams_viewlet.manager.WeightOrderedViewletManager"><code class="xref py py-class docutils literal"><span class="pre">pyams_viewlet.manager.WeightOrderedViewletManager</span></code></a>, <a class="reference internal" href="pyams_viewlet.html#pyams_viewlet.viewlet.Viewlet" title="pyams_viewlet.viewlet.Viewlet"><code class="xref py py-class docutils literal"><span class="pre">pyams_viewlet.viewlet.Viewlet</span></code></a></p> |
|
351 <p>Base toolbar menu class</p> |
|
352 <dl class="attribute"> |
|
353 <dt id="pyams_skin.viewlet.toolbar.ToolbarMenu.click_handler"> |
|
354 <code class="descname">click_handler</code><a class="headerlink" href="#pyams_skin.viewlet.toolbar.ToolbarMenu.click_handler" title="Permalink to this definition">¶</a></dt> |
|
355 <dd><p>Computed attributes based on schema fields</p> |
|
356 <p>Field properties provide default values, data validation and error messages |
|
357 based on data found in field meta-data.</p> |
|
358 <p>Note that FieldProperties cannot be used with slots. They can only |
|
359 be used for attributes stored in instance dictionaries.</p> |
|
360 </dd></dl> |
|
361 |
|
362 <dl class="attribute"> |
|
363 <dt id="pyams_skin.viewlet.toolbar.ToolbarMenu.css_class"> |
|
364 <code class="descname">css_class</code><a class="headerlink" href="#pyams_skin.viewlet.toolbar.ToolbarMenu.css_class" title="Permalink to this definition">¶</a></dt> |
|
365 <dd><p>Computed attributes based on schema fields</p> |
|
366 <p>Field properties provide default values, data validation and error messages |
|
367 based on data found in field meta-data.</p> |
|
368 <p>Note that FieldProperties cannot be used with slots. They can only |
|
369 be used for attributes stored in instance dictionaries.</p> |
|
370 </dd></dl> |
|
371 |
|
372 <dl class="method"> |
|
373 <dt id="pyams_skin.viewlet.toolbar.ToolbarMenu.get_url"> |
|
374 <code class="descname">get_url</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.viewlet.toolbar.ToolbarMenu.get_url" title="Permalink to this definition">¶</a></dt> |
|
375 <dd></dd></dl> |
|
376 |
|
377 <dl class="attribute"> |
|
378 <dt id="pyams_skin.viewlet.toolbar.ToolbarMenu.label"> |
|
379 <code class="descname">label</code><a class="headerlink" href="#pyams_skin.viewlet.toolbar.ToolbarMenu.label" title="Permalink to this definition">¶</a></dt> |
|
380 <dd><p>Computed attributes based on schema fields</p> |
|
381 <p>Field properties provide default values, data validation and error messages |
|
382 based on data found in field meta-data.</p> |
|
383 <p>Note that FieldProperties cannot be used with slots. They can only |
|
384 be used for attributes stored in instance dictionaries.</p> |
|
385 </dd></dl> |
|
386 |
|
387 <dl class="attribute"> |
|
388 <dt id="pyams_skin.viewlet.toolbar.ToolbarMenu.label_css_class"> |
|
389 <code class="descname">label_css_class</code><a class="headerlink" href="#pyams_skin.viewlet.toolbar.ToolbarMenu.label_css_class" title="Permalink to this definition">¶</a></dt> |
|
390 <dd><p>Computed attributes based on schema fields</p> |
|
391 <p>Field properties provide default values, data validation and error messages |
|
392 based on data found in field meta-data.</p> |
|
393 <p>Note that FieldProperties cannot be used with slots. They can only |
|
394 be used for attributes stored in instance dictionaries.</p> |
|
395 </dd></dl> |
|
396 |
|
397 <dl class="attribute"> |
|
398 <dt id="pyams_skin.viewlet.toolbar.ToolbarMenu.menu_css_class"> |
|
399 <code class="descname">menu_css_class</code><a class="headerlink" href="#pyams_skin.viewlet.toolbar.ToolbarMenu.menu_css_class" title="Permalink to this definition">¶</a></dt> |
|
400 <dd><p>Computed attributes based on schema fields</p> |
|
401 <p>Field properties provide default values, data validation and error messages |
|
402 based on data found in field meta-data.</p> |
|
403 <p>Note that FieldProperties cannot be used with slots. They can only |
|
404 be used for attributes stored in instance dictionaries.</p> |
|
405 </dd></dl> |
|
406 |
|
407 <dl class="attribute"> |
|
408 <dt id="pyams_skin.viewlet.toolbar.ToolbarMenu.modal_target"> |
|
409 <code class="descname">modal_target</code><a class="headerlink" href="#pyams_skin.viewlet.toolbar.ToolbarMenu.modal_target" title="Permalink to this definition">¶</a></dt> |
|
410 <dd><p>Computed attributes based on schema fields</p> |
|
411 <p>Field properties provide default values, data validation and error messages |
|
412 based on data found in field meta-data.</p> |
|
413 <p>Note that FieldProperties cannot be used with slots. They can only |
|
414 be used for attributes stored in instance dictionaries.</p> |
|
415 </dd></dl> |
|
416 |
|
417 <dl class="method"> |
|
418 <dt id="pyams_skin.viewlet.toolbar.ToolbarMenu.render"> |
|
419 <code class="descname">render</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.viewlet.toolbar.ToolbarMenu.render" title="Permalink to this definition">¶</a></dt> |
|
420 <dd></dd></dl> |
|
421 |
|
422 <dl class="method"> |
|
423 <dt id="pyams_skin.viewlet.toolbar.ToolbarMenu.update"> |
|
424 <code class="descname">update</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.viewlet.toolbar.ToolbarMenu.update" title="Permalink to this definition">¶</a></dt> |
|
425 <dd></dd></dl> |
|
426 |
|
427 <dl class="attribute"> |
|
428 <dt id="pyams_skin.viewlet.toolbar.ToolbarMenu.url"> |
|
429 <code class="descname">url</code><a class="headerlink" href="#pyams_skin.viewlet.toolbar.ToolbarMenu.url" title="Permalink to this definition">¶</a></dt> |
|
430 <dd><p>Computed attributes based on schema fields</p> |
|
431 <p>Field properties provide default values, data validation and error messages |
|
432 based on data found in field meta-data.</p> |
|
433 <p>Note that FieldProperties cannot be used with slots. They can only |
|
434 be used for attributes stored in instance dictionaries.</p> |
|
435 </dd></dl> |
|
436 |
|
437 </dd></dl> |
|
438 |
|
439 <dl class="class"> |
|
440 <dt id="pyams_skin.viewlet.toolbar.ToolbarMenuDivider"> |
|
441 <em class="property">class </em><code class="descclassname">pyams_skin.viewlet.toolbar.</code><code class="descname">ToolbarMenuDivider</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>view</em>, <em>manager</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.viewlet.toolbar.ToolbarMenuDivider" title="Permalink to this definition">¶</a></dt> |
|
442 <dd><p>Bases: <a class="reference internal" href="pyams_viewlet.html#pyams_viewlet.viewlet.Viewlet" title="pyams_viewlet.viewlet.Viewlet"><code class="xref py py-class docutils literal"><span class="pre">pyams_viewlet.viewlet.Viewlet</span></code></a></p> |
|
443 <p>Toolbar menu divider</p> |
|
444 <dl class="attribute"> |
|
445 <dt id="pyams_skin.viewlet.toolbar.ToolbarMenuDivider.css_class"> |
|
446 <code class="descname">css_class</code><em class="property"> = 'divider'</em><a class="headerlink" href="#pyams_skin.viewlet.toolbar.ToolbarMenuDivider.css_class" title="Permalink to this definition">¶</a></dt> |
|
447 <dd></dd></dl> |
|
448 |
|
449 <dl class="attribute"> |
|
450 <dt id="pyams_skin.viewlet.toolbar.ToolbarMenuDivider.lebel"> |
|
451 <code class="descname">lebel</code><em class="property"> = None</em><a class="headerlink" href="#pyams_skin.viewlet.toolbar.ToolbarMenuDivider.lebel" title="Permalink to this definition">¶</a></dt> |
|
452 <dd></dd></dl> |
|
453 |
|
454 </dd></dl> |
|
455 |
|
456 <dl class="class"> |
|
457 <dt id="pyams_skin.viewlet.toolbar.ToolbarMenuItem"> |
|
458 <em class="property">class </em><code class="descclassname">pyams_skin.viewlet.toolbar.</code><code class="descname">ToolbarMenuItem</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>view</em>, <em>manager</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.viewlet.toolbar.ToolbarMenuItem" title="Permalink to this definition">¶</a></dt> |
|
459 <dd><p>Bases: <a class="reference internal" href="#pyams_skin.viewlet.toolbar.ToolbarActionItem" title="pyams_skin.viewlet.toolbar.ToolbarActionItem"><code class="xref py py-class docutils literal"><span class="pre">pyams_skin.viewlet.toolbar.ToolbarActionItem</span></code></a></p> |
|
460 <p>Toolbar menu item class</p> |
|
461 </dd></dl> |
|
462 |
|
463 <dl class="class"> |
|
464 <dt id="pyams_skin.viewlet.toolbar.WidgetTitleViewletManager"> |
|
465 <em class="property">class </em><code class="descclassname">pyams_skin.viewlet.toolbar.</code><code class="descname">WidgetTitleViewletManager</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>view</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.viewlet.toolbar.WidgetTitleViewletManager" title="Permalink to this definition">¶</a></dt> |
|
466 <dd><p>Bases: <a class="reference internal" href="pyams_viewlet.html#pyams_viewlet.manager.WeightOrderedViewletManager" title="pyams_viewlet.manager.WeightOrderedViewletManager"><code class="xref py py-class docutils literal"><span class="pre">pyams_viewlet.manager.WeightOrderedViewletManager</span></code></a></p> |
|
467 <p>Widget title extensions viewlet manager</p> |
|
468 </dd></dl> |
|
469 |
|
470 </div> |
|
471 </div> |
|
472 |
|
473 |
|
474 </div> |
|
475 </div> |
|
476 </div> |
|
477 <div class="sphinxsidebar" role="navigation" aria-label="main navigation"> |
|
478 <div class="sphinxsidebarwrapper"> |
|
479 <h3><a href="index.html">Table Of Contents</a></h3> |
|
480 <ul> |
|
481 <li><a class="reference internal" href="#">pyams_skin.viewlet.toolbar package</a><ul> |
|
482 <li><a class="reference internal" href="#module-pyams_skin.viewlet.toolbar">Module contents</a></li> |
|
483 </ul> |
|
484 </li> |
|
485 </ul> |
|
486 |
|
487 <div id="searchbox" style="display: none" role="search"> |
|
488 <h3>Quick search</h3> |
|
489 <form class="search" action="search.html" method="get"> |
|
490 <div><input type="text" name="q" /></div> |
|
491 <div><input type="submit" value="Go" /></div> |
|
492 <input type="hidden" name="check_keywords" value="yes" /> |
|
493 <input type="hidden" name="area" value="default" /> |
|
494 </form> |
|
495 </div> |
|
496 <script type="text/javascript">$('#searchbox').show(0);</script> |
|
497 </div> |
|
498 </div> |
|
499 <div class="clearer"></div> |
|
500 </div> |
|
501 <div class="related" role="navigation" aria-label="related navigation"> |
|
502 <h3>Navigation</h3> |
|
503 <ul> |
|
504 <li class="right" style="margin-right: 10px"> |
|
505 <a href="genindex.html" title="General Index" |
|
506 >index</a></li> |
|
507 <li class="right" > |
|
508 <a href="py-modindex.html" title="Python Module Index" |
|
509 >modules</a> |</li> |
|
510 <li class="nav-item nav-item-0"><a href="index.html">PyAMS User Guide 0.1.0 documentation</a> »</li> |
|
511 </ul> |
|
512 </div> |
|
513 <div class="footer" role="contentinfo"> |
|
514 © Copyright 2017, Thierry Florac. |
|
515 Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.6.5. |
|
516 </div> |
|
517 </body> |
|
518 </html> |