[vala] gtk+-3.0: Update to 3.21.4+0f329195



commit 0176ead7ec2bace2be6e4193cf16c8fa5264f2db
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Wed Jul 27 15:27:17 2016 +0200

    gtk+-3.0: Update to 3.21.4+0f329195

 vapi/gtk+-3.0.vapi                       |   12 +++++++
 vapi/packages/gtk+-3.0/gtk+-3.0.gi       |   48 ++++++++++++++++++++++++++++--
 vapi/packages/gtk+-3.0/gtk+-3.0.metadata |    4 ++
 3 files changed, 61 insertions(+), 3 deletions(-)
---
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index 80c0712..6e16b2e 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -3295,6 +3295,9 @@ namespace Gtk {
                public void place_on_monitor (Gdk.Monitor monitor);
                public void popdown ();
                public void popup (Gtk.Widget? parent_menu_shell, Gtk.Widget? parent_menu_item, [CCode (scope 
= "async")] Gtk.MenuPositionFunc? func, uint button, uint32 activate_time);
+               public void popup_at_pointer (Gdk.Event? trigger_event = null);
+               public void popup_at_rect (Gdk.Window rect_window, Gdk.Rectangle rect, Gdk.Gravity 
rect_anchor, Gdk.Gravity menu_anchor, Gdk.Event? trigger_event = null);
+               public void popup_at_widget (Gtk.Widget widget, Gdk.Gravity widget_anchor, Gdk.Gravity 
menu_anchor, Gdk.Event? trigger_event = null);
                public void popup_for_device (Gdk.Device? device, Gtk.Widget parent_menu_shell, Gtk.Widget 
parent_menu_item, owned Gtk.MenuPositionFunc? func, uint button, uint32 activate_time);
                public void reorder_child (Gtk.Widget child, int position);
                public void reposition ();
@@ -3310,13 +3313,22 @@ namespace Gtk {
                public string accel_path { get; set; }
                public int active { get; set; }
                [NoAccessorMethod]
+               public Gdk.AnchorHints anchor_hints { get; set construct; }
+               [NoAccessorMethod]
                public Gtk.Widget attach_widget { owned get; set; }
+               [NoAccessorMethod]
+               public Gdk.WindowTypeHint menu_type_hint { get; set construct; }
                public int monitor { get; set; }
+               [NoAccessorMethod]
+               public int rect_anchor_dx { get; set construct; }
+               [NoAccessorMethod]
+               public int rect_anchor_dy { get; set construct; }
                public bool reserve_toggle_size { get; set; }
                public bool tearoff_state { get; set; }
                [NoAccessorMethod]
                public string tearoff_title { owned get; set; }
                public virtual signal void move_scroll (Gtk.ScrollType p0);
+               public virtual signal void popped_up (Gdk.Rectangle p0, Gdk.Rectangle p1, bool p2, bool p3);
        }
        [CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_menu_accessible_get_type ()")]
        public class MenuAccessible : Gtk.MenuShellAccessible, Atk.Component, Atk.Selection {
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.gi b/vapi/packages/gtk+-3.0/gtk+-3.0.gi
index a4f0c3e..960a748 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.gi
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.gi
@@ -2977,7 +2977,7 @@
                        <method name="to_gvariant" symbol="gtk_paper_size_to_gvariant">
                                <return-type type="GVariant*"/>
                                <parameters>
-                                       <parameter name="size" type="GtkPaperSize*"/>
+                                       <parameter name="paper_size" type="GtkPaperSize*"/>
                                </parameters>
                        </method>
                        <method name="to_key_file" symbol="gtk_paper_size_to_key_file">
@@ -17941,6 +17941,34 @@
                                        <parameter name="activate_time" type="guint32"/>
                                </parameters>
                        </method>
+                       <method name="popup_at_pointer" symbol="gtk_menu_popup_at_pointer">
+                               <return-type type="void"/>
+                               <parameters>
+                                       <parameter name="menu" type="GtkMenu*"/>
+                                       <parameter name="trigger_event" type="GdkEvent*"/>
+                               </parameters>
+                       </method>
+                       <method name="popup_at_rect" symbol="gtk_menu_popup_at_rect">
+                               <return-type type="void"/>
+                               <parameters>
+                                       <parameter name="menu" type="GtkMenu*"/>
+                                       <parameter name="rect_window" type="GdkWindow*"/>
+                                       <parameter name="rect" type="GdkRectangle*"/>
+                                       <parameter name="rect_anchor" type="GdkGravity"/>
+                                       <parameter name="menu_anchor" type="GdkGravity"/>
+                                       <parameter name="trigger_event" type="GdkEvent*"/>
+                               </parameters>
+                       </method>
+                       <method name="popup_at_widget" symbol="gtk_menu_popup_at_widget">
+                               <return-type type="void"/>
+                               <parameters>
+                                       <parameter name="menu" type="GtkMenu*"/>
+                                       <parameter name="widget" type="GtkWidget*"/>
+                                       <parameter name="widget_anchor" type="GdkGravity"/>
+                                       <parameter name="menu_anchor" type="GdkGravity"/>
+                                       <parameter name="trigger_event" type="GdkEvent*"/>
+                               </parameters>
+                       </method>
                        <method name="popup_for_device" symbol="gtk_menu_popup_for_device">
                                <return-type type="void"/>
                                <parameters>
@@ -18028,8 +18056,12 @@
                        <property name="accel-group" type="GtkAccelGroup*" readable="1" writable="1" 
construct="0" construct-only="0"/>
                        <property name="accel-path" type="char*" readable="1" writable="1" construct="0" 
construct-only="0"/>
                        <property name="active" type="gint" readable="1" writable="1" construct="0" 
construct-only="0"/>
+                       <property name="anchor-hints" type="GdkAnchorHints" readable="1" writable="1" 
construct="1" construct-only="0"/>
                        <property name="attach-widget" type="GtkWidget*" readable="1" writable="1" 
construct="0" construct-only="0"/>
+                       <property name="menu-type-hint" type="GdkWindowTypeHint" readable="1" writable="1" 
construct="1" construct-only="0"/>
                        <property name="monitor" type="gint" readable="1" writable="1" construct="0" 
construct-only="0"/>
+                       <property name="rect-anchor-dx" type="gint" readable="1" writable="1" construct="1" 
construct-only="0"/>
+                       <property name="rect-anchor-dy" type="gint" readable="1" writable="1" construct="1" 
construct-only="0"/>
                        <property name="reserve-toggle-size" type="gboolean" readable="1" writable="1" 
construct="0" construct-only="0"/>
                        <property name="tearoff-state" type="gboolean" readable="1" writable="1" 
construct="0" construct-only="0"/>
                        <property name="tearoff-title" type="char*" readable="1" writable="1" construct="0" 
construct-only="0"/>
@@ -18040,6 +18072,16 @@
                                        <parameter name="p0" type="GtkScrollType"/>
                                </parameters>
                        </signal>
+                       <signal name="popped-up" when="FIRST">
+                               <return-type type="void"/>
+                               <parameters>
+                                       <parameter name="object" type="GtkMenu*"/>
+                                       <parameter name="p0" type="gpointer"/>
+                                       <parameter name="p1" type="gpointer"/>
+                                       <parameter name="p2" type="gboolean"/>
+                                       <parameter name="p3" type="gboolean"/>
+                               </parameters>
+                       </signal>
                </object>
                <object name="GtkMenuAccessible" parent="GtkMenuShellAccessible" 
type-name="GtkMenuAccessible" get-type="gtk_menu_accessible_get_type">
                        <implements>
@@ -36320,7 +36362,7 @@
                                </parameters>
                        </vfunc>
                </interface>
-               <constant name="GTK_BINARY_AGE" type="int" value="2103"/>
+               <constant name="GTK_BINARY_AGE" type="int" value="2104"/>
                <constant name="GTK_INPUT_ERROR" type="int" value="-1"/>
                <constant name="GTK_INTERFACE_AGE" type="int" value="0"/>
                <constant name="GTK_LEVEL_BAR_OFFSET_FULL" type="char*" value="full"/>
@@ -36328,7 +36370,7 @@
                <constant name="GTK_LEVEL_BAR_OFFSET_LOW" type="char*" value="low"/>
                <constant name="GTK_MAJOR_VERSION" type="int" value="3"/>
                <constant name="GTK_MAX_COMPOSE_LEN" type="int" value="7"/>
-               <constant name="GTK_MICRO_VERSION" type="int" value="3"/>
+               <constant name="GTK_MICRO_VERSION" type="int" value="4"/>
                <constant name="GTK_MINOR_VERSION" type="int" value="21"/>
                <constant name="GTK_PAPER_NAME_A3" type="char*" value="iso_a3"/>
                <constant name="GTK_PAPER_NAME_A4" type="char*" value="iso_a4"/>
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index 0b4d202..fb259a5 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -806,8 +806,12 @@ gtk_menu_popup_for_device.device nullable="1"
 gtk_menu_popup_for_device.func transfer_ownership="1" nullable="1"
 gtk_menu_popup_for_device.data hidden="1"
 gtk_menu_popup_for_device.destroy hidden="1"
+gtk_menu_popup_at_*.trigger_event nullable="1" default_value="null"
 gtk_menu_set_accel_group.accel_group nullable="1"
 gtk_menu_set_accel_path.accel_path nullable="1"
+GtkMenu::popped_up virtual="0"
+GtkMenu::popped_up.p0 type_name="Gdk.Rectangle"
+GtkMenu::popped_up.p1 type_name="Gdk.Rectangle"
 GtkMenuPositionFunc.x is_ref="1"
 GtkMenuPositionFunc.y is_ref="1"
 GtkMenuPositionFunc.push_in is_out="1"


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