From: Rico Tzschichholz Date: Sat, 11 Jan 2014 16:49:02 +0000 (+0100) Subject: gtk+-3.0: Update to 3.11.3+ X-Git-Tag: 0.23.2~35 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=8e7e415f373f0cddeb59be4777705777b05c5089;p=thirdparty%2Fvala.git gtk+-3.0: Update to 3.11.3+ --- diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi index 303c699ac..c97b7e1e6 100644 --- a/vapi/gtk+-3.0.vapi +++ b/vapi/gtk+-3.0.vapi @@ -310,6 +310,7 @@ namespace Gtk { public class AccelLabel : Gtk.Label, Atk.Implementor, Gtk.Buildable { [CCode (has_construct_function = false, type = "GtkWidget*")] public AccelLabel (string str); + public void get_accel (uint accelerator_key, Gdk.ModifierType accelerator_mods); public unowned Gtk.Widget get_accel_widget (); public uint get_accel_width (); public bool refetch (); @@ -429,6 +430,18 @@ namespace Gtk { public virtual signal void activate (); } [CCode (cheader_filename = "gtk/gtk.h")] + public class ActionBar : Gtk.Container, Atk.Implementor, Gtk.Buildable { + [CCode (has_construct_function = false, type = "GtkWidget*")] + public ActionBar (); + public unowned Gtk.Widget get_center_widget (); + public void pack_end (Gtk.Widget child); + public void pack_start (Gtk.Widget child); + public void set_center_widget (Gtk.Widget? center_widget); + public Gtk.Widget center_widget { get; set construct; } + [NoAccessorMethod] + public int spacing { get; set; } + } + [CCode (cheader_filename = "gtk/gtk.h")] [Deprecated (since = "3.10")] public class ActionGroup : GLib.Object, Gtk.Buildable { [CCode (has_construct_function = false)] @@ -2360,6 +2373,7 @@ namespace Gtk { [CCode (has_construct_function = false, type = "GtkWidget*")] public HeaderBar (); public unowned Gtk.Widget get_custom_title (); + public unowned string get_decoration_layout (); public bool get_has_subtitle (); public bool get_show_close_button (); public unowned string get_subtitle (); @@ -2367,11 +2381,15 @@ namespace Gtk { public void pack_end (Gtk.Widget child); public void pack_start (Gtk.Widget child); public void set_custom_title (Gtk.Widget title_widget); + public void set_decoration_layout (string layout); public void set_has_subtitle (bool setting); public void set_show_close_button (bool setting); public void set_subtitle (string? subtitle); public void set_title (string title); public Gtk.Widget custom_title { get; set construct; } + public string decoration_layout { get; set; } + [NoAccessorMethod] + public bool decoration_layout_set { get; set; } public bool has_subtitle { get; set; } public bool show_close_button { get; set; } [NoAccessorMethod] @@ -2446,6 +2464,7 @@ namespace Gtk { public unowned string get_display_name (); public bool get_embedded_rect (out Gdk.Rectangle rectangle); public unowned string get_filename (); + public bool is_symbolic (); public Gdk.Pixbuf load_icon () throws GLib.Error; public async Gdk.Pixbuf load_icon_async (GLib.Cancellable? cancellable = null) throws GLib.Error; public Cairo.Surface load_surface (Gdk.Window for_window) throws GLib.Error; @@ -2848,7 +2867,7 @@ namespace Gtk { public virtual signal void populate_popup (Gtk.Menu menu); } [CCode (cheader_filename = "gtk/gtk.h")] - public class LabelAccessible : Gtk.WidgetAccessible, Atk.Component, Atk.Text { + public class LabelAccessible : Gtk.WidgetAccessible, Atk.Component, Atk.Text, Atk.Hypertext { [CCode (has_construct_function = false)] protected LabelAccessible (); } @@ -3123,6 +3142,11 @@ namespace Gtk { public Gtk.Menu popup { get; set; } } [CCode (cheader_filename = "gtk/gtk.h")] + public class MenuButtonAccessible : Gtk.ToggleButtonAccessible, Atk.Component, Atk.Action, Atk.Image { + [CCode (has_construct_function = false)] + protected MenuButtonAccessible (); + } + [CCode (cheader_filename = "gtk/gtk.h")] public class MenuItem : Gtk.Bin, Atk.Implementor, Gtk.Buildable, Gtk.Activatable, Gtk.Actionable { [CCode (has_construct_function = false, type = "GtkWidget*")] public MenuItem (); @@ -4276,6 +4300,8 @@ namespace Gtk { [NoAccessorMethod] public int gtk_cursor_theme_size { get; set; } [NoAccessorMethod] + public string gtk_decoration_layout { owned get; set; } + [NoAccessorMethod] public int gtk_dnd_drag_threshold { get; set; } [NoAccessorMethod] public int gtk_double_click_distance { get; set; } @@ -5720,6 +5746,8 @@ 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); + [CCode (has_construct_function = false)] public TreePath.from_string (string path); public int get_depth (); [CCode (cname = "gtk_tree_path_get_indices_with_depth")] diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.gi b/vapi/packages/gtk+-3.0/gtk+-3.0.gi index 97c0e46a2..75ecf85c9 100644 --- a/vapi/packages/gtk+-3.0/gtk+-3.0.gi +++ b/vapi/packages/gtk+-3.0/gtk+-3.0.gi @@ -4175,6 +4175,13 @@ + + + + + + + @@ -5692,6 +5699,14 @@ + + + + + + + + @@ -6210,6 +6225,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -13643,6 +13696,12 @@ + + + + + + @@ -13691,6 +13750,13 @@ + + + + + + + @@ -13720,6 +13786,8 @@ + + @@ -14059,6 +14127,12 @@ + + + + + + @@ -15740,6 +15814,7 @@ + @@ -16815,6 +16890,13 @@ + + + + + + + @@ -21035,6 +21117,7 @@ + @@ -33918,14 +34001,14 @@ - + - + diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata index 34a2530c2..13844a032 100644 --- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata +++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata @@ -27,6 +27,7 @@ gtk_action_new.tooltip nullable="1" gtk_action_new.stock_id nullable="1" GtkAction deprecated_since="3.10" replacement="GLib.Action" GtkAction::activate has_emitter="1" +gtk_action_bar_set_center_widget.center_widget nullable="1" GtkActionEntry is_value_type="1" GtkActionEntry.callback type_name="ActionCallback" ctype="GCallback" no_delegate_target="1" value_owned="0" GtkActionGroup deprecated_since="3.10"