aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/ns/extensions/ui/ui.ttl
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/extensions/ui/ui.ttl
parent8ce3cf93e74bb55145e1417ddb4327c0716fed16 (diff)
downloadlv2-225de154fe42f714b0f784357e854e20e2e811c1.tar.xz
Add ui:parent.
Diffstat (limited to 'lv2/ns/extensions/ui/ui.ttl')
-rw-r--r--lv2/ns/extensions/ui/ui.ttl15
1 files changed, 15 insertions, 0 deletions
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 ;