From: Alexander Larsson Date: Mon, 25 Jun 2012 14:17:20 +0000 (+0200) Subject: Update vapi file for latest gtk+ git master X-Git-Tag: 0.17.3~17 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=770fa8ac7118524249ce028fe0f097b1b7627fd7;p=thirdparty%2Fvala.git Update vapi file for latest gtk+ git master --- diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi index 14ff9bc69..03e84836c 100644 --- a/vapi/gtk+-3.0.vapi +++ b/vapi/gtk+-3.0.vapi @@ -2272,6 +2272,7 @@ namespace Gtk { public unowned Cairo.Surface create_drag_icon (Gtk.TreePath path); public void enable_model_drag_dest (Gtk.TargetEntry[] targets, Gdk.DragAction actions); public void enable_model_drag_source (Gdk.ModifierType start_button_mask, Gtk.TargetEntry[] targets, Gdk.DragAction actions); + public bool get_cell_rect (Gtk.TreePath path, Gtk.CellRenderer? cell, out Gdk.Rectangle rect); public int get_column_spacing (); public int get_columns (); public bool get_cursor (out Gtk.TreePath path, out unowned Gtk.CellRenderer cell); @@ -2697,6 +2698,23 @@ namespace Gtk { public Gtk.PackDirection pack_direction { get; set; } } [CCode (cheader_filename = "gtk/gtk.h")] + public class MenuButton : Gtk.ToggleButton, Atk.Implementor, Gtk.Buildable, Gtk.Actionable, Gtk.Activatable { + [CCode (has_construct_function = false, type = "GtkWidget*")] + public MenuButton (); + public unowned Gtk.Widget get_align_widget (); + public Gtk.ArrowType get_direction (); + public unowned Gtk.Menu get_menu (); + public unowned GLib.MenuModel get_menu_model (); + public void set_align_widget (Gtk.Widget align_widget); + public void set_direction (Gtk.ArrowType direction); + public void set_menu (Gtk.Widget menu); + public void set_menu_model (GLib.MenuModel menu_model); + public Gtk.Container align_widget { get; set; } + public Gtk.ArrowType direction { get; set; } + public Gtk.Menu menu { get; set; } + public GLib.MenuModel menu_model { get; set; } + } + [CCode (cheader_filename = "gtk/gtk.h")] public class MenuItem : Gtk.Bin, Atk.Implementor, Gtk.Buildable, Gtk.Activatable { [CCode (has_construct_function = false, type = "GtkWidget*")] public MenuItem (); @@ -3624,6 +3642,11 @@ namespace Gtk { public virtual signal void move_focus_out (Gtk.DirectionType direction); public virtual signal bool scroll_child (Gtk.ScrollType scroll, bool horizontal); } + [CCode (cheader_filename = "gtk/gtk.h")] + public class SearchEntry : Gtk.Entry, Atk.Implementor, Gtk.Buildable, Gtk.Editable, Gtk.CellEditable { + [CCode (has_construct_function = false, type = "GtkWidget*")] + public SearchEntry (); + } [CCode (cheader_filename = "gtk/gtk.h", copy_function = "gtk_selection_data_copy", type_id = "gtk_selection_data_get_type ()")] [Compact] public class SelectionData { diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.gi b/vapi/packages/gtk+-3.0/gtk+-3.0.gi index 74d870cbe..8a42b2bf8 100644 --- a/vapi/packages/gtk+-3.0/gtk+-3.0.gi +++ b/vapi/packages/gtk+-3.0/gtk+-3.0.gi @@ -13344,6 +13344,15 @@ + + + + + + + + + @@ -15189,6 +15198,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -18885,6 +18961,17 @@ + + + + + + + + + + + diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata index fee5c9864..67cdab77f 100644 --- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata +++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata @@ -300,6 +300,8 @@ gtk_icon_view_get_tooltip_context.iter is_out="1" gtk_icon_view_get_tooltip_context.x is_out="1" gtk_icon_view_get_tooltip_context.y is_out="1" gtk_icon_view_get_selected_items transfer_ownership="1" type_arguments="TreePath" +gtk_icon_view_get_cell_rect.cell nullable="1" +gtk_icon_view_get_cell_rect.rect is_out="1" gtk_icon_set_copy transfer_ownership="1" gtk_icon_source_copy transfer_ownership="1" gtk_icon_theme_get_search_path.path is_array="1" is_out="1" transfer_ownership="1"