|
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_i18n.widget 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-i18n-widget-package"> |
|
54 <h1>pyams_i18n.widget package<a class="headerlink" href="#pyams-i18n-widget-package" title="Permalink to this headline">¶</a></h1> |
|
55 <div class="section" id="module-pyams_i18n.widget"> |
|
56 <span id="module-contents"></span><h2>Module contents<a class="headerlink" href="#module-pyams_i18n.widget" title="Permalink to this headline">¶</a></h2> |
|
57 <dl class="class"> |
|
58 <dt id="pyams_i18n.widget.I18nDataConverter"> |
|
59 <em class="property">class </em><code class="descclassname">pyams_i18n.widget.</code><code class="descname">I18nDataConverter</code><span class="sig-paren">(</span><em>field</em>, <em>widget</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_i18n.widget.I18nDataConverter" title="Permalink to this definition">¶</a></dt> |
|
60 <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">z3c.form.converter.BaseDataConverter</span></code></p> |
|
61 <p>I18n base data converter</p> |
|
62 <dl class="method"> |
|
63 <dt id="pyams_i18n.widget.I18nDataConverter.toFieldValue"> |
|
64 <code class="descname">toFieldValue</code><span class="sig-paren">(</span><em>value</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_i18n.widget.I18nDataConverter.toFieldValue" title="Permalink to this definition">¶</a></dt> |
|
65 <dd></dd></dl> |
|
66 |
|
67 <dl class="method"> |
|
68 <dt id="pyams_i18n.widget.I18nDataConverter.toWidgetValue"> |
|
69 <code class="descname">toWidgetValue</code><span class="sig-paren">(</span><em>value</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_i18n.widget.I18nDataConverter.toWidgetValue" title="Permalink to this definition">¶</a></dt> |
|
70 <dd></dd></dl> |
|
71 |
|
72 </dd></dl> |
|
73 |
|
74 <dl class="function"> |
|
75 <dt id="pyams_i18n.widget.I18nFileFieldWidget"> |
|
76 <code class="descclassname">pyams_i18n.widget.</code><code class="descname">I18nFileFieldWidget</code><span class="sig-paren">(</span><em>field</em>, <em>request</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_i18n.widget.I18nFileFieldWidget" title="Permalink to this definition">¶</a></dt> |
|
77 <dd><p>I18n file field widget factory</p> |
|
78 </dd></dl> |
|
79 |
|
80 <dl class="class"> |
|
81 <dt id="pyams_i18n.widget.I18nFileWidget"> |
|
82 <em class="property">class </em><code class="descclassname">pyams_i18n.widget.</code><code class="descname">I18nFileWidget</code><span class="sig-paren">(</span><em>request</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_i18n.widget.I18nFileWidget" title="Permalink to this definition">¶</a></dt> |
|
83 <dd><p>Bases: <a class="reference internal" href="#pyams_i18n.widget.I18nWidget" title="pyams_i18n.widget.I18nWidget"><code class="xref py py-class docutils literal"><span class="pre">pyams_i18n.widget.I18nWidget</span></code></a></p> |
|
84 <p>I18n file widget</p> |
|
85 </dd></dl> |
|
86 |
|
87 <dl class="function"> |
|
88 <dt id="pyams_i18n.widget.I18nHTMLFieldWidget"> |
|
89 <code class="descclassname">pyams_i18n.widget.</code><code class="descname">I18nHTMLFieldWidget</code><span class="sig-paren">(</span><em>field</em>, <em>request</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_i18n.widget.I18nHTMLFieldWidget" title="Permalink to this definition">¶</a></dt> |
|
90 <dd><p>I18n HTML field widget factory</p> |
|
91 </dd></dl> |
|
92 |
|
93 <dl class="class"> |
|
94 <dt id="pyams_i18n.widget.I18nHTMLWidget"> |
|
95 <em class="property">class </em><code class="descclassname">pyams_i18n.widget.</code><code class="descname">I18nHTMLWidget</code><span class="sig-paren">(</span><em>request</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_i18n.widget.I18nHTMLWidget" title="Permalink to this definition">¶</a></dt> |
|
96 <dd><p>Bases: <a class="reference internal" href="#pyams_i18n.widget.I18nWidget" title="pyams_i18n.widget.I18nWidget"><code class="xref py py-class docutils literal"><span class="pre">pyams_i18n.widget.I18nWidget</span></code></a></p> |
|
97 <p>I18n HTML widget</p> |
|
98 </dd></dl> |
|
99 |
|
100 <dl class="function"> |
|
101 <dt id="pyams_i18n.widget.I18nSEOTextLineFieldWidget"> |
|
102 <code class="descclassname">pyams_i18n.widget.</code><code class="descname">I18nSEOTextLineFieldWidget</code><span class="sig-paren">(</span><em>field</em>, <em>request</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_i18n.widget.I18nSEOTextLineFieldWidget" title="Permalink to this definition">¶</a></dt> |
|
103 <dd><p>I18n text line field widget with SEO quality marker factory</p> |
|
104 </dd></dl> |
|
105 |
|
106 <dl class="class"> |
|
107 <dt id="pyams_i18n.widget.I18nSEOTextLineWidget"> |
|
108 <em class="property">class </em><code class="descclassname">pyams_i18n.widget.</code><code class="descname">I18nSEOTextLineWidget</code><span class="sig-paren">(</span><em>request</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_i18n.widget.I18nSEOTextLineWidget" title="Permalink to this definition">¶</a></dt> |
|
109 <dd><p>Bases: <a class="reference internal" href="#pyams_i18n.widget.I18nTextLineWidget" title="pyams_i18n.widget.I18nTextLineWidget"><code class="xref py py-class docutils literal"><span class="pre">pyams_i18n.widget.I18nTextLineWidget</span></code></a></p> |
|
110 <p>I18n text line widget with SEO quality marker</p> |
|
111 </dd></dl> |
|
112 |
|
113 <dl class="function"> |
|
114 <dt id="pyams_i18n.widget.I18nTextFieldWidget"> |
|
115 <code class="descclassname">pyams_i18n.widget.</code><code class="descname">I18nTextFieldWidget</code><span class="sig-paren">(</span><em>field</em>, <em>request</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_i18n.widget.I18nTextFieldWidget" title="Permalink to this definition">¶</a></dt> |
|
116 <dd><p>I18n text field widget factory</p> |
|
117 </dd></dl> |
|
118 |
|
119 <dl class="function"> |
|
120 <dt id="pyams_i18n.widget.I18nTextLineFieldWidget"> |
|
121 <code class="descclassname">pyams_i18n.widget.</code><code class="descname">I18nTextLineFieldWidget</code><span class="sig-paren">(</span><em>field</em>, <em>request</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_i18n.widget.I18nTextLineFieldWidget" title="Permalink to this definition">¶</a></dt> |
|
122 <dd><p>I18n text line field widget factory</p> |
|
123 </dd></dl> |
|
124 |
|
125 <dl class="class"> |
|
126 <dt id="pyams_i18n.widget.I18nTextLineWidget"> |
|
127 <em class="property">class </em><code class="descclassname">pyams_i18n.widget.</code><code class="descname">I18nTextLineWidget</code><span class="sig-paren">(</span><em>request</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_i18n.widget.I18nTextLineWidget" title="Permalink to this definition">¶</a></dt> |
|
128 <dd><p>Bases: <a class="reference internal" href="#pyams_i18n.widget.I18nWidget" title="pyams_i18n.widget.I18nWidget"><code class="xref py py-class docutils literal"><span class="pre">pyams_i18n.widget.I18nWidget</span></code></a></p> |
|
129 <p>I18n text line widget</p> |
|
130 </dd></dl> |
|
131 |
|
132 <dl class="class"> |
|
133 <dt id="pyams_i18n.widget.I18nTextWidget"> |
|
134 <em class="property">class </em><code class="descclassname">pyams_i18n.widget.</code><code class="descname">I18nTextWidget</code><span class="sig-paren">(</span><em>request</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_i18n.widget.I18nTextWidget" title="Permalink to this definition">¶</a></dt> |
|
135 <dd><p>Bases: <a class="reference internal" href="#pyams_i18n.widget.I18nWidget" title="pyams_i18n.widget.I18nWidget"><code class="xref py py-class docutils literal"><span class="pre">pyams_i18n.widget.I18nWidget</span></code></a></p> |
|
136 <p>I18n text widget</p> |
|
137 </dd></dl> |
|
138 |
|
139 <dl class="class"> |
|
140 <dt id="pyams_i18n.widget.I18nWidget"> |
|
141 <em class="property">class </em><code class="descclassname">pyams_i18n.widget.</code><code class="descname">I18nWidget</code><span class="sig-paren">(</span><em>request</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_i18n.widget.I18nWidget" title="Permalink to this definition">¶</a></dt> |
|
142 <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">z3c.form.browser.widget.HTMLInputWidget</span></code>, <code class="xref py py-class docutils literal"><span class="pre">z3c.form.widget.Widget</span></code></p> |
|
143 <p>I18n base widget</p> |
|
144 <dl class="method"> |
|
145 <dt id="pyams_i18n.widget.I18nWidget.extract"> |
|
146 <code class="descname">extract</code><span class="sig-paren">(</span><em>default=<NO_VALUE></em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_i18n.widget.I18nWidget.extract" title="Permalink to this definition">¶</a></dt> |
|
147 <dd></dd></dl> |
|
148 |
|
149 <dl class="method"> |
|
150 <dt id="pyams_i18n.widget.I18nWidget.get_value"> |
|
151 <code class="descname">get_value</code><span class="sig-paren">(</span><em>lang</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_i18n.widget.I18nWidget.get_value" title="Permalink to this definition">¶</a></dt> |
|
152 <dd></dd></dl> |
|
153 |
|
154 <dl class="method"> |
|
155 <dt id="pyams_i18n.widget.I18nWidget.get_widget"> |
|
156 <code class="descname">get_widget</code><span class="sig-paren">(</span><em>lang</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_i18n.widget.I18nWidget.get_widget" title="Permalink to this definition">¶</a></dt> |
|
157 <dd></dd></dl> |
|
158 |
|
159 <dl class="attribute"> |
|
160 <dt id="pyams_i18n.widget.I18nWidget.langs"> |
|
161 <code class="descname">langs</code><a class="headerlink" href="#pyams_i18n.widget.I18nWidget.langs" title="Permalink to this definition">¶</a></dt> |
|
162 <dd></dd></dl> |
|
163 |
|
164 <dl class="method"> |
|
165 <dt id="pyams_i18n.widget.I18nWidget.update"> |
|
166 <code class="descname">update</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_i18n.widget.I18nWidget.update" title="Permalink to this definition">¶</a></dt> |
|
167 <dd></dd></dl> |
|
168 |
|
169 <dl class="attribute"> |
|
170 <dt id="pyams_i18n.widget.I18nWidget.widget_factory"> |
|
171 <code class="descname">widget_factory</code><em class="property"> = None</em><a class="headerlink" href="#pyams_i18n.widget.I18nWidget.widget_factory" title="Permalink to this definition">¶</a></dt> |
|
172 <dd></dd></dl> |
|
173 |
|
174 </dd></dl> |
|
175 |
|
176 </div> |
|
177 </div> |
|
178 |
|
179 |
|
180 </div> |
|
181 </div> |
|
182 </div> |
|
183 <div class="sphinxsidebar" role="navigation" aria-label="main navigation"> |
|
184 <div class="sphinxsidebarwrapper"> |
|
185 <h3><a href="index.html">Table Of Contents</a></h3> |
|
186 <ul> |
|
187 <li><a class="reference internal" href="#">pyams_i18n.widget package</a><ul> |
|
188 <li><a class="reference internal" href="#module-pyams_i18n.widget">Module contents</a></li> |
|
189 </ul> |
|
190 </li> |
|
191 </ul> |
|
192 |
|
193 <div id="searchbox" style="display: none" role="search"> |
|
194 <h3>Quick search</h3> |
|
195 <form class="search" action="search.html" method="get"> |
|
196 <div><input type="text" name="q" /></div> |
|
197 <div><input type="submit" value="Go" /></div> |
|
198 <input type="hidden" name="check_keywords" value="yes" /> |
|
199 <input type="hidden" name="area" value="default" /> |
|
200 </form> |
|
201 </div> |
|
202 <script type="text/javascript">$('#searchbox').show(0);</script> |
|
203 </div> |
|
204 </div> |
|
205 <div class="clearer"></div> |
|
206 </div> |
|
207 <div class="related" role="navigation" aria-label="related navigation"> |
|
208 <h3>Navigation</h3> |
|
209 <ul> |
|
210 <li class="right" style="margin-right: 10px"> |
|
211 <a href="genindex.html" title="General Index" |
|
212 >index</a></li> |
|
213 <li class="right" > |
|
214 <a href="py-modindex.html" title="Python Module Index" |
|
215 >modules</a> |</li> |
|
216 <li class="nav-item nav-item-0"><a href="index.html">PyAMS User Guide 0.1.0 documentation</a> »</li> |
|
217 </ul> |
|
218 </div> |
|
219 <div class="footer" role="contentinfo"> |
|
220 © Copyright 2017, Thierry Florac. |
|
221 Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.6.5. |
|
222 </div> |
|
223 </body> |
|
224 </html> |