]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
libpeas-gtk-1.0: Add bindings based on 1.8.1
authorRico Tzschichholz <ricotz@t-online.de>
Wed, 27 Nov 2013 12:24:05 +0000 (13:24 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Wed, 27 Nov 2013 12:24:05 +0000 (13:24 +0100)
vapi/Makefile.am
vapi/libpeas-gtk-1.0.deps [new file with mode: 0644]
vapi/libpeas-gtk-1.0.vapi [new file with mode: 0644]

index 9855c288cb69570e1d4287f28eccc8bbbf554155..00318391870f4169143543996613152fe72d213f 100644 (file)
@@ -206,6 +206,8 @@ dist_vapi_DATA = \
        libpanelapplet-2.0.vapi \
        libpeas-1.0.deps \
        libpeas-1.0.vapi \
+       libpeas-gtk-1.0.deps \
+       libpeas-gtk-1.0.vapi \
        libpq.vapi \
        librsvg-2.0.vapi \
        librsvg-2.0.deps \
@@ -397,6 +399,7 @@ GIR_BINDINGS = \
        libgdata \
        libgnome-menu-3.0 \
        libpeas-1.0 \
+       libpeas-gtk-1.0 \
        libsoup-2.4 \
        libwnck-3.0 \
        mx-1.0 \
@@ -682,6 +685,9 @@ liboobs-1:
 libpeas-1.0:
        $(GENVAPI) --library $(srcdir)/libpeas-1.0 --pkg gio-2.0 --metadatadir $(METADATADIR) $(GIRDIR)/Peas-1.0.gir
 
+libpeas-gtk-1.0:
+       $(GENVAPI) --library $(srcdir)/libpeas-gtk-1.0 --pkg libpeas-1.0 --pkg gtk+-3.0 --metadatadir $(METADATADIR) $(GIRDIR)/PeasGtk-1.0.gir
+
 librsvg-2.0:
        $(GENVAPI) --library $(srcdir)/librsvg-2.0 $(PACKAGESDIR)/librsvg-2.0/librsvg-2.0.gi
 
diff --git a/vapi/libpeas-gtk-1.0.deps b/vapi/libpeas-gtk-1.0.deps
new file mode 100644 (file)
index 0000000..f32901e
--- /dev/null
@@ -0,0 +1,2 @@
+gtk+-3.0
+libpeas-1.0
diff --git a/vapi/libpeas-gtk-1.0.vapi b/vapi/libpeas-gtk-1.0.vapi
new file mode 100644 (file)
index 0000000..491d34d
--- /dev/null
@@ -0,0 +1,34 @@
+/* libpeas-gtk-1.0.vapi generated by vapigen, do not modify. */
+
+[CCode (cprefix = "PeasGtk", gir_namespace = "PeasGtk", gir_version = "1.0", lower_case_cprefix = "peas_gtk_")]
+namespace PeasGtk {
+       [CCode (cheader_filename = "libpeas-gtk/peas-gtk.h", type_id = "peas_gtk_plugin_manager_get_type ()")]
+       public class PluginManager : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
+               [CCode (has_construct_function = false, type = "GtkWidget*")]
+               public PluginManager (Peas.Engine? engine);
+               public unowned Gtk.Widget get_view ();
+               [NoAccessorMethod]
+               public Peas.Engine engine { owned get; construct; }
+               public PeasGtk.PluginManagerView view { get; construct; }
+       }
+       [CCode (cheader_filename = "libpeas-gtk/peas-gtk.h", type_id = "peas_gtk_plugin_manager_view_get_type ()")]
+       public class PluginManagerView : Gtk.TreeView, Atk.Implementor, Gtk.Buildable, Gtk.Scrollable {
+               [CCode (has_construct_function = false, type = "GtkWidget*")]
+               public PluginManagerView (Peas.Engine? engine);
+               public unowned Peas.PluginInfo get_selected_plugin ();
+               [Deprecated (since = "1.2")]
+               public bool get_show_builtin ();
+               public void set_selected_plugin (Peas.PluginInfo info);
+               [Deprecated (since = "1.2")]
+               public void set_show_builtin (bool show_builtin);
+               [NoAccessorMethod]
+               public Peas.Engine engine { owned get; construct; }
+               [Deprecated (since = "1.2")]
+               public bool show_builtin { get; set; }
+               public virtual signal void populate_popup (Gtk.Menu menu);
+       }
+       [CCode (cheader_filename = "libpeas-gtk/peas-gtk.h", type_cname = "PeasGtkConfigurableInterface", type_id = "peas_gtk_configurable_get_type ()")]
+       public interface Configurable : GLib.Object {
+               public abstract Gtk.Widget create_configure_widget ();
+       }
+}