From: Rico Tzschichholz Date: Tue, 29 Oct 2013 16:27:34 +0000 (+0100) Subject: gtk+-3.0: Update to 3.11.0 X-Git-Tag: 0.23.1~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a581c005e7de07aabf1036ec151b6aedad2e623a;p=thirdparty%2Fvala.git gtk+-3.0: Update to 3.11.0 --- diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi index d535e1022..1f9002745 100644 --- a/vapi/gtk+-3.0.vapi +++ b/vapi/gtk+-3.0.vapi @@ -579,6 +579,7 @@ namespace Gtk { public Application (string application_id, GLib.ApplicationFlags flags); public void add_accelerator (string accelerator, string action_name, GLib.Variant? parameter); public void add_window (Gtk.Window window); + public string get_accels_for_action (string detailed_action_name); public unowned Gtk.Window get_active_window (); public unowned GLib.MenuModel get_app_menu (); public unowned GLib.MenuModel get_menubar (); @@ -586,8 +587,10 @@ namespace Gtk { public unowned GLib.List get_windows (); public uint inhibit (Gtk.Window? window, Gtk.ApplicationInhibitFlags flags, string? reason); public bool is_inhibited (Gtk.ApplicationInhibitFlags flags); + public string list_action_descriptions (); public void remove_accelerator (string action_name, GLib.Variant? parameter); public void remove_window (Gtk.Window window); + public void set_accels_for_action (string detailed_action_name, string accels); public void set_app_menu (GLib.MenuModel app_menu); public void set_menubar (GLib.MenuModel menubar); public void uninhibit (uint cookie); @@ -770,11 +773,13 @@ namespace Gtk { public Builder.from_resource (string resource_path); [CCode (has_construct_function = false)] public Builder.from_string (string str, ssize_t length); + public unowned Gtk.Application get_application (); public unowned GLib.Object get_object (string name); public GLib.SList get_objects (); public unowned string get_translation_domain (); public virtual GLib.Type get_type_from_name (string type_name); public unowned GLib.Callback lookup_callback_symbol (string callback_name); + public void set_application (Gtk.Application application); public void set_translation_domain (string domain); public bool value_from_string (GLib.ParamSpec pspec, string str, GLib.Value value) throws GLib.Error; public bool value_from_string_type (GLib.Type type, string str, GLib.Value value) throws GLib.Error; @@ -2078,6 +2083,72 @@ namespace Gtk { public int y; } [CCode (cheader_filename = "gtk/gtk.h")] + public class FlowBox : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Orientable { + [CCode (has_construct_function = false, type = "GtkWidget*")] + public FlowBox (); + public bool get_activate_on_single_click (); + public unowned Gtk.FlowBoxChild get_child_at_index (int idx); + public uint get_column_spacing (); + public bool get_homogeneous (); + public uint get_max_children_per_line (); + public uint get_min_children_per_line (); + public uint get_row_spacing (); + public GLib.List get_selected_children (); + public Gtk.SelectionMode get_selection_mode (); + public void insert (Gtk.Widget widget, int position); + public void invalidate_filter (); + public void invalidate_sort (); + public void select_child (Gtk.FlowBoxChild child); + public void selected_foreach (owned Gtk.FlowBoxForeachFunc? func); + public void set_activate_on_single_click (bool single); + public void set_column_spacing (uint spacing); + public void set_filter_func (owned Gtk.FlowBoxFilterFunc? filter_func); + public void set_hadjustment (Gtk.Adjustment adjustment); + public void set_homogeneous (bool homogeneous); + public void set_max_children_per_line (uint n_children); + public void set_min_children_per_line (uint n_children); + public void set_row_spacing (uint spacing); + public void set_selection_mode (Gtk.SelectionMode mode); + public void set_sort_func (owned Gtk.FlowBoxSortFunc? sort_func); + public void set_vadjustment (Gtk.Adjustment adjustment); + public void unselect_child (Gtk.FlowBoxChild child); + public bool activate_on_single_click { get; set; } + public uint column_spacing { get; set; } + public bool homogeneous { get; set; } + public uint max_children_per_line { get; set; } + public uint min_children_per_line { get; set; } + public uint row_spacing { get; set; } + public Gtk.SelectionMode selection_mode { get; set; } + public virtual signal void activate_cursor_child (); + public virtual signal void child_activated (Gtk.Widget child); + public virtual signal void move_cursor (Gtk.MovementStep step, int count); + [HasEmitter] + public virtual signal void select_all (); + public virtual signal void selected_children_changed (); + public virtual signal void toggle_cursor_child (); + [HasEmitter] + public virtual signal void unselect_all (); + } + [CCode (cheader_filename = "gtk/gtk.h")] + public class FlowBoxAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.Selection { + [CCode (has_construct_function = false)] + protected FlowBoxAccessible (); + } + [CCode (cheader_filename = "gtk/gtk.h")] + public class FlowBoxChild : Gtk.Bin, Atk.Implementor, Gtk.Buildable { + [CCode (has_construct_function = false, type = "GtkWidget*")] + public FlowBoxChild (); + public void changed (); + public int get_index (); + public bool is_selected (); + public virtual signal void activate (); + } + [CCode (cheader_filename = "gtk/gtk.h")] + public class FlowBoxChildAccessible : Gtk.ContainerAccessible, Atk.Component { + [CCode (has_construct_function = false)] + protected FlowBoxChildAccessible (); + } + [CCode (cheader_filename = "gtk/gtk.h")] public class FontButton : Gtk.Button, Atk.Implementor, Gtk.Buildable, Gtk.Actionable, Gtk.Activatable, Gtk.FontChooser { [CCode (has_construct_function = false, type = "GtkWidget*")] public FontButton (); @@ -5197,6 +5268,8 @@ namespace Gtk { public bool backward_display_line (Gtk.TextIter iter); public bool backward_display_line_start (Gtk.TextIter iter); public void buffer_to_window_coords (Gtk.TextWindowType win, int buffer_x, int buffer_y, out int window_x, out int window_y); + [NoWrapper] + public virtual Gtk.TextBuffer create_buffer (); public bool forward_display_line (Gtk.TextIter iter); public bool forward_display_line_end (Gtk.TextIter iter); public bool get_accepts_tab (); @@ -5553,7 +5626,7 @@ namespace Gtk { public void set_style (Gtk.ToolbarStyle style); public void unset_icon_size (); public void unset_style (); - public int icon_size { get; set; } + public Gtk.IconSize icon_size { get; set; } [NoAccessorMethod] public bool icon_size_set { get; set; } public bool show_arrow { get; set; } @@ -8025,7 +8098,16 @@ namespace Gtk { SLIDE_UP, SLIDE_DOWN, SLIDE_LEFT_RIGHT, - SLIDE_UP_DOWN + SLIDE_UP_DOWN, + OVER_UP, + OVER_DOWN, + OVER_LEFT, + OVER_RIGHT, + UNDER_UP, + UNDER_DOWN, + UNDER_LEFT, + UNDER_RIGHT, + OVER_UP_DOWN } [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_STATE_FLAG_")] [Flags] @@ -8240,6 +8322,12 @@ namespace Gtk { [CCode (cheader_filename = "gtk/gtk.h")] public delegate bool FileFilterFunc (Gtk.FileFilterInfo filter_info); [CCode (cheader_filename = "gtk/gtk.h")] + public delegate bool FlowBoxFilterFunc (Gtk.FlowBoxChild child); + [CCode (cheader_filename = "gtk/gtk.h")] + public delegate void FlowBoxForeachFunc (Gtk.FlowBox box, Gtk.FlowBoxChild child); + [CCode (cheader_filename = "gtk/gtk.h")] + public delegate int FlowBoxSortFunc (Gtk.FlowBoxChild child1, Gtk.FlowBoxChild child2); + [CCode (cheader_filename = "gtk/gtk.h")] public delegate bool FontFilterFunc (Pango.FontFamily family, Pango.FontFace face); [CCode (cheader_filename = "gtk/gtk.h")] public delegate void IconViewForeachFunc (Gtk.IconView icon_view, Gtk.TreePath path); @@ -8799,6 +8887,8 @@ namespace Gtk { [CCode (cheader_filename = "gtk/gtk.h")] public const string STYLE_CLASS_MENUITEM; [CCode (cheader_filename = "gtk/gtk.h")] + public const string STYLE_CLASS_NEEDS_ATTENTION; + [CCode (cheader_filename = "gtk/gtk.h")] public const string STYLE_CLASS_NOTEBOOK; [CCode (cheader_filename = "gtk/gtk.h")] public const string STYLE_CLASS_OSD; diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.gi b/vapi/packages/gtk+-3.0/gtk+-3.0.gi index 49916f5bd..96faef591 100644 --- a/vapi/packages/gtk+-3.0/gtk+-3.0.gi +++ b/vapi/packages/gtk+-3.0/gtk+-3.0.gi @@ -1721,6 +1721,29 @@ + + + + + + + + + + + + + + + + + + + + + + + @@ -5038,6 +5061,15 @@ + + + + + + + + + @@ -6847,6 +6879,13 @@ + + + + + + + @@ -6894,6 +6933,12 @@ + + + + + + @@ -6916,6 +6961,14 @@ + + + + + + + + @@ -7480,6 +7533,12 @@ + + + + + + @@ -7535,6 +7594,13 @@ + + + + + + + @@ -12508,6 +12574,302 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -24225,6 +24587,12 @@ + + + + + + @@ -25475,7 +25843,7 @@ - + @@ -33474,15 +33842,15 @@ - + - - + + @@ -33560,6 +33928,7 @@ + diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata index 09a22ccf1..89f7f7836 100644 --- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata +++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata @@ -53,9 +53,11 @@ gtk_alignment_get_padding.padding_left is_out="1" gtk_alignment_get_padding.padding_right is_out="1" GtkAllocation is_value_type="1" gtk_application_add_accelerator.parameter nullable="1" +gtk_application_get_accels_for_action transfer_ownership="1" gtk_application_get_windows type_arguments="unowned Window" gtk_application_inhibit.window nullable="1" gtk_application_inhibit.reason nullable="1" +gtk_application_list_action_descriptions transfer_ownership="1" gtk_application_remove_accelerator.parameter nullable="1" GtkArg.d hidden="1" gtk_aspect_frame_new.label nullable="1" @@ -312,6 +314,15 @@ gtk_file_chooser_list_filters transfer_ownership="1" type_arguments="unowned Fil gtk_file_chooser_list_shortcut_folder_uris nullable="1" transfer_ownership="1" type_arguments="string" gtk_file_chooser_list_shortcut_folders nullable="1" transfer_ownership="1" type_arguments="string" GtkFixed.children type_arguments="Widget" +gtk_flow_box_get_selected_children transfer_ownership="1" type_arguments="unowned FlowBoxChild" +gtk_flow_box_selected_foreach.func transfer_ownership="1" nullable="1" +gtk_flow_box_selected_foreach.data hidden="1" +gtk_flow_box_set_filter_func.filter_func transfer_ownership="1" nullable="1" +gtk_flow_box_set_filter_func.destroy hidden="1" +gtk_flow_box_set_sort_func.sort_func transfer_ownership="1" nullable="1" +gtk_flow_box_set_sort_func.destroy hidden="1" +GtkFlowBox::select_all has_emitter="1" +GtkFlowBox::unselect_all has_emitter="1" gtk_font_chooser_dialog_new.* nullable="1" gtk_font_chooser_set_filter_func.filter transfer_ownership="1" gtk_font_chooser_set_filter_func.data hidden="1" @@ -897,6 +908,7 @@ gtk_text_view_window_to_buffer_coords.buffer_x is_out="1" gtk_text_view_window_to_buffer_coords.buffer_y is_out="1" gtk_text_view_buffer_to_window_coords.window_x is_out="1" gtk_text_view_buffer_to_window_coords.window_y is_out="1" +gtk_text_view_create_buffer transfer_ownership="1" gtk_theming_engine_get ellipsis="1" gtk_theming_engine_get_background_color type_name="Gdk.RGBA" gtk_theming_engine_get_background_color.color hidden="1"