aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/ns
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-12-28 21:46:18 +0000
committerDavid Robillard <d@drobilla.net>2011-12-28 21:46:18 +0000
commit225de154fe42f714b0f784357e854e20e2e811c1 (patch)
treee2f02c9e95aa0262e518a88e5abfdc8db259bfce /lv2/ns
parent8ce3cf93e74bb55145e1417ddb4327c0716fed16 (diff)
downloadlv2-225de154fe42f714b0f784357e854e20e2e811c1.tar.xz
Add ui:parent.
Diffstat (limited to 'lv2/ns')
-rw-r--r--lv2/ns/extensions/ui/lv2-ui.doap.ttl8
-rw-r--r--lv2/ns/extensions/ui/manifest.ttl2
-rw-r--r--lv2/ns/extensions/ui/ui.ttl15
3 files changed, 24 insertions, 1 deletions
diff --git a/lv2/ns/extensions/ui/lv2-ui.doap.ttl b/lv2/ns/extensions/ui/lv2-ui.doap.ttl
index 320e2f2..5b8ca9e 100644
--- a/lv2/ns/extensions/ui/lv2-ui.doap.ttl
+++ b/lv2/ns/extensions/ui/lv2-ui.doap.ttl
@@ -22,6 +22,14 @@
] ;
doap:maintainer <http://drobilla.net/drobilla#me> ;
doap:release [
+ doap:revision "2.5" ;
+ doap:created "2011-12-28" ;
+ dcs:changeset [
+ dcs:item [
+ rdfs:label "Add ui:parent."
+ ]
+ ]
+ ] , [
doap:revision "2.4" ;
doap:created "2011-11-21" ;
doap:file-release <http://lv2plug.in/spec/lv2-ui-2.4.tar.bz2> ;
diff --git a/lv2/ns/extensions/ui/manifest.ttl b/lv2/ns/extensions/ui/manifest.ttl
index dfa6d70..28412c4 100644
--- a/lv2/ns/extensions/ui/manifest.ttl
+++ b/lv2/ns/extensions/ui/manifest.ttl
@@ -4,6 +4,6 @@
<http://lv2plug.in/ns/extensions/ui>
a lv2:Specification ;
lv2:minorVersion 2 ;
- lv2:microVersion 4 ;
+ lv2:microVersion 5 ;
rdfs:seeAlso <ui.ttl> ,
<lv2-ui.doap.ttl> .
diff --git a/lv2/ns/extensions/ui/ui.ttl b/lv2/ns/extensions/ui/ui.ttl
index f62569a..9eb0933 100644
--- a/lv2/ns/extensions/ui/ui.ttl
+++ b/lv2/ns/extensions/ui/ui.ttl
@@ -169,6 +169,21 @@ The data pointer for the LV2_Feature for this feature should always be set
to NULL.</p>
""" .
+ui:parent
+ a lv2:Feature ;
+ lv2:documentation """
+<p>The parent for the UI.</p>
+
+<p>This feature can be used to pass a parent (e.g. a widget, container, canvas,
+etc.) the UI should be a child of. The format of data pointer of this feature
+is determined by the UI type, and is generally the same type as the LV2_Widget
+the UI would return (e.g. for a GtkUI the data would be a pointer to a
+GtkWidget which is a GtkContainer). This is particularly useful for
+cross-toolkit embedding, where the parent often must be known at construction
+time for embedding to work correctly. UIs should not require this feature
+unless it is absolutely necessary for them to work at all.</p>
+""" .
+
ui:PortNotification
a rdfs:Class ,
owl:Class ;