From d7e9c89138bbcad24dbdf858a04ef7c7229f133c Mon Sep 17 00:00:00 2001 From: Lars Luthman Date: Mon, 28 Mar 2011 14:20:20 +0000 Subject: Moved ui -> pui --- ext/pui-gtk.lv2/pui-gtk.ttl | 78 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 ext/pui-gtk.lv2/pui-gtk.ttl (limited to 'ext/pui-gtk.lv2/pui-gtk.ttl') diff --git a/ext/pui-gtk.lv2/pui-gtk.ttl b/ext/pui-gtk.lv2/pui-gtk.ttl new file mode 100644 index 0000000..5bce34e --- /dev/null +++ b/ext/pui-gtk.lv2/pui-gtk.ttl @@ -0,0 +1,78 @@ +# Gtk UI extension for the plugin UI extension +# +# Copyright (C) 2010-2011 Lars Luthman +# +# based on lv2.ttl, which is +# Copyright (C) 2006-2008 Steve Harris, David Robillard +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included +# in all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR +# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +# OTHER DEALINGS IN THE SOFTWARE. + +@prefix pui-gtk: . +@prefix pui: . +@prefix lv2: . +@prefix rdf: . +@prefix rdfs: . +@prefix doap: . +@prefix foaf: . + + a lv2:Specification ; + doap:license ; + doap:name "LV2 Gtk+ UI" ; + doap:release [ + doap:revision "0.1" ; + doap:created "2011-03-26" + ]; + doap:maintainer [ + a foaf:Person; + foaf:name "Lars Luthman"; + foaf:mbox ; + ]; + lv2:documentation """ +This extension defines an UI type for the in-process UI extension that can be +used in a Gtk+ program. +""". + +pui-gtk:GtkUI a rdfs:Class; + rdfs:subClassOf pui:UI; + rdfs:label "Gtk+ UI"; + lv2:documentation """ +

The class which represents a Gtk+ UI. For a successfully created instance of +an UI of this class, the get_widget() function MUST return a pointer to a valid +GtkWidget object compatible with Gtk+ version 2.0. The host MUST ensure that +the Gtk+ library has been initialised and that the Glib main loop is running +before an UI of this type is instantiated.

+ +

Unless otherwise specified by extensions, all function pointers in +LV2_PUI_Descriptor may only be called from the thread that runs the Glib main +loop.

+""" . + +pui-gtk:noHostResize a lv2:Feature; + rdfs:label "No host resize"; + lv2:documentation """ +

This Feature should only be used with UIs.

+ +

When this Feature is active the host SHOULD NOT resize the UI widget to any +other size than the one given by gtk_widget_size_request(). However, the UI +MUST NOT break if the widget is resized to another size. This Feature can be +used for example when the widget uses a fixed-size pixmap interface.

+ +

The data pointer in the LV2_Feature object for this Feature should be set to +NULL.

+""". -- cgit v1.2.1