[vala] Update vapi file for latest gtk+ git master



commit 770fa8ac7118524249ce028fe0f097b1b7627fd7
Author: Alexander Larsson <alexl redhat com>
Date:   Mon Jun 25 16:17:20 2012 +0200

    Update vapi file for latest gtk+ git master

 vapi/gtk+-3.0.vapi                       |   23 ++++++++
 vapi/packages/gtk+-3.0/gtk+-3.0.gi       |   87 ++++++++++++++++++++++++++++++
 vapi/packages/gtk+-3.0/gtk+-3.0.metadata |    2 +
 3 files changed, 112 insertions(+), 0 deletions(-)
---
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index 14ff9bc..03e8483 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 74d870c..8a42b2b 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 @@
 					<parameter name="actions" type="GdkDragAction"/>
 				</parameters>
 			</method>
+			<method name="get_cell_rect" symbol="gtk_icon_view_get_cell_rect">
+				<return-type type="gboolean"/>
+				<parameters>
+					<parameter name="icon_view" type="GtkIconView*"/>
+					<parameter name="path" type="GtkTreePath*"/>
+					<parameter name="cell" type="GtkCellRenderer*"/>
+					<parameter name="rect" type="GdkRectangle*"/>
+				</parameters>
+			</method>
 			<method name="get_column_spacing" symbol="gtk_icon_view_get_column_spacing">
 				<return-type type="gint"/>
 				<parameters>
@@ -15189,6 +15198,73 @@
 			<property name="child-pack-direction" type="GtkPackDirection" readable="1" writable="1" construct="0" construct-only="0"/>
 			<property name="pack-direction" type="GtkPackDirection" readable="1" writable="1" construct="0" construct-only="0"/>
 		</object>
+		<object name="GtkMenuButton" parent="GtkToggleButton" type-name="GtkMenuButton" get-type="gtk_menu_button_get_type">
+			<implements>
+				<interface name="AtkImplementor"/>
+				<interface name="GtkBuildable"/>
+				<interface name="GtkActionable"/>
+				<interface name="GtkActivatable"/>
+			</implements>
+			<method name="get_align_widget" symbol="gtk_menu_button_get_align_widget">
+				<return-type type="GtkWidget*"/>
+				<parameters>
+					<parameter name="menu_button" type="GtkMenuButton*"/>
+				</parameters>
+			</method>
+			<method name="get_direction" symbol="gtk_menu_button_get_direction">
+				<return-type type="GtkArrowType"/>
+				<parameters>
+					<parameter name="menu_button" type="GtkMenuButton*"/>
+				</parameters>
+			</method>
+			<method name="get_menu" symbol="gtk_menu_button_get_menu">
+				<return-type type="GtkMenu*"/>
+				<parameters>
+					<parameter name="menu_button" type="GtkMenuButton*"/>
+				</parameters>
+			</method>
+			<method name="get_menu_model" symbol="gtk_menu_button_get_menu_model">
+				<return-type type="GMenuModel*"/>
+				<parameters>
+					<parameter name="menu_button" type="GtkMenuButton*"/>
+				</parameters>
+			</method>
+			<constructor name="new" symbol="gtk_menu_button_new">
+				<return-type type="GtkWidget*"/>
+			</constructor>
+			<method name="set_align_widget" symbol="gtk_menu_button_set_align_widget">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="menu_button" type="GtkMenuButton*"/>
+					<parameter name="align_widget" type="GtkWidget*"/>
+				</parameters>
+			</method>
+			<method name="set_direction" symbol="gtk_menu_button_set_direction">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="menu_button" type="GtkMenuButton*"/>
+					<parameter name="direction" type="GtkArrowType"/>
+				</parameters>
+			</method>
+			<method name="set_menu" symbol="gtk_menu_button_set_menu">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="menu_button" type="GtkMenuButton*"/>
+					<parameter name="menu" type="GtkWidget*"/>
+				</parameters>
+			</method>
+			<method name="set_menu_model" symbol="gtk_menu_button_set_menu_model">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="menu_button" type="GtkMenuButton*"/>
+					<parameter name="menu_model" type="GMenuModel*"/>
+				</parameters>
+			</method>
+			<property name="align-widget" type="GtkContainer*" readable="1" writable="1" construct="0" construct-only="0"/>
+			<property name="direction" type="GtkArrowType" readable="1" writable="1" construct="0" construct-only="0"/>
+			<property name="menu" type="GtkMenu*" readable="1" writable="1" construct="0" construct-only="0"/>
+			<property name="menu-model" type="GMenuModel*" readable="1" writable="1" construct="0" construct-only="0"/>
+		</object>
 		<object name="GtkMenuItem" parent="GtkBin" type-name="GtkMenuItem" get-type="gtk_menu_item_get_type">
 			<implements>
 				<interface name="AtkImplementor"/>
@@ -18885,6 +18961,17 @@
 				</parameters>
 			</signal>
 		</object>
+		<object name="GtkSearchEntry" parent="GtkEntry" type-name="GtkSearchEntry" get-type="gtk_search_entry_get_type">
+			<implements>
+				<interface name="AtkImplementor"/>
+				<interface name="GtkBuildable"/>
+				<interface name="GtkEditable"/>
+				<interface name="GtkCellEditable"/>
+			</implements>
+			<constructor name="new" symbol="gtk_search_entry_new">
+				<return-type type="GtkWidget*"/>
+			</constructor>
+		</object>
 		<object name="GtkSeparator" parent="GtkWidget" type-name="GtkSeparator" get-type="gtk_separator_get_type">
 			<implements>
 				<interface name="AtkImplementor"/>
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index fee5c98..67cdab7 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"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]