summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@t-online.de>2013-11-27 13:24:05 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2013-11-27 13:24:05 +0100
commit2632c3cc9130b23a823c15006c6cf545f3c08feb (patch)
tree3c295d36fbf3f5436f1c9b830296d077f4c1807a
parentbdf572331bcca90f192d50cb79d97ca67ac43d90 (diff)
downloadvala-2632c3cc9130b23a823c15006c6cf545f3c08feb.tar.gz
libpeas-gtk-1.0: Add bindings based on 1.8.1
-rw-r--r--vapi/Makefile.am6
-rw-r--r--vapi/libpeas-gtk-1.0.deps2
-rw-r--r--vapi/libpeas-gtk-1.0.vapi34
3 files changed, 42 insertions, 0 deletions
diff --git a/vapi/Makefile.am b/vapi/Makefile.am
index 9855c288c..003183918 100644
--- a/vapi/Makefile.am
+++ b/vapi/Makefile.am
@@ -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
index 000000000..f32901e0f
--- /dev/null
+++ b/vapi/libpeas-gtk-1.0.deps
@@ -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
index 000000000..491d34d36
--- /dev/null
+++ b/vapi/libpeas-gtk-1.0.vapi
@@ -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 ();
+ }
+}