File: scripterapi-select.html

package info (click to toggle)
scribus-doc 1.5.6.1%2Bdfsg-1
  • links: PTS, VCS
  • area: non-free
  • in suites: bullseye
  • size: 59,640 kB
  • sloc: xml: 767; python: 157; makefile: 14
file content (40 lines) | stat: -rw-r--r-- 1,431 bytes parent folder | download | duplicates (2)
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
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
	<title>Selecting Objects</title>
</head>
<style>
@import "manual.css";
</style>
<body>
<h2>Selecting Objects</h2>

<dl>

<dt><a name="-deselectAll"><strong>deselectAll</strong></a>(...)</dt>
<dd><code>deselectAll()</code>
<p>Deselects all objects in the whole document.</p></dd></dt>

<dt><a name="-getSelectedObject"><strong>getSelectedObject</strong></a>(...)</dt>
<dd><code>getSelectedObject([nr]) -&gt; string</code>
<p>Returns the name of the selected object. "nr" if given indicates the number of the selected object, e.g. 0 means the first selected object, 1 means the second selected Object and so on.</p></dd>

<dt><a name="-moveSelectionToBack"><strong>moveSelectionToBack</strong></a>(...)</dt>
<dd><code>moveSelectionToBack()</code>
<p>Moves the current selection to the back.</p></dd>

<dt><a name="-moveSelectionToFront"><strong>moveSelectionToFront</strong></a>(...)</dt>
<dd><code>moveSelectionToFront()</code>
<p>Moves the current selection to the front.</p></dd>

<dt><a name="-selectionCount"><strong>selectionCount</strong></a>(...)</dt>
<dd><code>selectionCount() -&gt; integer</code>
<p>Returns the number of selected objects.</p></dd>

<dt><a name="-selectObject"><strong>selectObject</strong></a>(...)</dt>
<dd><code>selectObject("name")</code>
<p>Selects the object with the given "name".</p></dd>

</dl>
</body>
</html>