eric6/Documentation/Source/eric6.Preferences.ProgramsDialog.html

branch
maintenance
changeset 8043
0acf98cd089a
parent 7989
a21d673a8f99
equal deleted inserted replaced
7991:866adc8c315b 8043:0acf98cd089a
139 version string to show (string). 139 version string to show (string).
140 </dd> 140 </dd>
141 </dl> 141 </dl>
142 <a NAME="ProgramsDialog.__createProgramEntry" ID="ProgramsDialog.__createProgramEntry"></a> 142 <a NAME="ProgramsDialog.__createProgramEntry" ID="ProgramsDialog.__createProgramEntry"></a>
143 <h4>ProgramsDialog.__createProgramEntry</h4> 143 <h4>ProgramsDialog.__createProgramEntry</h4>
144 <b>__createProgramEntry</b>(<i>description, exe, versionCommand="", versionStartsWith="", versionPosition=0, version="", versionCleanup=None, versionRe=None, exeModule=None</i>) 144 <b>__createProgramEntry</b>(<i>description, exe, versionCommand="", versionStartsWith="", versionPosition=None, version="", versionCleanup=None, versionRe=None, exeModule=None</i>)
145 145
146 <p> 146 <p>
147 Private method to generate a program entry. 147 Private method to generate a program entry.
148 </p> 148 </p>
149 <dl> 149 <dl>
169 <dt><i>versionPosition</i></dt> 169 <dt><i>versionPosition</i></dt>
170 <dd> 170 <dd>
171 index of part containing the version info 171 index of part containing the version info
172 (integer) 172 (integer)
173 </dd> 173 </dd>
174 <dt><i>version=</i></dt> 174 <dt><i>version</i></dt>
175 <dd> 175 <dd>
176 version string to show (string) 176 version string to show (string)
177 </dd> 177 </dd>
178 <dt><i>versionCleanup=</i></dt> 178 <dt><i>versionCleanup</i></dt>
179 <dd> 179 <dd>
180 tuple of two integers giving string positions 180 tuple of two integers giving string positions
181 start and stop for the version string (tuple of integers) 181 start and stop for the version string (tuple of integers)
182 </dd> 182 </dd>
183 <dt><i>versionRe=</i></dt> 183 <dt><i>versionRe</i></dt>
184 <dd> 184 <dd>
185 regexp to determine the line identifying version 185 regexp to determine the line identifying version
186 info (string). Takes precedence over versionStartsWith. 186 info (string). Takes precedence over versionStartsWith.
187 </dd> 187 </dd>
188 <dt><i>exeModule=</i></dt> 188 <dt><i>exeModule</i></dt>
189 <dd> 189 <dd>
190 list of command line parameters to execute a module 190 list of command line parameters to execute a module
191 with the program given in exe (e.g. to execute a Python module) 191 with the program given in exe (e.g. to execute a Python module)
192 (list of str) 192 (list of str)
193 </dd> 193 </dd>
194 </dl> 194 </dl>
195 <dl> 195 <dl>
196 <dt>Returns:</dt> 196 <dt>Return:</dt>
197 <dd> 197 <dd>
198 version string of detected or given version (string) 198 version string of detected or given version (string)
199 </dd> 199 </dd>
200 </dl> 200 </dl>
201 <a NAME="ProgramsDialog.on_buttonBox_clicked" ID="ProgramsDialog.on_buttonBox_clicked"></a> 201 <a NAME="ProgramsDialog.on_buttonBox_clicked" ID="ProgramsDialog.on_buttonBox_clicked"></a>

eric ide

mercurial