summaryrefslogtreecommitdiffstats
path: root/src/extension/dbus/document-interface.xml
diff options
context:
space:
mode:
authorSoren Berg <glimmer07@gmail.com>2009-07-16 16:01:55 +0000
committerglimmer07 <glimmer07@users.sourceforge.net>2009-07-16 16:01:55 +0000
commitc819feae71738f973920724e60029397dd1c92a1 (patch)
treec0aed017502507398d659022b67d576169a698f3 /src/extension/dbus/document-interface.xml
parentimplemented a number of functions, including save/load functions. (diff)
downloadinkscape-c819feae71738f973920724e60029397dd1c92a1.tar.gz
inkscape-c819feae71738f973920724e60029397dd1c92a1.zip
Added missing (and very important) file.
Added get_path method. Added documentation on paths. (bzr r8254.1.13)
Diffstat (limited to 'src/extension/dbus/document-interface.xml')
-rw-r--r--src/extension/dbus/document-interface.xml24
1 files changed, 22 insertions, 2 deletions
diff --git a/src/extension/dbus/document-interface.xml b/src/extension/dbus/document-interface.xml
index f79816de1..14be0312b 100644
--- a/src/extension/dbus/document-interface.xml
+++ b/src/extension/dbus/document-interface.xml
@@ -556,6 +556,27 @@
<doc:para>After doing this you will no longer be able to modify the shape using shape specific attributes (cx, radius etc.) except transform</doc:para>
<doc:para>Required for certain functions that work on paths (not yet present in this API.)</doc:para>
</doc:description>
+ <doc:seealso><doc:ref type="interface" to="Paths">Paths</doc:ref></doc:seealso>
+ </doc:doc>
+ </method>
+
+ <method name="get_path">
+ <arg type="s" name="shape" direction="in" >
+ <doc:doc>
+ <doc:summary>The id of an object.</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg type="s" name="val" direction="out" >
+ <annotation name="org.freedesktop.DBus.GLib.ReturnVal" value="error"/>
+ <doc:doc>
+ <doc:summary>The path of the object. NULL if the object has no path.</doc:summary>
+ </doc:doc>
+ </arg>
+ <doc:doc>
+ <doc:description>
+ <doc:para>Get the path value of an object. Equivilent to calling <doc:ref type="method" to="document.get_attribte">get_attribte()</doc:ref> with argument "d". Will not turn object into a path if it is not already.</doc:para>
+ </doc:description>
+ <doc:seealso><doc:ref type="interface" to="Paths">Paths</doc:ref></doc:seealso>
</doc:doc>
</method>
@@ -799,8 +820,7 @@
<!-- SELECTION FUNCTIONS -->
<method name="selection_get">
- <arg type="as" name="list" direction="out" >
- <annotation name="org.freedesktop.DBus.GLib.ReturnVal" value=""/>
+ <arg type="as" name="listy" direction="out" >
<doc:doc>
<doc:summary>List of the ids of currently selected objects.</doc:summary>
</doc:doc>