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/ui.ttl | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'lv2/ns/extensions/ui/ui.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.

""" . +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