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.shortcuts 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-shortcuts-package"> |
|
54 <h1>pyams_skin.viewlet.shortcuts package<a class="headerlink" href="#pyams-skin-viewlet-shortcuts-package" title="Permalink to this headline">¶</a></h1> |
|
55 <div class="section" id="module-pyams_skin.viewlet.shortcuts"> |
|
56 <span id="module-contents"></span><h2>Module contents<a class="headerlink" href="#module-pyams_skin.viewlet.shortcuts" title="Permalink to this headline">¶</a></h2> |
|
57 <dl class="class"> |
|
58 <dt id="pyams_skin.viewlet.shortcuts.Shortcut"> |
|
59 <em class="property">class </em><code class="descclassname">pyams_skin.viewlet.shortcuts.</code><code class="descname">Shortcut</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.shortcuts.Shortcut" title="Permalink to this definition">¶</a></dt> |
|
60 <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> |
|
61 <p>Shortcut viewlet</p> |
|
62 <dl class="attribute"> |
|
63 <dt id="pyams_skin.viewlet.shortcuts.Shortcut.bg_color_class"> |
|
64 <code class="descname">bg_color_class</code><a class="headerlink" href="#pyams_skin.viewlet.shortcuts.Shortcut.bg_color_class" title="Permalink to this definition">¶</a></dt> |
|
65 <dd><p>Computed attributes based on schema fields</p> |
|
66 <p>Field properties provide default values, data validation and error messages |
|
67 based on data found in field meta-data.</p> |
|
68 <p>Note that FieldProperties cannot be used with slots. They can only |
|
69 be used for attributes stored in instance dictionaries.</p> |
|
70 </dd></dl> |
|
71 |
|
72 <dl class="attribute"> |
|
73 <dt id="pyams_skin.viewlet.shortcuts.Shortcut.checked"> |
|
74 <code class="descname">checked</code><a class="headerlink" href="#pyams_skin.viewlet.shortcuts.Shortcut.checked" title="Permalink to this definition">¶</a></dt> |
|
75 <dd><p>Computed attributes based on schema fields</p> |
|
76 <p>Field properties provide default values, data validation and error messages |
|
77 based on data found in field meta-data.</p> |
|
78 <p>Note that FieldProperties cannot be used with slots. They can only |
|
79 be used for attributes stored in instance dictionaries.</p> |
|
80 </dd></dl> |
|
81 |
|
82 <dl class="method"> |
|
83 <dt id="pyams_skin.viewlet.shortcuts.Shortcut.get_url"> |
|
84 <code class="descname">get_url</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_skin.viewlet.shortcuts.Shortcut.get_url" title="Permalink to this definition">¶</a></dt> |
|
85 <dd></dd></dl> |
|
86 |
|
87 <dl class="attribute"> |
|
88 <dt id="pyams_skin.viewlet.shortcuts.Shortcut.icon_class"> |
|
89 <code class="descname">icon_class</code><a class="headerlink" href="#pyams_skin.viewlet.shortcuts.Shortcut.icon_class" title="Permalink to this definition">¶</a></dt> |
|
90 <dd><p>Computed attributes based on schema fields</p> |
|
91 <p>Field properties provide default values, data validation and error messages |
|
92 based on data found in field meta-data.</p> |
|
93 <p>Note that FieldProperties cannot be used with slots. They can only |
|
94 be used for attributes stored in instance dictionaries.</p> |
|
95 </dd></dl> |
|
96 |
|
97 <dl class="attribute"> |
|
98 <dt id="pyams_skin.viewlet.shortcuts.Shortcut.label"> |
|
99 <code class="descname">label</code><a class="headerlink" href="#pyams_skin.viewlet.shortcuts.Shortcut.label" title="Permalink to this definition">¶</a></dt> |
|
100 <dd><p>Computed attributes based on schema fields</p> |
|
101 <p>Field properties provide default values, data validation and error messages |
|
102 based on data found in field meta-data.</p> |
|
103 <p>Note that FieldProperties cannot be used with slots. They can only |
|
104 be used for attributes stored in instance dictionaries.</p> |
|
105 </dd></dl> |
|
106 |
|
107 <dl class="attribute"> |
|
108 <dt id="pyams_skin.viewlet.shortcuts.Shortcut.modal_target"> |
|
109 <code class="descname">modal_target</code><a class="headerlink" href="#pyams_skin.viewlet.shortcuts.Shortcut.modal_target" title="Permalink to this definition">¶</a></dt> |
|
110 <dd><p>Computed attributes based on schema fields</p> |
|
111 <p>Field properties provide default values, data validation and error messages |
|
112 based on data found in field meta-data.</p> |
|
113 <p>Note that FieldProperties cannot be used with slots. They can only |
|
114 be used for attributes stored in instance dictionaries.</p> |
|
115 </dd></dl> |
|
116 |
|
117 <dl class="attribute"> |
|
118 <dt id="pyams_skin.viewlet.shortcuts.Shortcut.target"> |
|
119 <code class="descname">target</code><a class="headerlink" href="#pyams_skin.viewlet.shortcuts.Shortcut.target" title="Permalink to this definition">¶</a></dt> |
|
120 <dd><p>Computed attributes based on schema fields</p> |
|
121 <p>Field properties provide default values, data validation and error messages |
|
122 based on data found in field meta-data.</p> |
|
123 <p>Note that FieldProperties cannot be used with slots. They can only |
|
124 be used for attributes stored in instance dictionaries.</p> |
|
125 </dd></dl> |
|
126 |
|
127 <dl class="attribute"> |
|
128 <dt id="pyams_skin.viewlet.shortcuts.Shortcut.url"> |
|
129 <code class="descname">url</code><a class="headerlink" href="#pyams_skin.viewlet.shortcuts.Shortcut.url" title="Permalink to this definition">¶</a></dt> |
|
130 <dd><p>Computed attributes based on schema fields</p> |
|
131 <p>Field properties provide default values, data validation and error messages |
|
132 based on data found in field meta-data.</p> |
|
133 <p>Note that FieldProperties cannot be used with slots. They can only |
|
134 be used for attributes stored in instance dictionaries.</p> |
|
135 </dd></dl> |
|
136 |
|
137 </dd></dl> |
|
138 |
|
139 <dl class="class"> |
|
140 <dt id="pyams_skin.viewlet.shortcuts.ShortcutsViewletManager"> |
|
141 <em class="property">class </em><code class="descclassname">pyams_skin.viewlet.shortcuts.</code><code class="descname">ShortcutsViewletManager</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.shortcuts.ShortcutsViewletManager" title="Permalink to this definition">¶</a></dt> |
|
142 <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> |
|
143 <p>Shortcuts viewlet manager</p> |
|
144 </dd></dl> |
|
145 |
|
146 </div> |
|
147 </div> |
|
148 |
|
149 |
|
150 </div> |
|
151 </div> |
|
152 </div> |
|
153 <div class="sphinxsidebar" role="navigation" aria-label="main navigation"> |
|
154 <div class="sphinxsidebarwrapper"> |
|
155 <h3><a href="index.html">Table Of Contents</a></h3> |
|
156 <ul> |
|
157 <li><a class="reference internal" href="#">pyams_skin.viewlet.shortcuts package</a><ul> |
|
158 <li><a class="reference internal" href="#module-pyams_skin.viewlet.shortcuts">Module contents</a></li> |
|
159 </ul> |
|
160 </li> |
|
161 </ul> |
|
162 |
|
163 <div id="searchbox" style="display: none" role="search"> |
|
164 <h3>Quick search</h3> |
|
165 <form class="search" action="search.html" method="get"> |
|
166 <div><input type="text" name="q" /></div> |
|
167 <div><input type="submit" value="Go" /></div> |
|
168 <input type="hidden" name="check_keywords" value="yes" /> |
|
169 <input type="hidden" name="area" value="default" /> |
|
170 </form> |
|
171 </div> |
|
172 <script type="text/javascript">$('#searchbox').show(0);</script> |
|
173 </div> |
|
174 </div> |
|
175 <div class="clearer"></div> |
|
176 </div> |
|
177 <div class="related" role="navigation" aria-label="related navigation"> |
|
178 <h3>Navigation</h3> |
|
179 <ul> |
|
180 <li class="right" style="margin-right: 10px"> |
|
181 <a href="genindex.html" title="General Index" |
|
182 >index</a></li> |
|
183 <li class="right" > |
|
184 <a href="py-modindex.html" title="Python Module Index" |
|
185 >modules</a> |</li> |
|
186 <li class="nav-item nav-item-0"><a href="index.html">PyAMS User Guide 0.1.0 documentation</a> »</li> |
|
187 </ul> |
|
188 </div> |
|
189 <div class="footer" role="contentinfo"> |
|
190 © Copyright 2017, Thierry Florac. |
|
191 Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.6.5. |
|
192 </div> |
|
193 </body> |
|
194 </html> |
|