From: Juerg Billeter Date: Mon, 21 Apr 2008 19:37:23 +0000 (+0000) Subject: add libsexy bindings, patch by Evan Nemerson, fixes bug 528314 X-Git-Tag: VALA_0_3_1~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7573d8baed6ec4f3affc45ad2918e4f8657f8522;p=thirdparty%2Fvala.git add libsexy bindings, patch by Evan Nemerson, fixes bug 528314 2008-04-21 Juerg Billeter * vapi/Makefile.am, vapi/libsexy.deps, vapi/libsexy.vapi, vapi/packages/libsexy/: add libsexy bindings, patch by Evan Nemerson, fixes bug 528314 svn path=/trunk/; revision=1296 --- diff --git a/ChangeLog b/ChangeLog index 15e5c3ff9..c2447546d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-04-21 Jürg Billeter + + * vapi/Makefile.am, vapi/libsexy.deps, vapi/libsexy.vapi, + vapi/packages/libsexy/: add libsexy bindings, + patch by Evan Nemerson, fixes bug 528314 + 2008-04-21 Jürg Billeter * vala/valaintegerliteral.vala, vala/valarealliteral.vala: diff --git a/vapi/Makefile.am b/vapi/Makefile.am index 575b1e13a..d9b1a914e 100644 --- a/vapi/Makefile.am +++ b/vapi/Makefile.am @@ -91,6 +91,8 @@ dist_vapi_DATA = \ liboobs-1.vapi \ libpanelapplet-2.0.deps \ libpanelapplet-2.0.vapi \ + libsexy.deps \ + libsexy.vapi \ libsoup-2.2.vapi \ libsoup-2.4.deps \ libsoup-2.4.vapi \ diff --git a/vapi/libsexy.deps b/vapi/libsexy.deps new file mode 100644 index 000000000..331f51479 --- /dev/null +++ b/vapi/libsexy.deps @@ -0,0 +1,6 @@ +gtk+-2.0 +atk +cairo +gdk-pixbuf-2.0 +gdk-2.0 +pango diff --git a/vapi/libsexy.vapi b/vapi/libsexy.vapi new file mode 100644 index 000000000..85a4cbcf7 --- /dev/null +++ b/vapi/libsexy.vapi @@ -0,0 +1,61 @@ +/* libsexy.vapi generated by lt-vapigen, do not modify. */ + +[CCode (cprefix = "Sexy", lower_case_cprefix = "sexy_")] +namespace Sexy { + [CCode (cprefix = "SEXY_ICON_ENTRY_", cheader_filename = "libsexy/sexy.h")] + public enum IconEntryPosition { + PRIMARY, + SECONDARY + } + [CCode (cprefix = "SEXY_SPELL_ERROR_", cheader_filename = "libsexy/sexy.h")] + public enum SpellError { + BACKEND + } + [CCode (cheader_filename = "libsexy/sexy.h")] + public class IconEntry : Gtk.Entry, Atk.Implementor, Gtk.Buildable, Gtk.Editable, Gtk.CellEditable { + public void add_clear_button (); + public weak Gtk.Image get_icon (Sexy.IconEntryPosition position); + public bool get_icon_highlight (Sexy.IconEntryPosition position); + public IconEntry (); + public void set_icon (Sexy.IconEntryPosition position, Gtk.Image icon); + public void set_icon_highlight (Sexy.IconEntryPosition position, bool highlight); + public signal void icon_pressed (int icon_pos, int button); + public signal void icon_released (int icon_pos, int button); + } + [CCode (cheader_filename = "libsexy/sexy.h")] + public class SpellEntry : Gtk.Entry, Atk.Implementor, Gtk.Buildable, Gtk.Editable, Gtk.CellEditable { + public void activate_default_languages (); + public bool activate_language (string lang) throws GLib.Error; + public void deactivate_language (string lang); + public weak GLib.SList get_active_languages (); + public weak string get_language_name (string lang); + public weak GLib.SList get_languages (); + public bool is_checked (); + public bool language_is_active (string lang); + public SpellEntry (); + public bool set_active_languages (GLib.SList langs) throws GLib.Error; + public void set_checked (bool checked); + public signal bool word_check (string word); + } + [CCode (cheader_filename = "libsexy/sexy.h")] + public class Tooltip : Gtk.Window, Atk.Implementor, Gtk.Buildable { + public Tooltip (); + public Tooltip.with_label (string text); + public void position_to_rect (Gdk.Rectangle rect, Gdk.Screen screen); + public void position_to_widget (Gtk.Widget widget); + } + [CCode (cheader_filename = "libsexy/sexy.h")] + public class TreeView : Gtk.TreeView, Atk.Implementor, Gtk.Buildable { + public TreeView (); + public void set_tooltip_label_column (uint column); + public signal weak Gtk.Widget get_tooltip (Gtk.TreePath path, Gtk.TreeViewColumn column); + } + [CCode (cheader_filename = "libsexy/sexy.h")] + public class UrlLabel : Gtk.Label, Atk.Implementor, Gtk.Buildable { + public UrlLabel (); + public void set_markup (string markup); + public signal void url_activated (string url); + } + [CCode (cheader_filename = "libsexy/sexy.h")] + public static GLib.Quark spell_error_quark (); +} diff --git a/vapi/packages/libsexy/libsexy.deps b/vapi/packages/libsexy/libsexy.deps new file mode 100644 index 000000000..331f51479 --- /dev/null +++ b/vapi/packages/libsexy/libsexy.deps @@ -0,0 +1,6 @@ +gtk+-2.0 +atk +cairo +gdk-pixbuf-2.0 +gdk-2.0 +pango diff --git a/vapi/packages/libsexy/libsexy.files b/vapi/packages/libsexy/libsexy.files new file mode 100644 index 000000000..481bd811e --- /dev/null +++ b/vapi/packages/libsexy/libsexy.files @@ -0,0 +1,2 @@ +include/libsexy +lib/libsexy.so diff --git a/vapi/packages/libsexy/libsexy.gi b/vapi/packages/libsexy/libsexy.gi new file mode 100644 index 000000000..babd00c4c --- /dev/null +++ b/vapi/packages/libsexy/libsexy.gi @@ -0,0 +1,295 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vapi/packages/libsexy/libsexy.metadata b/vapi/packages/libsexy/libsexy.metadata new file mode 100644 index 000000000..102dee224 --- /dev/null +++ b/vapi/packages/libsexy/libsexy.metadata @@ -0,0 +1,16 @@ +Sexy cheader_filename="libsexy/sexy.h" +SexyIconEntryPriv hidden="1" +SexySpellEntryPriv hidden="1" +SexyTreeViewPriv hidden="1" +sexy_icon_entry_gtk_reserved1 hidden="1" +sexy_icon_entry_gtk_reserved2 hidden="1" +sexy_icon_entry_gtk_reserved3 hidden="1" +sexy_icon_entry_gtk_reserved4 hidden="1" +sexy_spell_entry_gtk_reserved1 hidden="1" +sexy_spell_entry_gtk_reserved2 hidden="1" +sexy_spell_entry_gtk_reserved3 hidden="1" +sexy_spell_entry_gtk_reserved4 hidden="1" +sexy_url_label_gtk_reserved1 hidden="1" +sexy_url_label_gtk_reserved2 hidden="1" +sexy_url_label_gtk_reserved3 hidden="1" +sexy_url_label_gtk_reserved4 hidden="1" diff --git a/vapi/packages/libsexy/libsexy.namespace b/vapi/packages/libsexy/libsexy.namespace new file mode 100644 index 000000000..462944590 --- /dev/null +++ b/vapi/packages/libsexy/libsexy.namespace @@ -0,0 +1 @@ +Sexy