[vala] gtk+-3.0: Update to 3.19.0~92a136ff
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gtk+-3.0: Update to 3.19.0~92a136ff
- Date: Thu, 22 Oct 2015 12:56:24 +0000 (UTC)
commit a06c73d112ae8760d74c045409761dfc0a72ef01
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Thu Oct 22 14:54:42 2015 +0200
gtk+-3.0: Update to 3.19.0~92a136ff
vapi/gtk+-3.0.vapi | 83 ++++++++++++++++++-
vapi/packages/gtk+-3.0/gtk+-3.0.gi | 127 ++++++++++++++++++++++++++++--
vapi/packages/gtk+-3.0/gtk+-3.0.metadata | 3 +-
3 files changed, 201 insertions(+), 12 deletions(-)
---
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index c788ae1..5c3e1b4 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -621,8 +621,10 @@ namespace Gtk {
public class ApplicationWindow : Gtk.Window, Atk.Implementor, Gtk.Buildable, GLib.ActionGroup,
GLib.ActionMap {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public ApplicationWindow (Gtk.Application application);
+ public unowned Gtk.ShortcutsWindow get_help_overlay ();
public uint get_id ();
public bool get_show_menubar ();
+ public void set_help_overlay (Gtk.ShortcutsWindow help_overlay);
public void set_show_menubar (bool show_menubar);
public bool show_menubar { get; set construct; }
}
@@ -2151,7 +2153,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 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 ();
@@ -2187,7 +2189,7 @@ namespace Gtk {
public Gtk.SelectionMode selection_mode { get; set; }
public virtual signal void activate_cursor_child ();
public virtual signal void child_activated (Gtk.FlowBoxChild child);
- public virtual signal void move_cursor (Gtk.MovementStep step, int count);
+ public virtual signal bool move_cursor (Gtk.MovementStep step, int count);
[HasEmitter]
public virtual signal void select_all ();
public virtual signal void selected_children_changed ();
@@ -2616,6 +2618,7 @@ namespace Gtk {
public class IMContextSimple : Gtk.IMContext {
[CCode (has_construct_function = false, type = "GtkIMContext*")]
public IMContextSimple ();
+ public void add_compose_file (string compose_file);
public void add_table ([CCode (array_length = false)] uint16[] data, int max_seq_len, int
n_seqs);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_im_multicontext_get_type ()")]
@@ -4531,6 +4534,7 @@ namespace Gtk {
public static unowned Gtk.Settings get_for_screen (Gdk.Screen screen);
public static void install_property (GLib.ParamSpec pspec);
public static void install_property_parser (GLib.ParamSpec pspec, Gtk.RcPropertyParser
parser);
+ public void reset_property (string name);
public void set_double_property (string name, double v_double, string origin);
public void set_long_property (string name, long v_long, string origin);
public void set_property_value (string name, Gtk.SettingsValue svalue);
@@ -4701,6 +4705,74 @@ namespace Gtk {
[NoAccessorMethod]
public string gtk_xft_rgba { owned get; set; }
}
+ [CCode (cheader_filename = "gtk/gtk.h")]
+ public class ShortcutsGesture : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
+ [CCode (has_construct_function = false)]
+ protected ShortcutsGesture ();
+ [NoAccessorMethod]
+ public GLib.Icon icon { owned get; set; }
+ [NoAccessorMethod]
+ public Gtk.SizeGroup icon_size_group { set; }
+ [NoAccessorMethod]
+ public string subtitle { owned get; set; }
+ [NoAccessorMethod]
+ public string title { owned get; set; }
+ [NoAccessorMethod]
+ public Gtk.SizeGroup title_size_group { set; }
+ }
+ [CCode (cheader_filename = "gtk/gtk.h")]
+ public class ShortcutsGroup : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
+ [CCode (has_construct_function = false)]
+ protected ShortcutsGroup ();
+ [NoAccessorMethod]
+ public Gtk.SizeGroup accel_size_group { set; }
+ [NoAccessorMethod]
+ public uint height { get; }
+ [NoAccessorMethod]
+ public string title { owned get; set; }
+ [NoAccessorMethod]
+ public Gtk.SizeGroup title_size_group { set; }
+ [NoAccessorMethod]
+ public string view { owned get; set; }
+ }
+ [CCode (cheader_filename = "gtk/gtk.h")]
+ public class ShortcutsSection : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
+ [CCode (has_construct_function = false)]
+ protected ShortcutsSection ();
+ [NoAccessorMethod]
+ public uint max_height { get; set; }
+ [NoAccessorMethod]
+ public string section_name { owned get; set; }
+ [NoAccessorMethod]
+ public string title { owned get; set; }
+ [NoAccessorMethod]
+ public string view_name { owned get; set; }
+ public virtual signal bool change_current_page (int p0);
+ }
+ [CCode (cheader_filename = "gtk/gtk.h")]
+ public class ShortcutsShortcut : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
+ [CCode (has_construct_function = false)]
+ protected ShortcutsShortcut ();
+ [NoAccessorMethod]
+ public Gtk.SizeGroup accel_size_group { set; }
+ [NoAccessorMethod]
+ public string accelerator { owned get; set; }
+ [NoAccessorMethod]
+ public string title { owned get; set; }
+ [NoAccessorMethod]
+ public Gtk.SizeGroup title_size_group { set; }
+ }
+ [CCode (cheader_filename = "gtk/gtk.h")]
+ public class ShortcutsWindow : Gtk.Window, Atk.Implementor, Gtk.Buildable {
+ [CCode (has_construct_function = false)]
+ protected ShortcutsWindow ();
+ [NoAccessorMethod]
+ public string section_name { owned get; set; }
+ [NoAccessorMethod]
+ public string view_name { owned get; set; }
+ public virtual signal void close ();
+ public virtual signal void search ();
+ }
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_size_group_get_type ()")]
public class SizeGroup : GLib.Object, Gtk.Buildable {
[CCode (has_construct_function = false)]
@@ -5299,9 +5371,9 @@ namespace Gtk {
public bool get_has_selection ();
public unowned Gtk.TextMark get_insert ();
public void get_iter_at_child_anchor (out Gtk.TextIter iter, Gtk.TextChildAnchor anchor);
- public void get_iter_at_line (out Gtk.TextIter iter, int line_number);
- public void get_iter_at_line_index (out Gtk.TextIter iter, int line_number, int byte_index);
- public void get_iter_at_line_offset (out Gtk.TextIter iter, int line_number, int char_offset);
+ public bool get_iter_at_line (out Gtk.TextIter iter, int line_number);
+ public bool get_iter_at_line_index (out Gtk.TextIter iter, int line_number, int byte_index);
+ public bool get_iter_at_line_offset (out Gtk.TextIter iter, int line_number, int char_offset);
public void get_iter_at_mark (out Gtk.TextIter iter, Gtk.TextMark mark);
public void get_iter_at_offset (out Gtk.TextIter iter, int char_offset);
public int get_line_count ();
@@ -5401,6 +5473,7 @@ namespace Gtk {
public class TextTag : GLib.Object {
[CCode (has_construct_function = false)]
public TextTag (string? name = null);
+ public void changed (bool size_changed);
public int get_priority ();
public void set_priority (int priority);
[NoAccessorMethod]
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.gi b/vapi/packages/gtk+-3.0/gtk+-3.0.gi
index 1d0aabb..9cf9b31 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.gi
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.gi
@@ -2333,6 +2333,14 @@
<field name="origin" type="gchar*"/>
<field name="value" type="GValue"/>
</struct>
+ <struct name="GtkShortcutsGestureClass">
+ </struct>
+ <struct name="GtkShortcutsGroupClass">
+ </struct>
+ <struct name="GtkShortcutsSectionClass">
+ </struct>
+ <struct name="GtkShortcutsShortcutClass">
+ </struct>
<struct name="GtkStock">
<method name="add" symbol="gtk_stock_add">
<return-type type="void"/>
@@ -7228,6 +7236,12 @@
<interface name="GActionGroup"/>
<interface name="GActionMap"/>
</implements>
+ <method name="get_help_overlay" symbol="gtk_application_window_get_help_overlay">
+ <return-type type="GtkShortcutsWindow*"/>
+ <parameters>
+ <parameter name="window" type="GtkApplicationWindow*"/>
+ </parameters>
+ </method>
<method name="get_id" symbol="gtk_application_window_get_id">
<return-type type="guint"/>
<parameters>
@@ -7246,6 +7260,13 @@
<parameter name="application" type="GtkApplication*"/>
</parameters>
</constructor>
+ <method name="set_help_overlay" symbol="gtk_application_window_set_help_overlay">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="window" type="GtkApplicationWindow*"/>
+ <parameter name="help_overlay" type="GtkShortcutsWindow*"/>
+ </parameters>
+ </method>
<method name="set_show_menubar" symbol="gtk_application_window_set_show_menubar">
<return-type type="void"/>
<parameters>
@@ -13234,7 +13255,7 @@
</parameters>
</signal>
<signal name="move-cursor" when="LAST">
- <return-type type="void"/>
+ <return-type type="gboolean"/>
<parameters>
<parameter name="box" type="GtkFlowBox*"/>
<parameter name="step" type="GtkMovementStep"/>
@@ -14939,6 +14960,13 @@
</vfunc>
</object>
<object name="GtkIMContextSimple" parent="GtkIMContext" type-name="GtkIMContextSimple"
get-type="gtk_im_context_simple_get_type">
+ <method name="add_compose_file" symbol="gtk_im_context_simple_add_compose_file">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="context_simple" type="GtkIMContextSimple*"/>
+ <parameter name="compose_file" type="gchar*"/>
+ </parameters>
+ </method>
<method name="add_table" symbol="gtk_im_context_simple_add_table">
<return-type type="void"/>
<parameters>
@@ -22514,6 +22542,13 @@
<parameter name="parser" type="GtkRcPropertyParser"/>
</parameters>
</method>
+ <method name="reset_property" symbol="gtk_settings_reset_property">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="settings" type="GtkSettings*"/>
+ <parameter name="name" type="gchar*"/>
+ </parameters>
+ </method>
<method name="set_double_property" symbol="gtk_settings_set_double_property">
<return-type type="void"/>
<parameters>
@@ -22632,6 +22667,79 @@
<property name="gtk-xft-hintstyle" type="char*" readable="1" writable="1"
construct="0" construct-only="0"/>
<property name="gtk-xft-rgba" type="char*" readable="1" writable="1" construct="0"
construct-only="0"/>
</object>
+ <object name="GtkShortcutsGesture" parent="GtkBox" type-name="GtkShortcutsGesture"
get-type="gtk_shortcuts_gesture_get_type">
+ <implements>
+ <interface name="AtkImplementor"/>
+ <interface name="GtkBuildable"/>
+ <interface name="GtkOrientable"/>
+ </implements>
+ <property name="icon" type="GIcon*" readable="1" writable="1" construct="0"
construct-only="0"/>
+ <property name="icon-size-group" type="GtkSizeGroup*" readable="0" writable="1"
construct="0" construct-only="0"/>
+ <property name="subtitle" type="char*" readable="1" writable="1" construct="0"
construct-only="0"/>
+ <property name="title" type="char*" readable="1" writable="1" construct="0"
construct-only="0"/>
+ <property name="title-size-group" type="GtkSizeGroup*" readable="0" writable="1"
construct="0" construct-only="0"/>
+ </object>
+ <object name="GtkShortcutsGroup" parent="GtkBox" type-name="GtkShortcutsGroup"
get-type="gtk_shortcuts_group_get_type">
+ <implements>
+ <interface name="AtkImplementor"/>
+ <interface name="GtkBuildable"/>
+ <interface name="GtkOrientable"/>
+ </implements>
+ <property name="accel-size-group" type="GtkSizeGroup*" readable="0" writable="1"
construct="0" construct-only="0"/>
+ <property name="height" type="guint" readable="1" writable="0" construct="0"
construct-only="0"/>
+ <property name="title" type="char*" readable="1" writable="1" construct="0"
construct-only="0"/>
+ <property name="title-size-group" type="GtkSizeGroup*" readable="0" writable="1"
construct="0" construct-only="0"/>
+ <property name="view" type="char*" readable="1" writable="1" construct="0"
construct-only="0"/>
+ </object>
+ <object name="GtkShortcutsSection" parent="GtkBox" type-name="GtkShortcutsSection"
get-type="gtk_shortcuts_section_get_type">
+ <implements>
+ <interface name="AtkImplementor"/>
+ <interface name="GtkBuildable"/>
+ <interface name="GtkOrientable"/>
+ </implements>
+ <property name="max-height" type="guint" readable="1" writable="1" construct="0"
construct-only="0"/>
+ <property name="section-name" type="char*" readable="1" writable="1" construct="0"
construct-only="0"/>
+ <property name="title" type="char*" readable="1" writable="1" construct="0"
construct-only="0"/>
+ <property name="view-name" type="char*" readable="1" writable="1" construct="0"
construct-only="0"/>
+ <signal name="change-current-page" when="LAST">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="object" type="GtkShortcutsSection*"/>
+ <parameter name="p0" type="gint"/>
+ </parameters>
+ </signal>
+ </object>
+ <object name="GtkShortcutsShortcut" parent="GtkBox" type-name="GtkShortcutsShortcut"
get-type="gtk_shortcuts_shortcut_get_type">
+ <implements>
+ <interface name="AtkImplementor"/>
+ <interface name="GtkBuildable"/>
+ <interface name="GtkOrientable"/>
+ </implements>
+ <property name="accel-size-group" type="GtkSizeGroup*" readable="0" writable="1"
construct="0" construct-only="0"/>
+ <property name="accelerator" type="char*" readable="1" writable="1" construct="0"
construct-only="0"/>
+ <property name="title" type="char*" readable="1" writable="1" construct="0"
construct-only="0"/>
+ <property name="title-size-group" type="GtkSizeGroup*" readable="0" writable="1"
construct="0" construct-only="0"/>
+ </object>
+ <object name="GtkShortcutsWindow" parent="GtkWindow" type-name="GtkShortcutsWindow"
get-type="gtk_shortcuts_window_get_type">
+ <implements>
+ <interface name="AtkImplementor"/>
+ <interface name="GtkBuildable"/>
+ </implements>
+ <property name="section-name" type="char*" readable="1" writable="1" construct="0"
construct-only="0"/>
+ <property name="view-name" type="char*" readable="1" writable="1" construct="0"
construct-only="0"/>
+ <signal name="close" when="LAST">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="self" type="GtkShortcutsWindow*"/>
+ </parameters>
+ </signal>
+ <signal name="search" when="LAST">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="self" type="GtkShortcutsWindow*"/>
+ </parameters>
+ </signal>
+ </object>
<object name="GtkSizeGroup" parent="GObject" type-name="GtkSizeGroup"
get-type="gtk_size_group_get_type">
<implements>
<interface name="GtkBuildable"/>
@@ -24963,7 +25071,7 @@
</parameters>
</method>
<method name="get_iter_at_line" symbol="gtk_text_buffer_get_iter_at_line">
- <return-type type="void"/>
+ <return-type type="gboolean"/>
<parameters>
<parameter name="buffer" type="GtkTextBuffer*"/>
<parameter name="iter" type="GtkTextIter*"/>
@@ -24971,7 +25079,7 @@
</parameters>
</method>
<method name="get_iter_at_line_index" symbol="gtk_text_buffer_get_iter_at_line_index">
- <return-type type="void"/>
+ <return-type type="gboolean"/>
<parameters>
<parameter name="buffer" type="GtkTextBuffer*"/>
<parameter name="iter" type="GtkTextIter*"/>
@@ -24980,7 +25088,7 @@
</parameters>
</method>
<method name="get_iter_at_line_offset"
symbol="gtk_text_buffer_get_iter_at_line_offset">
- <return-type type="void"/>
+ <return-type type="gboolean"/>
<parameters>
<parameter name="buffer" type="GtkTextBuffer*"/>
<parameter name="iter" type="GtkTextIter*"/>
@@ -25513,6 +25621,13 @@
<field name="segment" type="gpointer"/>
</object>
<object name="GtkTextTag" parent="GObject" type-name="GtkTextTag"
get-type="gtk_text_tag_get_type">
+ <method name="changed" symbol="gtk_text_tag_changed">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="tag" type="GtkTextTag*"/>
+ <parameter name="size_changed" type="gboolean"/>
+ </parameters>
+ </method>
<method name="event" symbol="gtk_text_tag_event">
<return-type type="gboolean"/>
<parameters>
@@ -35767,7 +35882,7 @@
</parameters>
</vfunc>
</interface>
- <constant name="GTK_BINARY_AGE" type="int" value="1800"/>
+ <constant name="GTK_BINARY_AGE" type="int" value="1900"/>
<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"/>
@@ -35775,7 +35890,7 @@
<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="0"/>
- <constant name="GTK_MINOR_VERSION" type="int" value="18"/>
+ <constant name="GTK_MINOR_VERSION" type="int" value="19"/>
<constant name="GTK_PAPER_NAME_A3" type="char*" value="iso_a3"/>
<constant name="GTK_PAPER_NAME_A4" type="char*" value="iso_a4"/>
<constant name="GTK_PAPER_NAME_A5" type="char*" value="iso_a5"/>
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index 2ce636a..32dbd6a 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -429,7 +429,7 @@ 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.create_widget_func transfer_ownership="1" nullable="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"
@@ -1066,6 +1066,7 @@ GtkSettings.queued_settings hidden="1"
GtkSettings:color-hash type_arguments="string,Gdk.Color"
GtkSettings:gtk-touchscreen-mode deprecated_since="3.4" replacement="Gdk.Event.get_source_device"
GtkSettingsValue is_value_type="1"
+GtkShortcuts*Class hidden="1"
gtk_show_about_dialog ellipsis="1"
gtk_show_about_dialog.parent nullable="1"
gtk_show_uri.screen nullable="1"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]