From 225de154fe42f714b0f784357e854e20e2e811c1 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 28 Dec 2011 21:46:18 +0000 Subject: Add ui:parent. --- lv2/ns/extensions/ui/lv2-ui.doap.ttl | 8 ++++++++ lv2/ns/extensions/ui/manifest.ttl | 2 +- lv2/ns/extensions/ui/ui.ttl | 15 +++++++++++++++ 3 files changed, 24 insertions(+), 1 deletion(-) (limited to 'lv2/ns/extensions') 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 ; 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 ; 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 @@ a lv2:Specification ; lv2:minorVersion 2 ; - lv2:microVersion 4 ; + lv2:microVersion 5 ; rdfs:seeAlso , . 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.

""" . +ui:parent + a lv2:Feature ; + lv2:documentation """ +

The parent for the UI.

+ +

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.

+""" . + ui:PortNotification a rdfs:Class , owl:Class ; -- cgit v1.2.1