Documentation/Source/eric6.Preferences.ProgramsDialog.html

changeset 5972
8499df251632
parent 3673
e26d7d0c1088
equal deleted inserted replaced
5971:768aef1ec205 5972:8499df251632
106 <dd> 106 <dd>
107 version string to show (string). 107 version string to show (string).
108 </dd> 108 </dd>
109 </dl><a NAME="ProgramsDialog.__createProgramEntry" ID="ProgramsDialog.__createProgramEntry"></a> 109 </dl><a NAME="ProgramsDialog.__createProgramEntry" ID="ProgramsDialog.__createProgramEntry"></a>
110 <h4>ProgramsDialog.__createProgramEntry</h4> 110 <h4>ProgramsDialog.__createProgramEntry</h4>
111 <b>__createProgramEntry</b>(<i>description, exe, versionCommand="", versionStartsWith="", versionPosition=0, version="", versionCleanup=None, versionRe=None</i>) 111 <b>__createProgramEntry</b>(<i>description, exe, versionCommand="", versionStartsWith="", versionPosition=0, version="", versionCleanup=None, versionRe=None, exeModule=None</i>)
112 <p> 112 <p>
113 Private method to generate a program entry. 113 Private method to generate a program entry.
114 </p><dl> 114 </p><dl>
115 <dt><i>description</i></dt> 115 <dt><i>description</i></dt>
116 <dd> 116 <dd>
119 <dd> 119 <dd>
120 name of the executable program (string) 120 name of the executable program (string)
121 </dd><dt><i>versionCommand</i></dt> 121 </dd><dt><i>versionCommand</i></dt>
122 <dd> 122 <dd>
123 command line switch to get the version info 123 command line switch to get the version info
124 (string) if this is empty, the given version will be shown. 124 (str). If this is empty, the given version will be shown.
125 </dd><dt><i>versionStartsWith</i></dt> 125 </dd><dt><i>versionStartsWith</i></dt>
126 <dd> 126 <dd>
127 start of line identifying version info 127 start of line identifying version info
128 (string) 128 (string)
129 </dd><dt><i>versionPosition</i></dt> 129 </dd><dt><i>versionPosition</i></dt>
139 start and stop for the version string (tuple of integers) 139 start and stop for the version string (tuple of integers)
140 </dd><dt><i>versionRe=</i></dt> 140 </dd><dt><i>versionRe=</i></dt>
141 <dd> 141 <dd>
142 regexp to determine the line identifying version 142 regexp to determine the line identifying version
143 info (string). Takes precedence over versionStartsWith. 143 info (string). Takes precedence over versionStartsWith.
144 </dd><dt><i>exeModule=</i></dt>
145 <dd>
146 list of command line parameters to execute a module
147 with the program given in exe (e.g. to execute a Python module)
148 (list of str)
144 </dd> 149 </dd>
145 </dl><dl> 150 </dl><dl>
146 <dt>Returns:</dt> 151 <dt>Returns:</dt>
147 <dd> 152 <dd>
148 version string of detected or given version (string) 153 version string of detected or given version (string)

eric ide

mercurial