File: plugin-python-console.page

package info (click to toggle)
eog 47.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 16,872 kB
  • sloc: ansic: 27,038; python: 347; xml: 28; makefile: 13; javascript: 9
file content (47 lines) | stat: -rw-r--r-- 1,560 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<page xmlns="http://projectmallard.org/1.0/"
      type="topic" style="task"
      id="plugin-python-console">

  <info>
   <link type="guide" xref="index#advanced"/>
   <desc>The Python console can be used to add extra functions and run scripts in the image viewer.</desc>

   <revision pkgversion="3.24" version="0.1" date="2011-09-05" status="final"/>
   <revision pkgversion="3.31.90" version="0.2" date="2019-03-03" status="final"/>
   <credit type="author">
     <name>Tiffany Antopolski</name>
     <email>tiffany.antopolski@gmail.com</email>
   </credit>
   <license>
     <p>Creative Commons Share Alike 3.0</p>
   </license>

  </info>

<title>Python console</title>

<p>The image viewer has a plugin system which uses the Python scripting 
 language. If you activate the <em>Python console</em>, you can gain direct 
 access to a Python interpreter from inside the image viewer, which you can 
 then use to write scripts or programmatically manipulate images, for example.</p>

<steps>
 <item>
  <p>In order to enable this feature, you need to have installed <link
  xref="plugins">eog-plugins</link>.</p>
 </item>
 <item>
  <p>Once <sys>eog-plugins</sys> is installed, press the menu button in the
  top-right corner of the window, select <gui style="menuitem">Preferences</gui>,
  and go to the <gui>Plugins</gui> tab.</p>
 </item>
 <item>
  <p>Check <gui>Python Console</gui> and close the dialog.</p>
 </item>
 <item>
  <p>Click the <gui style="menuitem">Python Console</gui> menu item to 
  bring up the console.</p>
 </item>
</steps>

</page>