]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk+-3.0: Update to 3.17.7
authorRico Tzschichholz <ricotz@ubuntu.com>
Tue, 18 Aug 2015 12:19:57 +0000 (14:19 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Tue, 18 Aug 2015 12:19:57 +0000 (14:19 +0200)
vapi/gtk+-3.0.vapi
vapi/packages/gtk+-3.0/gtk+-3.0.gi
vapi/packages/gtk+-3.0/gtk+-3.0.metadata

index 6a6b53a9f17a3c20c2f736f294b1f33d172bca84..6f8a57ccd632492c001bb7813565cf9f088b7832 100644 (file)
@@ -2148,6 +2148,7 @@ namespace Gtk {
        public class FlowBox : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
                [CCode (has_construct_function = false, type = "GtkWidget*")]
                public FlowBox ();
+               public void bind_model (GLib.ListModel? model, owned Gtk.FlowBoxCreateWidgetFunc create_widget_func);
                public bool get_activate_on_single_click ();
                public unowned Gtk.FlowBoxChild get_child_at_index (int idx);
                public uint get_column_spacing ();
@@ -5583,6 +5584,7 @@ namespace Gtk {
                public bool forward_display_line_end (Gtk.TextIter iter);
                public bool get_accepts_tab ();
                public int get_border_window_size (Gtk.TextWindowType type);
+               public int get_bottom_margin ();
                public unowned Gtk.TextBuffer get_buffer ();
                public void get_cursor_locations (Gtk.TextIter? iter, out Gdk.Rectangle strong, out Gdk.Rectangle @weak);
                public bool get_cursor_visible ();
@@ -5606,6 +5608,7 @@ namespace Gtk {
                public int get_pixels_inside_wrap ();
                public int get_right_margin ();
                public Pango.TabArray get_tabs ();
+               public int get_top_margin ();
                public unowned Gtk.Adjustment get_vadjustment ();
                public void get_visible_rect (out Gdk.Rectangle visible_rect);
                public unowned Gdk.Window get_window (Gtk.TextWindowType win);
@@ -5622,6 +5625,7 @@ namespace Gtk {
                public void scroll_to_mark (Gtk.TextMark mark, double within_margin, bool use_align, double xalign, double yalign);
                public void set_accepts_tab (bool accepts_tab);
                public void set_border_window_size (Gtk.TextWindowType type, int size);
+               public void set_bottom_margin (int bottom_margin);
                public void set_buffer (Gtk.TextBuffer? buffer);
                public void set_cursor_visible (bool setting);
                public void set_editable (bool setting);
@@ -5637,12 +5641,14 @@ namespace Gtk {
                public void set_pixels_inside_wrap (int pixels_inside_wrap);
                public void set_right_margin (int right_margin);
                public void set_tabs (Pango.TabArray tabs);
+               public void set_top_margin (int top_margin);
                public void set_wrap_mode (Gtk.WrapMode wrap_mode);
                public bool starts_display_line (Gtk.TextIter iter);
                public void window_to_buffer_coords (Gtk.TextWindowType win, int window_x, int window_y, out int buffer_x, out int buffer_y);
                [CCode (has_construct_function = false, type = "GtkWidget*")]
                public TextView.with_buffer (Gtk.TextBuffer buffer);
                public bool accepts_tab { get; set; }
+               public int bottom_margin { get; set; }
                public Gtk.TextBuffer buffer { get; set; }
                public bool cursor_visible { get; set; }
                public bool editable { get; set; }
@@ -5662,6 +5668,7 @@ namespace Gtk {
                public bool populate_all { get; set; }
                public int right_margin { get; set; }
                public Pango.TabArray tabs { owned get; set; }
+               public int top_margin { get; set; }
                public Gtk.WrapMode wrap_mode { get; set; }
                public virtual signal void backspace ();
                public virtual signal void copy_clipboard ();
@@ -8743,6 +8750,8 @@ namespace Gtk {
        [CCode (cheader_filename = "gtk/gtk.h")]
        public delegate bool FileFilterFunc (Gtk.FileFilterInfo filter_info);
        [CCode (cheader_filename = "gtk/gtk.h")]
+       public delegate Gtk.Widget FlowBoxCreateWidgetFunc (GLib.Object item);
+       [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);
index 5980184c7a8230cf4f51760663ab587e0f3a0d9b..c5db7470bc41d4b3a5a8fdd574fa4d9870757bd2 100644 (file)
                                <parameter name="data" type="gpointer"/>
                        </parameters>
                </callback>
+               <callback name="GtkFlowBoxCreateWidgetFunc">
+                       <return-type type="GtkWidget*"/>
+                       <parameters>
+                               <parameter name="item" type="gpointer"/>
+                               <parameter name="user_data" type="gpointer"/>
+                       </parameters>
+               </callback>
                <callback name="GtkFlowBoxFilterFunc">
                        <return-type type="gboolean"/>
                        <parameters>
                                <interface name="GtkBuildable"/>
                                <interface name="GtkOrientable"/>
                        </implements>
+                       <method name="bind_model" symbol="gtk_flow_box_bind_model">
+                               <return-type type="void"/>
+                               <parameters>
+                                       <parameter name="box" type="GtkFlowBox*"/>
+                                       <parameter name="model" type="GListModel*"/>
+                                       <parameter name="create_widget_func" type="GtkFlowBoxCreateWidgetFunc"/>
+                                       <parameter name="user_data" type="gpointer"/>
+                                       <parameter name="user_data_free_func" type="GDestroyNotify"/>
+                               </parameters>
+                       </method>
                        <method name="get_activate_on_single_click" symbol="gtk_flow_box_get_activate_on_single_click">
                                <return-type type="gboolean"/>
                                <parameters>
                                        <parameter name="type" type="GtkTextWindowType"/>
                                </parameters>
                        </method>
+                       <method name="get_bottom_margin" symbol="gtk_text_view_get_bottom_margin">
+                               <return-type type="gint"/>
+                               <parameters>
+                                       <parameter name="text_view" type="GtkTextView*"/>
+                               </parameters>
+                       </method>
                        <method name="get_buffer" symbol="gtk_text_view_get_buffer">
                                <return-type type="GtkTextBuffer*"/>
                                <parameters>
                                        <parameter name="text_view" type="GtkTextView*"/>
                                </parameters>
                        </method>
+                       <method name="get_top_margin" symbol="gtk_text_view_get_top_margin">
+                               <return-type type="gint"/>
+                               <parameters>
+                                       <parameter name="text_view" type="GtkTextView*"/>
+                               </parameters>
+                       </method>
                        <method name="get_vadjustment" symbol="gtk_text_view_get_vadjustment">
                                <return-type type="GtkAdjustment*"/>
                                <parameters>
                                        <parameter name="size" type="gint"/>
                                </parameters>
                        </method>
+                       <method name="set_bottom_margin" symbol="gtk_text_view_set_bottom_margin">
+                               <return-type type="void"/>
+                               <parameters>
+                                       <parameter name="text_view" type="GtkTextView*"/>
+                                       <parameter name="bottom_margin" type="gint"/>
+                               </parameters>
+                       </method>
                        <method name="set_buffer" symbol="gtk_text_view_set_buffer">
                                <return-type type="void"/>
                                <parameters>
                                        <parameter name="tabs" type="PangoTabArray*"/>
                                </parameters>
                        </method>
+                       <method name="set_top_margin" symbol="gtk_text_view_set_top_margin">
+                               <return-type type="void"/>
+                               <parameters>
+                                       <parameter name="text_view" type="GtkTextView*"/>
+                                       <parameter name="top_margin" type="gint"/>
+                               </parameters>
+                       </method>
                        <method name="set_wrap_mode" symbol="gtk_text_view_set_wrap_mode">
                                <return-type type="void"/>
                                <parameters>
                                </parameters>
                        </method>
                        <property name="accepts-tab" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
+                       <property name="bottom-margin" type="gint" readable="1" writable="1" construct="0" construct-only="0"/>
                        <property name="buffer" type="GtkTextBuffer*" readable="1" writable="1" construct="0" construct-only="0"/>
                        <property name="cursor-visible" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
                        <property name="editable" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
                        <property name="populate-all" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
                        <property name="right-margin" type="gint" readable="1" writable="1" construct="0" construct-only="0"/>
                        <property name="tabs" type="PangoTabArray*" readable="1" writable="1" construct="0" construct-only="0"/>
+                       <property name="top-margin" type="gint" readable="1" writable="1" construct="0" construct-only="0"/>
                        <property name="wrap-mode" type="GtkWrapMode" readable="1" writable="1" construct="0" construct-only="0"/>
                        <signal name="backspace" when="LAST">
                                <return-type type="void"/>
                                </parameters>
                        </vfunc>
                </interface>
-               <constant name="GTK_BINARY_AGE" type="int" value="1705"/>
+               <constant name="GTK_BINARY_AGE" type="int" value="1707"/>
                <constant name="GTK_INPUT_ERROR" type="int" value="-1"/>
                <constant name="GTK_INTERFACE_AGE" type="int" value="0"/>
                <constant name="GTK_LEVEL_BAR_OFFSET_HIGH" type="char*" value="high"/>
                <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="5"/>
+               <constant name="GTK_MICRO_VERSION" type="int" value="7"/>
                <constant name="GTK_MINOR_VERSION" type="int" value="17"/>
                <constant name="GTK_PAPER_NAME_A3" type="char*" value="iso_a3"/>
                <constant name="GTK_PAPER_NAME_A4" type="char*" value="iso_a4"/>
index 0f4dcf0b55d482aa9d1cb8e572630873d85e7715..144a26bfe4e35a96b41f3abde77fe7715eee5c26 100644 (file)
@@ -424,6 +424,9 @@ 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_bind_model.create_widget_func transfer_ownership="1"
+gtk_flow_box_bind_model.model type_name="GLib.ListModel" nullable="1"
+gtk_flow_box_bind_model.user_data_free_func hidden="1"
 gtk_flow_box_get_selected_children transfer_ownership="1" type_arguments="unowned FlowBoxChild"
 gtk_flow_box_selected_foreach.data hidden="1"
 gtk_flow_box_set_filter_func.filter_func transfer_ownership="1" nullable="1"
@@ -432,6 +435,9 @@ 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"
+GtkFlowBoxCreateWidgetFunc has_target="1" transfer_ownership="1"
+GtkFlowBoxCreateWidgetFunc.user_data hidden="1"
+GtkFlowBoxCreateWidgetFunc.item type_name="GLib.Object"
 gtk_font_chooser_dialog_new.* nullable="1"
 gtk_font_chooser_get_font transfer_ownership="1"
 gtk_font_chooser_get_font_desc transfer_ownership="1"