eric6/Documentation/Source/eric6.Templates.TemplateViewer.html

changeset 8049
af58c1d47e5e
parent 7989
a21d673a8f99
equal deleted inserted replaced
8048:aa1a01274673 8049:af58c1d47e5e
762 <td><a href="#TemplateViewer.save">save</a></td> 762 <td><a href="#TemplateViewer.save">save</a></td>
763 <td>Public slot to save the templates.</td> 763 <td>Public slot to save the templates.</td>
764 </tr> 764 </tr>
765 <tr> 765 <tr>
766 <td><a href="#TemplateViewer.writeTemplates">writeTemplates</a></td> 766 <td><a href="#TemplateViewer.writeTemplates">writeTemplates</a></td>
767 <td>Public method to write the templates data to an XML file (.e4c).</td> 767 <td>Public method to write the templates data to a JSON file (.ecj).</td>
768 </tr> 768 </tr>
769 </table> 769 </table>
770 <h3>Static Methods</h3> 770 <h3>Static Methods</h3>
771 771
772 <table> 772 <table>
1145 <p> 1145 <p>
1146 Public method to read in the templates file (.e4c). 1146 Public method to read in the templates file (.e4c).
1147 </p> 1147 </p>
1148 <dl> 1148 <dl>
1149 1149
1150 <dt><i>filename</i></dt> 1150 <dt><i>filename</i> (str)</dt>
1151 <dd> 1151 <dd>
1152 name of a templates file to read (string) 1152 name of a templates file to read
1153 </dd> 1153 </dd>
1154 </dl> 1154 </dl>
1155 <a NAME="TemplateViewer.removeEntry" ID="TemplateViewer.removeEntry"></a> 1155 <a NAME="TemplateViewer.removeEntry" ID="TemplateViewer.removeEntry"></a>
1156 <h4>TemplateViewer.removeEntry</h4> 1156 <h4>TemplateViewer.removeEntry</h4>
1157 <b>removeEntry</b>(<i>itm</i>) 1157 <b>removeEntry</b>(<i>itm</i>)
1190 <a NAME="TemplateViewer.writeTemplates" ID="TemplateViewer.writeTemplates"></a> 1190 <a NAME="TemplateViewer.writeTemplates" ID="TemplateViewer.writeTemplates"></a>
1191 <h4>TemplateViewer.writeTemplates</h4> 1191 <h4>TemplateViewer.writeTemplates</h4>
1192 <b>writeTemplates</b>(<i>filename=None</i>) 1192 <b>writeTemplates</b>(<i>filename=None</i>)
1193 1193
1194 <p> 1194 <p>
1195 Public method to write the templates data to an XML file (.e4c). 1195 Public method to write the templates data to a JSON file (.ecj).
1196 </p> 1196 </p>
1197 <dl> 1197 <dl>
1198 1198
1199 <dt><i>filename</i></dt> 1199 <dt><i>filename</i> (str)</dt>
1200 <dd> 1200 <dd>
1201 name of a templates file to read (string) 1201 name of a templates file to write
1202 </dd> 1202 </dd>
1203 </dl> 1203 </dl>
1204 <dl> 1204 <dl>
1205 <dt>Return:</dt> 1205 <dt>Return:</dt>
1206 <dd> 1206 <dd>
1207 flag indicating success (boolean) 1207 flag indicating success
1208 </dd>
1209 </dl>
1210 <dl>
1211 <dt>Return Type:</dt>
1212 <dd>
1213 bool
1208 </dd> 1214 </dd>
1209 </dl> 1215 </dl>
1210 <div align="right"><a href="#top">Up</a></div> 1216 <div align="right"><a href="#top">Up</a></div>
1211 <hr /> 1217 <hr />
1212 </body></html> 1218 </body></html>

eric ide

mercurial