From: Rico Tzschichholz Date: Thu, 23 Jan 2014 17:09:41 +0000 (+0100) Subject: gtk+-3.0: Update to 3.11.5+ X-Git-Tag: 0.23.2~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63db7051dde679abde21d1c7334bab996acc089c;p=thirdparty%2Fvala.git gtk+-3.0: Update to 3.11.5+ --- diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi index 6e7606269..ae2a4ed92 100644 --- a/vapi/gtk+-3.0.vapi +++ b/vapi/gtk+-3.0.vapi @@ -1711,6 +1711,7 @@ namespace Gtk { public unowned Gtk.Widget get_action_area (); [CCode (type = "GtkWidget*")] public unowned Gtk.Box get_content_area (); + public unowned Gtk.Widget get_header_bar (); public int get_response_for_widget (Gtk.Widget widget); public unowned Gtk.Widget get_widget_for_response (int response_id); public int run (); @@ -1721,6 +1722,8 @@ namespace Gtk { public void set_response_sensitive (int response_id, bool setting); [CCode (has_construct_function = false, type = "GtkWidget*")] public Dialog.with_buttons (string? title, Gtk.Window? parent, Gtk.DialogFlags flags, ...); + [NoAccessorMethod] + public int use_header_bar { get; construct; } public virtual signal void close (); [HasEmitter] public virtual signal void response (int response_id); @@ -3557,6 +3560,23 @@ namespace Gtk { public Gdk.Window socket_window { get; } } [CCode (cheader_filename = "gtk/gtk.h")] + public class Popover : Gtk.Bin, Atk.Implementor, Gtk.Buildable { + [CCode (has_construct_function = false, type = "GtkWidget*")] + public Popover (Gtk.Widget relative_to); + public bool get_modal (); + public bool get_pointing_to (Cairo.RectangleInt rect); + public Gtk.PositionType get_position (); + public unowned Gtk.Widget get_relative_to (); + public void set_modal (bool modal); + public void set_pointing_to (Cairo.RectangleInt rect); + public void set_position (Gtk.PositionType position); + public void set_relative_to (Gtk.Widget relative_to); + public bool modal { get; set; } + public Cairo.RectangleInt pointing_to { get; set; } + public Gtk.PositionType position { get; set construct; } + public Gtk.Widget relative_to { get; set; } + } + [CCode (cheader_filename = "gtk/gtk.h")] public class PrintContext : GLib.Object { [CCode (has_construct_function = false)] protected PrintContext (); @@ -4302,6 +4322,8 @@ namespace Gtk { [NoAccessorMethod] public string gtk_decoration_layout { owned get; set; } [NoAccessorMethod] + public bool gtk_dialogs_use_header { get; set; } + [NoAccessorMethod] public int gtk_dnd_drag_threshold { get; set; } [NoAccessorMethod] public int gtk_double_click_distance { get; set; } @@ -4525,6 +4547,7 @@ namespace Gtk { public Stack (); public void add_named (Gtk.Widget child, string name); public void add_titled (Gtk.Widget child, string name, string title); + public unowned Gtk.Widget get_child_by_name (string name); public bool get_homogeneous (); public uint get_transition_duration (); public bool get_transition_running (); @@ -4962,6 +4985,13 @@ namespace Gtk { public void remove (Gdk.Atom target); } [CCode (cheader_filename = "gtk/gtk.h")] + [Compact] + public class TargetPair { + public uint flags; + public uint info; + public Gdk.Atom target; + } + [CCode (cheader_filename = "gtk/gtk.h")] [Deprecated (since = "3.4")] public class TearoffMenuItem : Gtk.MenuItem, Atk.Implementor, Gtk.Buildable, Gtk.Activatable, Gtk.Actionable { [CCode (has_construct_function = false, type = "GtkWidget*")] @@ -5746,7 +5776,7 @@ namespace Gtk { [CCode (has_construct_function = false, sentinel = "-1")] public TreePath.from_indices (...); [CCode (has_construct_function = false)] - public TreePath.from_indicesv (int indices, size_t length); + public TreePath.from_indicesv ([CCode (array_length_pos = 1.9)] int[] indices); [CCode (has_construct_function = false)] public TreePath.from_string (string path); public int get_depth (); @@ -6738,6 +6768,8 @@ namespace Gtk { public string icon_name { get; set; } [NoAccessorMethod] public bool is_active { get; } + [NoAccessorMethod] + public bool is_maximized { get; } public bool mnemonics_visible { get; set; } public bool modal { get; set; } public bool resizable { get; set; } @@ -7453,7 +7485,8 @@ namespace Gtk { EDGE, START, END, - CENTER + CENTER, + EXPAND } [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_BUTTONS_")] public enum ButtonsType { @@ -7568,7 +7601,8 @@ namespace Gtk { [Flags] public enum DialogFlags { MODAL, - DESTROY_WITH_PARENT + DESTROY_WITH_PARENT, + USE_HEADER_BAR } [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_DIR_")] public enum DirectionType { @@ -9038,6 +9072,10 @@ namespace Gtk { [CCode (cheader_filename = "gtk/gtk.h")] public const int TEXT_VIEW_PRIORITY_VALIDATE; [CCode (cheader_filename = "gtk/gtk.h")] + public const int TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID; + [CCode (cheader_filename = "gtk/gtk.h")] + public const int TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID; + [CCode (cheader_filename = "gtk/gtk.h")] public static bool accel_groups_activate (GLib.Object object, uint accel_key, Gdk.ModifierType accel_mods); [CCode (cheader_filename = "gtk/gtk.h")] public static unowned GLib.SList accel_groups_from_object (GLib.Object object); diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.gi b/vapi/packages/gtk+-3.0/gtk+-3.0.gi index 75ecf85c9..8574a1475 100644 --- a/vapi/packages/gtk+-3.0/gtk+-3.0.gi +++ b/vapi/packages/gtk+-3.0/gtk+-3.0.gi @@ -2373,6 +2373,11 @@ + + + + + @@ -4598,6 +4603,7 @@ + @@ -5236,6 +5242,7 @@ + @@ -11155,6 +11162,12 @@ + + + + + + @@ -11224,6 +11237,7 @@ + @@ -18577,6 +18591,75 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -21118,6 +21201,7 @@ + @@ -21556,6 +21640,13 @@ + + + + + + + @@ -30837,6 +30928,12 @@ + + + + + + @@ -31296,6 +31393,7 @@ + @@ -34001,14 +34099,14 @@ - + - + @@ -34138,5 +34236,7 @@ + + diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata index 9f73e3074..458a2ac69 100644 --- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata +++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata @@ -1002,6 +1002,8 @@ gtk_tree_path_get_indices hidden="1" gtk_tree_path_get_indices_with_depth is_array="1" name="get_indices" gtk_tree_path_get_indices_with_depth.depth hidden="1" gtk_tree_path_new_from_indices sentinel="-1" +gtk_tree_path_new_from_indicesv.indices is_array="1" array_length_pos="1.9" +gtk_tree_path_new_from_indicesv.length hidden="1" gtk_tree_path_copy transfer_ownership="1" gtk_tree_path_to_string transfer_ownership="1" # GtkTreePath should be an opaque value type as it is not immutable @@ -1265,6 +1267,7 @@ gtk_window_get_size.width is_out="1" gtk_window_get_size.height is_out="1" gtk_window_has_toplevel_focus hidden="1" experimental="1" gtk_window_is_active hidden="1" experimental="1" +gtk_window_is_maximized hidden="1" experimental="1" gtk_window_list_toplevels transfer_ownership="1" type_arguments="unowned Window" gtk_window_set_default_icon_list.list type_arguments="Gdk.Pixbuf" gtk_window_set_icon_list.list type_arguments="Gdk.Pixbuf"