[vala/wip/gtk4: 7/8] gtk+-4.0: Sync with master, wip/otte/gtk4, wip/baedert/box



commit 2eb470bfbd9854ed518fbdb717001853671a9d56
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Fri Oct 14 16:51:04 2016 +0200

    gtk+-4.0: Sync with master, wip/otte/gtk4, wip/baedert/box

 vapi/gdk-4.0.vapi                 |    1 +
 vapi/gdk-x11-4.0.vapi             |    1 +
 vapi/gtk+-4.0.vapi                |  297 ++++---------------------------------
 vapi/metadata/Gdk-4.0.metadata    |    2 +
 vapi/metadata/GdkX11-4.0.metadata |    2 +
 vapi/metadata/Gtk-4.0.metadata    |    2 +
 6 files changed, 35 insertions(+), 270 deletions(-)
---
diff --git a/vapi/gdk-4.0.vapi b/vapi/gdk-4.0.vapi
index 7df32a7..5f82486 100644
--- a/vapi/gdk-4.0.vapi
+++ b/vapi/gdk-4.0.vapi
@@ -1,6 +1,7 @@
 /* gdk-4.0.vapi generated by vapigen, do not modify. */
 
 [CCode (cprefix = "Gdk", gir_namespace = "Gdk", gir_version = "4.0", lower_case_cprefix = "gdk_")]
+[Version (experimental = true)]
 namespace Gdk {
        namespace Key {
                [CCode (cheader_filename = "gdk/gdk.h", cname = "GDK_KEY_0")]
diff --git a/vapi/gdk-x11-4.0.vapi b/vapi/gdk-x11-4.0.vapi
index f9b5cda..5403a9f 100644
--- a/vapi/gdk-x11-4.0.vapi
+++ b/vapi/gdk-x11-4.0.vapi
@@ -1,6 +1,7 @@
 /* gdk-x11-4.0.vapi generated by vapigen, do not modify. */
 
 [CCode (cprefix = "Gdk", gir_namespace = "GdkX11", gir_version = "4.0", lower_case_cprefix = "gdk_")]
+[Version (experimental = true)]
 namespace Gdk {
        namespace X11 {
                [CCode (cheader_filename = "gdk/gdkx.h", type_id = "gdk_x11_app_launch_context_get_type ()")]
diff --git a/vapi/gtk+-4.0.vapi b/vapi/gtk+-4.0.vapi
index 3b89a60..9b801da 100644
--- a/vapi/gtk+-4.0.vapi
+++ b/vapi/gtk+-4.0.vapi
@@ -1,6 +1,7 @@
 /* gtk+-4.0.vapi generated by vapigen, do not modify. */
 
 [CCode (cprefix = "Gtk", gir_namespace = "Gtk", gir_version = "4.0", lower_case_cprefix = "gtk_")]
+[Version (experimental = true)]
 namespace Gtk {
        [Version (deprecated_since = "3.10")]
        namespace Stock {
@@ -1176,29 +1177,19 @@ namespace Gtk {
                public string translation_domain { get; set; }
        }
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_button_get_type ()")]
-       public class Button : Gtk.Bin, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
+       public class Button : Gtk.Bin, Atk.Implementor, Gtk.Actionable, Gtk.Buildable {
                [CCode (has_construct_function = false, type = "GtkWidget*")]
                public Button ();
                [CCode (has_construct_function = false, type = "GtkWidget*")]
                [Version (since = "3.10")]
                public Button.from_icon_name (string icon_name, [CCode (type = "GtkIconSize")] Gtk.IconSize 
size = Gtk.IconSize.BUTTON);
-               [Version (since = "3.6")]
-               public bool get_always_show_image ();
                [Version (since = "2.22")]
                public unowned Gdk.Window get_event_window ();
-               [Version (since = "2.6")]
-               public unowned Gtk.Widget? get_image ();
-               [Version (since = "2.10")]
-               public Gtk.PositionType get_image_position ();
-               public unowned string get_label ();
+               public unowned string? get_icon_name ();
+               public unowned string? get_label ();
                public Gtk.ReliefStyle get_relief ();
                public bool get_use_underline ();
-               [Version (since = "3.6")]
-               public void set_always_show_image (bool always_show);
-               [Version (since = "2.6")]
-               public void set_image (Gtk.Widget image);
-               [Version (since = "2.10")]
-               public void set_image_position (Gtk.PositionType position);
+               public void set_icon_name (string icon_name);
                public void set_label (string label);
                public void set_relief (Gtk.ReliefStyle relief);
                public void set_use_underline (bool use_underline);
@@ -1206,15 +1197,10 @@ namespace Gtk {
                public Button.with_label (string label);
                [CCode (has_construct_function = false, type = "GtkWidget*")]
                public Button.with_mnemonic (string label);
-               [Version (since = "3.6")]
-               public bool always_show_image { get; set construct; }
-               [Version (since = "2.6")]
-               public Gtk.Widget image { get; set; }
-               [Version (since = "2.10")]
-               public Gtk.PositionType image_position { get; set; }
-               public string label { get; set construct; }
+               public string icon_name { get; set; }
+               public string label { get; set; }
                public Gtk.ReliefStyle relief { get; set; }
-               public bool use_underline { get; set construct; }
+               public bool use_underline { get; set; }
                public virtual signal void activate ();
                [HasEmitter]
                public virtual signal void clicked ();
@@ -1533,9 +1519,6 @@ namespace Gtk {
                [NoAccessorMethod]
                public string cell_background { set; }
                [NoAccessorMethod]
-               [Version (deprecated = true, deprecated_since = "3.4", replacement = "cell_background_rgba")]
-               public Gdk.Color cell_background_gdk { get; set; }
-               [NoAccessorMethod]
                [Version (since = "3.0")]
                public Gdk.RGBA cell_background_rgba { get; set; }
                [NoAccessorMethod]
@@ -1877,7 +1860,7 @@ namespace Gtk {
                public Gtk.TreeModel model { get; set; }
        }
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_check_button_get_type ()")]
-       public class CheckButton : Gtk.ToggleButton, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, 
Gtk.Buildable {
+       public class CheckButton : Gtk.ToggleButton, Atk.Implementor, Gtk.Actionable, Gtk.Buildable {
                [CCode (has_construct_function = false, type = "GtkWidget*")]
                public CheckButton ();
                [NoWrapper]
@@ -1888,7 +1871,7 @@ namespace Gtk {
                public CheckButton.with_mnemonic (string label);
        }
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_check_menu_item_get_type ()")]
-       public class CheckMenuItem : Gtk.MenuItem, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, 
Gtk.Buildable {
+       public class CheckMenuItem : Gtk.MenuItem, Atk.Implementor, Gtk.Actionable, Gtk.Buildable {
                [CCode (has_construct_function = false, type = "GtkWidget*")]
                public CheckMenuItem ();
                [NoWrapper]
@@ -1973,37 +1956,17 @@ namespace Gtk {
                public signal void owner_change (Gdk.EventOwnerChange event);
        }
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_color_button_get_type ()")]
-       public class ColorButton : Gtk.Button, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, 
Gtk.Buildable, Gtk.ColorChooser {
+       public class ColorButton : Gtk.Button, Atk.Implementor, Gtk.Actionable, Gtk.Buildable, 
Gtk.ColorChooser {
                [CCode (has_construct_function = false, type = "GtkWidget*")]
                [Version (since = "2.4")]
                public ColorButton ();
-               [Version (deprecated = true, deprecated_since = "3.4", since = "2.4")]
-               public uint16 get_alpha ();
-               [Version (deprecated = true, deprecated_since = "3.4", since = "2.4")]
-               public void get_color (out Gdk.Color color);
                [Version (since = "2.4")]
                public unowned string get_title ();
-               [Version (deprecated = true, deprecated_since = "3.4", since = "2.4")]
-               public bool get_use_alpha ();
-               [Version (deprecated = true, deprecated_since = "3.4", since = "2.4")]
-               public void set_alpha (uint16 alpha);
-               [Version (deprecated = true, since = "2.4")]
-               public void set_color (Gdk.Color color);
                [Version (since = "2.4")]
                public void set_title (string title);
-               [Version (deprecated = true, deprecated_since = "3.4", since = "2.4")]
-               public void set_use_alpha (bool use_alpha);
-               [CCode (has_construct_function = false, type = "GtkWidget*")]
-               [Version (deprecated = true, deprecated_since = "3.4", since = "2.4")]
-               public ColorButton.with_color (Gdk.Color color);
                [CCode (has_construct_function = false, type = "GtkWidget*")]
                [Version (since = "3.0")]
                public ColorButton.with_rgba (Gdk.RGBA rgba);
-               [Version (since = "2.4")]
-               public uint alpha { get; set; }
-               [NoAccessorMethod]
-               [Version (deprecated = true, deprecated_since = "3.4", replacement = "ColorChooser.rgba", 
since = "2.4")]
-               public Gdk.Color color { get; set; }
                [NoAccessorMethod]
                [Version (since = "3.20")]
                public bool show_editor { get; set; }
@@ -3031,7 +2994,7 @@ namespace Gtk {
                protected FlowBoxChildAccessible ();
        }
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_font_button_get_type ()")]
-       public class FontButton : Gtk.Button, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, 
Gtk.Buildable, Gtk.FontChooser {
+       public class FontButton : Gtk.Button, Atk.Implementor, Gtk.Actionable, Gtk.Buildable, Gtk.FontChooser 
{
                [CCode (has_construct_function = false, type = "GtkWidget*")]
                [Version (since = "2.4")]
                public FontButton ();
@@ -4100,7 +4063,7 @@ namespace Gtk {
                protected LevelBarAccessible ();
        }
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_link_button_get_type ()")]
-       public class LinkButton : Gtk.Button, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable 
{
+       public class LinkButton : Gtk.Button, Atk.Implementor, Gtk.Actionable, Gtk.Buildable {
                [CCode (has_construct_function = false, type = "GtkWidget*")]
                [Version (since = "2.10")]
                public LinkButton (string uri);
@@ -4275,7 +4238,7 @@ namespace Gtk {
                public void swap (Gtk.TreeIter a, Gtk.TreeIter b);
        }
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_lock_button_get_type ()")]
-       public class LockButton : Gtk.Button, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable 
{
+       public class LockButton : Gtk.Button, Atk.Implementor, Gtk.Actionable, Gtk.Buildable {
                [CCode (has_construct_function = false, type = "GtkWidget*")]
                [Version (since = "3.2")]
                public LockButton (GLib.Permission? permission);
@@ -4399,7 +4362,7 @@ namespace Gtk {
                public Gtk.PackDirection pack_direction { get; set; }
        }
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_menu_button_get_type ()")]
-       public class MenuButton : Gtk.ToggleButton, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, 
Gtk.Buildable {
+       public class MenuButton : Gtk.ToggleButton, Atk.Implementor, Gtk.Actionable, Gtk.Buildable {
                [CCode (has_construct_function = false, type = "GtkWidget*")]
                [Version (since = "3.6")]
                public MenuButton ();
@@ -4446,7 +4409,7 @@ namespace Gtk {
                protected MenuButtonAccessible ();
        }
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_menu_item_get_type ()")]
-       public class MenuItem : Gtk.Bin, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
+       public class MenuItem : Gtk.Bin, Atk.Implementor, Gtk.Actionable, Gtk.Buildable {
                [CCode (has_construct_function = false, type = "GtkWidget*")]
                public MenuItem ();
                [Version (since = "2.14")]
@@ -4455,8 +4418,6 @@ namespace Gtk {
                public virtual unowned string get_label ();
                [Version (since = "3.0")]
                public bool get_reserve_indicator ();
-               [Version (deprecated = true, deprecated_since = "3.2", replacement = "Widget.get_hexpand and 
Widget.get_halign")]
-               public bool get_right_justified ();
                public unowned Gtk.Widget? get_submenu ();
                [Version (since = "2.16")]
                public bool get_use_underline ();
@@ -4465,8 +4426,6 @@ namespace Gtk {
                public virtual void set_label (string label);
                [Version (since = "3.0")]
                public void set_reserve_indicator (bool reserve);
-               [Version (deprecated = true, deprecated_since = "3.2", replacement = "Widget.set_hexpand and 
Widget.set_halign")]
-               public void set_right_justified (bool right_justified);
                public void set_submenu (Gtk.Menu? submenu);
                [Version (since = "2.16")]
                public void set_use_underline (bool setting);
@@ -4478,8 +4437,6 @@ namespace Gtk {
                public string accel_path { get; set; }
                [Version (since = "2.16")]
                public string label { get; set; }
-               [Version (since = "2.14")]
-               public bool right_justified { get; set; }
                [Version (since = "2.12")]
                public Gtk.Menu submenu { get; set; }
                [Version (since = "2.16")]
@@ -4608,7 +4565,7 @@ namespace Gtk {
                public bool use_markup { get; set; }
        }
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_model_button_get_type ()")]
-       public class ModelButton : Gtk.Button, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, 
Gtk.Buildable {
+       public class ModelButton : Gtk.Button, Atk.Implementor, Gtk.Actionable, Gtk.Buildable {
                [CCode (has_construct_function = false, type = "GtkWidget*")]
                [Version (since = "3.16")]
                public ModelButton ();
@@ -4716,15 +4673,11 @@ namespace Gtk {
                public bool get_show_tabs ();
                [Version (since = "2.10")]
                public bool get_tab_detachable (Gtk.Widget child);
-               [Version (deprecated = true, deprecated_since = "3.4", since = "2.22")]
-               public uint16 get_tab_hborder ();
                public unowned Gtk.Widget get_tab_label (Gtk.Widget child);
                public unowned string? get_tab_label_text (Gtk.Widget child);
                public Gtk.PositionType get_tab_pos ();
                [Version (since = "2.10")]
                public bool get_tab_reorderable (Gtk.Widget child);
-               [Version (deprecated = true, deprecated_since = "3.4", since = "2.22")]
-               public uint16 get_tab_vborder ();
                public int insert_page (Gtk.Widget child, Gtk.Widget? tab_label, int position);
                [CCode (vfunc_name = "insert_page")]
                [NoWrapper]
@@ -5538,7 +5491,7 @@ namespace Gtk {
                public virtual signal void changed (Gtk.RadioAction current);
        }
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_radio_button_get_type ()")]
-       public class RadioButton : Gtk.CheckButton, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, 
Gtk.Buildable {
+       public class RadioButton : Gtk.CheckButton, Atk.Implementor, Gtk.Actionable, Gtk.Buildable {
                [CCode (has_construct_function = false, type = "GtkWidget*")]
                public RadioButton (GLib.SList<Gtk.RadioButton>? group);
                [CCode (has_construct_function = false, type = "GtkWidget*")]
@@ -5565,7 +5518,7 @@ namespace Gtk {
                protected RadioButtonAccessible ();
        }
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_radio_menu_item_get_type ()")]
-       public class RadioMenuItem : Gtk.CheckMenuItem, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, 
Gtk.Buildable {
+       public class RadioMenuItem : Gtk.CheckMenuItem, Atk.Implementor, Gtk.Actionable, Gtk.Buildable {
                [CCode (has_construct_function = false, type = "GtkWidget*")]
                public RadioMenuItem (GLib.SList<Gtk.RadioMenuItem>? group);
                [CCode (has_construct_function = false, type = "GtkWidget*")]
@@ -5890,7 +5843,7 @@ namespace Gtk {
                protected ScaleAccessible ();
        }
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_scale_button_get_type ()")]
-       public class ScaleButton : Gtk.Button, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, 
Gtk.Buildable, Gtk.Orientable {
+       public class ScaleButton : Gtk.Button, Atk.Implementor, Gtk.Actionable, Gtk.Buildable, Gtk.Orientable 
{
                [CCode (has_construct_function = false, type = "GtkWidget*")]
                [Version (since = "2.12")]
                public ScaleButton ([CCode (type = "GtkIconSize")] Gtk.IconSize size, double min = 0.0, 
double max = 100.0, double step = 2.0, [CCode (array_length = false, array_null_terminated = true)] string[]? 
icons = null);
@@ -6117,7 +6070,7 @@ namespace Gtk {
                public Separator (Gtk.Orientation orientation);
        }
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_separator_menu_item_get_type ()")]
-       public class SeparatorMenuItem : Gtk.MenuItem, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, 
Gtk.Buildable {
+       public class SeparatorMenuItem : Gtk.MenuItem, Atk.Implementor, Gtk.Actionable, Gtk.Buildable {
                [CCode (has_construct_function = false, type = "GtkWidget*")]
                public SeparatorMenuItem ();
        }
@@ -6139,23 +6092,8 @@ namespace Gtk {
                public static unowned Gtk.Settings? get_default ();
                [Version (since = "2.2")]
                public static unowned Gtk.Settings get_for_screen (Gdk.Screen screen);
-               [Version (deprecated = true, deprecated_since = "3.16")]
-               public static void install_property (GLib.ParamSpec pspec);
-               [Version (deprecated = true, deprecated_since = "3.16")]
-               public static void install_property_parser (GLib.ParamSpec pspec, Gtk.RcPropertyParser 
parser);
                [Version (since = "3.20")]
                public void reset_property (string name);
-               [Version (deprecated = true, deprecated_since = "3.16")]
-               public void set_double_property (string name, double v_double, string origin);
-               [Version (deprecated = true, deprecated_since = "3.16")]
-               public void set_long_property (string name, long v_long, string origin);
-               [Version (deprecated = true, deprecated_since = "3.16")]
-               public void set_property_value (string name, Gtk.SettingsValue svalue);
-               [Version (deprecated = true, deprecated_since = "3.16")]
-               public void set_string_property (string name, string v_string, string origin);
-               [NoAccessorMethod]
-               [Version (deprecated = true, deprecated_since = "3.8", since = "2.10")]
-               public GLib.HashTable<string,Gdk.Color> color_hash { owned get; }
                [NoAccessorMethod]
                public bool gtk_alternative_button_order { get; set; }
                [NoAccessorMethod]
@@ -6165,21 +6103,6 @@ namespace Gtk {
                [Version (since = "3.0")]
                public bool gtk_application_prefer_dark_theme { get; set; }
                [NoAccessorMethod]
-               [Version (deprecated = true, deprecated_since = "3.10", since = "2.20")]
-               public bool gtk_auto_mnemonics { get; set; }
-               [NoAccessorMethod]
-               [Version (deprecated = true, deprecated_since = "3.10", since = "2.4")]
-               public bool gtk_button_images { get; set; }
-               [NoAccessorMethod]
-               [Version (deprecated = true, deprecated_since = "3.10")]
-               public bool gtk_can_change_accels { get; set; }
-               [NoAccessorMethod]
-               [Version (deprecated = true, deprecated_since = "3.10")]
-               public string gtk_color_palette { owned get; set; }
-               [NoAccessorMethod]
-               [Version (deprecated = true, deprecated_since = "3.8", since = "2.10")]
-               public string gtk_color_scheme { owned get; set; }
-               [NoAccessorMethod]
                public bool gtk_cursor_blink { get; set; }
                [NoAccessorMethod]
                public int gtk_cursor_blink_time { get; set; }
@@ -6214,15 +6137,9 @@ namespace Gtk {
                [Version (since = "2.14")]
                public bool gtk_enable_input_feedback_sounds { get; set; }
                [NoAccessorMethod]
-               [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
-               public bool gtk_enable_mnemonics { get; set; }
-               [NoAccessorMethod]
                [Version (since = "3.4")]
                public bool gtk_enable_primary_paste { get; set; }
                [NoAccessorMethod]
-               [Version (deprecated = true, deprecated_since = "3.10", since = "2.14")]
-               public bool gtk_enable_tooltips { get; set; }
-               [NoAccessorMethod]
                [Version (since = "2.10")]
                public uint gtk_entry_password_hint_timeout { get; set; }
                [NoAccessorMethod]
@@ -6231,60 +6148,24 @@ namespace Gtk {
                [Version (since = "2.12")]
                public bool gtk_error_bell { get; set; }
                [NoAccessorMethod]
-               [Version (deprecated = true, deprecated_since = "3.10")]
-               public string gtk_fallback_icon_theme { owned get; set; }
-               [NoAccessorMethod]
-               [Version (deprecated = true, deprecated_since = "3.10")]
-               public string gtk_file_chooser_backend { owned get; set; }
-               [NoAccessorMethod]
                public string gtk_font_name { owned get; set; }
                [NoAccessorMethod]
                public uint gtk_fontconfig_timestamp { get; set; }
                [NoAccessorMethod]
-               [Version (deprecated = true, deprecated_since = "3.10")]
-               public string gtk_icon_sizes { owned get; set; }
-               [NoAccessorMethod]
                public string gtk_icon_theme_name { owned get; set; }
                [NoAccessorMethod]
                public string gtk_im_module { owned get; set; }
                [NoAccessorMethod]
-               [Version (deprecated = true, deprecated_since = "3.10")]
-               public Gtk.IMPreeditStyle gtk_im_preedit_style { get; set; }
-               [NoAccessorMethod]
-               [Version (deprecated = true, deprecated_since = "3.10")]
-               public Gtk.IMStatusStyle gtk_im_status_style { get; set; }
-               [NoAccessorMethod]
                public string gtk_key_theme_name { owned get; set; }
                [NoAccessorMethod]
-               [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
-               public bool gtk_keynav_cursor_only { get; set; }
-               [NoAccessorMethod]
                [Version (since = "3.20")]
                public bool gtk_keynav_use_caret { get; set; }
                [NoAccessorMethod]
-               [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
-               public bool gtk_keynav_wrap_around { get; set; }
-               [NoAccessorMethod]
                public bool gtk_label_select_on_focus { get; set; }
                [NoAccessorMethod]
                [Version (since = "3.14")]
                public uint gtk_long_press_time { get; set; }
                [NoAccessorMethod]
-               [Version (deprecated = true, deprecated_since = "3.10")]
-               public string gtk_menu_bar_accel { owned get; set; }
-               [NoAccessorMethod]
-               [Version (deprecated = true, deprecated_since = "3.10")]
-               public int gtk_menu_bar_popup_delay { get; set; }
-               [NoAccessorMethod]
-               [Version (deprecated = true, deprecated_since = "3.10")]
-               public bool gtk_menu_images { get; set; }
-               [NoAccessorMethod]
-               [Version (deprecated = true, deprecated_since = "3.10")]
-               public int gtk_menu_popdown_delay { get; set; }
-               [NoAccessorMethod]
-               [Version (deprecated = true, deprecated_since = "3.10")]
-               public int gtk_menu_popup_delay { get; set; }
-               [NoAccessorMethod]
                public string gtk_modules { owned get; set; }
                [NoAccessorMethod]
                [Version (since = "3.6")]
@@ -6299,27 +6180,15 @@ namespace Gtk {
                [Version (since = "3.8")]
                public bool gtk_recent_files_enabled { get; set; }
                [NoAccessorMethod]
-               [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
-               public int gtk_recent_files_limit { get; set; }
-               [NoAccessorMethod]
                [Version (since = "2.14")]
                public int gtk_recent_files_max_age { get; set; }
                [NoAccessorMethod]
-               [Version (deprecated = true, deprecated_since = "3.10", since = "2.10")]
-               public Gtk.CornerType gtk_scrolled_window_placement { get; set; }
-               [NoAccessorMethod]
                public bool gtk_shell_shows_app_menu { get; set; }
                [NoAccessorMethod]
                public bool gtk_shell_shows_desktop { get; set; }
                [NoAccessorMethod]
                public bool gtk_shell_shows_menubar { get; set; }
                [NoAccessorMethod]
-               [Version (deprecated = true, deprecated_since = "3.10")]
-               public bool gtk_show_input_method_menu { get; set; }
-               [NoAccessorMethod]
-               [Version (deprecated = true, deprecated_since = "3.10")]
-               public bool gtk_show_unicode_menu { get; set; }
-               [NoAccessorMethod]
                [Version (since = "2.14")]
                public string gtk_sound_theme_name { owned get; set; }
                [NoAccessorMethod]
@@ -6327,15 +6196,6 @@ namespace Gtk {
                [NoAccessorMethod]
                public string gtk_theme_name { owned get; set; }
                [NoAccessorMethod]
-               [Version (deprecated = true, deprecated_since = "3.10")]
-               public int gtk_timeout_expand { get; set; }
-               [NoAccessorMethod]
-               [Version (deprecated = true, deprecated_since = "3.10")]
-               public int gtk_timeout_initial { get; set; }
-               [NoAccessorMethod]
-               [Version (deprecated = true, deprecated_since = "3.10")]
-               public int gtk_timeout_repeat { get; set; }
-               [NoAccessorMethod]
                [Version (since = "3.14")]
                public string gtk_titlebar_double_click { owned get; set; }
                [NoAccessorMethod]
@@ -6345,27 +6205,6 @@ namespace Gtk {
                [Version (since = "3.14")]
                public string gtk_titlebar_right_click { owned get; set; }
                [NoAccessorMethod]
-               [Version (deprecated = true, deprecated_since = "3.10")]
-               public Gtk.IconSize gtk_toolbar_icon_size { get; set; }
-               [NoAccessorMethod]
-               [Version (deprecated = true, deprecated_since = "3.10")]
-               public Gtk.ToolbarStyle gtk_toolbar_style { get; set; }
-               [NoAccessorMethod]
-               [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
-               public int gtk_tooltip_browse_mode_timeout { get; set; }
-               [NoAccessorMethod]
-               [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
-               public int gtk_tooltip_browse_timeout { get; set; }
-               [NoAccessorMethod]
-               [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
-               public int gtk_tooltip_timeout { get; set; }
-               [NoAccessorMethod]
-               [Version (deprecated = true, deprecated_since = "3.4.", since = "2.10")]
-               public bool gtk_touchscreen_mode { get; set; }
-               [NoAccessorMethod]
-               [Version (deprecated = true, deprecated_since = "3.10", since = "3.2")]
-               public Gtk.PolicyType gtk_visible_focus { get; set; }
-               [NoAccessorMethod]
                public int gtk_xft_antialias { get; set; }
                [NoAccessorMethod]
                public int gtk_xft_dpi { get; set; }
@@ -6467,17 +6306,11 @@ namespace Gtk {
                [CCode (has_construct_function = false)]
                public SizeGroup (Gtk.SizeGroupMode mode);
                public void add_widget (Gtk.Widget widget);
-               [Version (deprecated = true, deprecated_since = "3.22", since = "2.8")]
-               public bool get_ignore_hidden ();
                public Gtk.SizeGroupMode get_mode ();
                [Version (since = "2.10")]
                public unowned GLib.SList<Gtk.Widget> get_widgets ();
                public void remove_widget (Gtk.Widget widget);
-               [Version (deprecated = true, deprecated_since = "3.22", since = "2.8")]
-               public void set_ignore_hidden (bool ignore_hidden);
                public void set_mode (Gtk.SizeGroupMode mode);
-               [Version (deprecated = true, deprecated_since = "3.22", since = "2.8")]
-               public bool ignore_hidden { get; set; }
                public Gtk.SizeGroupMode mode { get; set; }
        }
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_spin_button_get_type ()")]
@@ -6814,7 +6647,7 @@ namespace Gtk {
                public virtual signal void changed ();
        }
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_switch_get_type ()")]
-       public class Switch : Gtk.Widget, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, Gtk.Buildable {
+       public class Switch : Gtk.Widget, Atk.Implementor, Gtk.Actionable, Gtk.Buildable {
                [CCode (has_construct_function = false, type = "GtkWidget*")]
                [Version (since = "3.0")]
                public Switch ();
@@ -6868,36 +6701,6 @@ namespace Gtk {
                [Version (deprecated = true, deprecated_since = "3.8", since = "3.4")]
                public SymbolicColor.win32 (string theme_class, int id);
        }
-       [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_table_get_type ()")]
-       [Version (deprecated = true, deprecated_since = "3.4", replacement = "Grid")]
-       public class Table : Gtk.Container, Atk.Implementor, Gtk.Buildable {
-               [CCode (has_construct_function = false, type = "GtkWidget*")]
-               public Table (uint rows, uint columns, bool homogeneous);
-               public void attach (Gtk.Widget child, uint left_attach, uint right_attach, uint top_attach, 
uint bottom_attach, Gtk.AttachOptions xoptions, Gtk.AttachOptions yoptions, uint xpadding, uint ypadding);
-               public void attach_defaults (Gtk.Widget widget, uint left_attach, uint right_attach, uint 
top_attach, uint bottom_attach);
-               public uint get_col_spacing (uint column);
-               public uint get_default_col_spacing ();
-               public uint get_default_row_spacing ();
-               public bool get_homogeneous ();
-               public uint get_row_spacing (uint row);
-               [Version (since = "2.22")]
-               public void get_size (out uint rows, out uint columns);
-               public void resize (uint rows, uint columns);
-               public void set_col_spacing (uint column, uint spacing);
-               public void set_col_spacings (uint spacing);
-               public void set_homogeneous (bool homogeneous);
-               public void set_row_spacing (uint row, uint spacing);
-               public void set_row_spacings (uint spacing);
-               [NoAccessorMethod]
-               public uint column_spacing { get; set; }
-               public bool homogeneous { get; set; }
-               [NoAccessorMethod]
-               public uint n_columns { get; set; }
-               [NoAccessorMethod]
-               public uint n_rows { get; set; }
-               [NoAccessorMethod]
-               public uint row_spacing { get; set; }
-       }
        [CCode (cheader_filename = "gtk/gtk.h", ref_function = "gtk_target_list_ref", type_id = 
"gtk_target_list_get_type ()", unref_function = "gtk_target_list_unref")]
        [Compact]
        public class TargetList {
@@ -7459,7 +7262,7 @@ namespace Gtk {
                public virtual signal void toggled ();
        }
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_toggle_button_get_type ()")]
-       public class ToggleButton : Gtk.Button, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, 
Gtk.Buildable {
+       public class ToggleButton : Gtk.Button, Atk.Implementor, Gtk.Actionable, Gtk.Buildable {
                [CCode (has_construct_function = false, type = "GtkWidget*")]
                public ToggleButton ();
                public bool get_active ();
@@ -7549,8 +7352,6 @@ namespace Gtk {
                public Gtk.Orientation get_orientation ();
                [Version (since = "2.4")]
                public unowned Gtk.Widget get_proxy_menu_item (string menu_item_id);
-               [Version (since = "2.4")]
-               public Gtk.ReliefStyle get_relief_style ();
                [Version (since = "2.20")]
                public float get_text_alignment ();
                [Version (since = "2.20")]
@@ -8270,22 +8071,14 @@ namespace Gtk {
                public Viewport (Gtk.Adjustment? hadjustment, Gtk.Adjustment? vadjustment);
                [Version (since = "2.20")]
                public unowned Gdk.Window get_bin_window ();
-               [Version (deprecated = true, deprecated_since = "3.0")]
-               public unowned Gtk.Adjustment get_hadjustment ();
                public Gtk.ShadowType get_shadow_type ();
-               [Version (deprecated = true, deprecated_since = "3.0")]
-               public unowned Gtk.Adjustment get_vadjustment ();
                [Version (since = "2.22")]
                public unowned Gdk.Window get_view_window ();
-               [Version (deprecated = true, deprecated_since = "3.0")]
-               public void set_hadjustment (Gtk.Adjustment? adjustment);
                public void set_shadow_type (Gtk.ShadowType type);
-               [Version (deprecated = true, deprecated_since = "3.0")]
-               public void set_vadjustment (Gtk.Adjustment? adjustment);
                public Gtk.ShadowType shadow_type { get; set; }
        }
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_volume_button_get_type ()")]
-       public class VolumeButton : Gtk.ScaleButton, Atk.Implementor, Gtk.Actionable, Gtk.Activatable, 
Gtk.Buildable, Gtk.Orientable {
+       public class VolumeButton : Gtk.ScaleButton, Atk.Implementor, Gtk.Actionable, Gtk.Buildable, 
Gtk.Orientable {
                [CCode (has_construct_function = false, type = "GtkWidget*")]
                [Version (since = "2.12")]
                public VolumeButton ();
@@ -8375,8 +8168,6 @@ namespace Gtk {
                public Gtk.TextDirection get_direction ();
                [Version (since = "2.2")]
                public unowned Gdk.Display get_display ();
-               [Version (since = "2.18")]
-               public bool get_double_buffered ();
                public int get_events ();
                [Version (since = "3.20")]
                public bool get_focus_on_click ();
@@ -8413,8 +8204,6 @@ namespace Gtk {
                public unowned Gtk.Container? get_parent ();
                public unowned Gdk.Window get_parent_window ();
                public unowned Gtk.WidgetPath get_path ();
-               [Version (deprecated = true, deprecated_since = "3.4")]
-               public void get_pointer (out int x, out int y);
                [Version (since = "3.0")]
                public virtual void get_preferred_height (out int minimum_height, out int natural_height);
                [Version (since = "3.10")]
@@ -8516,10 +8305,6 @@ namespace Gtk {
                [CCode (array_length_pos = 0.1, array_length_type = "guint", cname = 
"gtk_widget_class_list_style_properties")]
                [Version (since = "2.2")]
                public class (unowned GLib.ParamSpec)[] list_style_properties ();
-               [Version (deprecated = true, deprecated_since = "3.10")]
-               public static void pop_composite_child ();
-               [Version (deprecated = true, deprecated_since = "3.10")]
-               public static void push_composite_child ();
                [Version (since = "3.20")]
                public void queue_allocate ();
                public void queue_compute_expand ();
@@ -8537,8 +8322,6 @@ namespace Gtk {
                public void remove_mnemonic_label (Gtk.Widget label);
                [Version (since = "3.8")]
                public void remove_tick_callback (uint id);
-               [Version (deprecated = true, deprecated_since = "3.14")]
-               public void reparent (Gtk.Widget new_parent);
                [Version (since = "3.0")]
                public void reset_style ();
                [Version (since = "2.20")]
@@ -8572,8 +8355,6 @@ namespace Gtk {
                [Version (since = "3.0")]
                public void set_device_events (Gdk.Device device, Gdk.EventMask events);
                public void set_direction (Gtk.TextDirection dir);
-               [Version (deprecated = true, deprecated_since = "3.14")]
-               public void set_double_buffered (bool double_buffered);
                public void set_events (int events);
                [Version (since = "3.20")]
                public void set_focus_on_click (bool focus_on_click);
@@ -8659,10 +8440,6 @@ namespace Gtk {
                public bool app_paintable { get; set; }
                public bool can_default { get; set; }
                public bool can_focus { get; set; }
-               [NoAccessorMethod]
-               public bool composite_child { get; }
-               [Version (deprecated = true, deprecated_since = "3.14", since = "2.18")]
-               public bool double_buffered { get; set; }
                public Gdk.EventMask events { get; set; }
                [NoAccessorMethod]
                [Version (since = "3.0")]
@@ -8965,8 +8742,6 @@ namespace Gtk {
                public bool propagate_key_event (Gdk.EventKey event);
                public void remove_accel_group (Gtk.AccelGroup accel_group);
                public void remove_mnemonic (uint keyval, Gtk.Widget target);
-               [Version (deprecated = true, deprecated_since = "3.10")]
-               public void reshow_with_initial_size ();
                public void resize (int width, int height);
                [Version (since = "2.4")]
                public void set_accept_focus (bool setting);
@@ -9652,8 +9427,6 @@ namespace Gtk {
                [Version (since = "2.14")]
                public abstract Gtk.Orientation get_orientation ();
                [Version (since = "2.14")]
-               public abstract Gtk.ReliefStyle get_relief_style ();
-               [Version (since = "2.14")]
                public abstract Gtk.ToolbarStyle get_style ();
                [Version (since = "2.20")]
                public abstract float get_text_alignment ();
@@ -10059,13 +9832,6 @@ namespace Gtk {
                PROGRESS,
                CUSTOM
        }
-       [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_", type_id = "gtk_attach_options_get_type ()")]
-       [Flags]
-       public enum AttachOptions {
-               EXPAND,
-               SHRINK,
-               FILL
-       }
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_BASELINE_POSITION_", type_id = 
"gtk_baseline_position_get_type ()")]
        [Version (since = "3.10")]
        public enum BaselinePosition {
@@ -10683,7 +10449,9 @@ namespace Gtk {
                GESTURE_ROTATE_COUNTERCLOCKWISE,
                GESTURE_TWO_FINGER_SWIPE_LEFT,
                GESTURE_TWO_FINGER_SWIPE_RIGHT,
-               GESTURE
+               GESTURE,
+               GESTURE_SWIPE_LEFT,
+               GESTURE_SWIPE_RIGHT
        }
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_SIZE_GROUP_", type_id = 
"gtk_size_group_mode_get_type ()")]
        public enum SizeGroupMode {
@@ -11071,8 +10839,6 @@ namespace Gtk {
        public delegate bool FontFilterFunc (Pango.FontFamily family, Pango.FontFace face);
        [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
        public delegate void IconViewForeachFunc (Gtk.IconView icon_view, Gtk.TreePath path);
-       [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
-       public delegate int KeySnoopFunc (Gtk.Widget grab_widget, Gdk.EventKey event);
        [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
        [Version (since = "3.16")]
        public delegate Gtk.Widget ListBoxCreateWidgetFunc (GLib.Object item);
@@ -11526,9 +11292,6 @@ namespace Gtk {
        [CCode (cheader_filename = "gtk/gtk.h")]
        public static int distribute_natural_allocation (int extra_space, uint n_requested_sizes, 
Gtk.RequestedSize sizes);
        [CCode (cheader_filename = "gtk/gtk.h")]
-       [Version (deprecated = true, deprecated_since = "3.10")]
-       public static unowned Gdk.DragContext drag_begin (Gtk.Widget widget, Gtk.TargetList targets, 
Gdk.DragAction actions, int button, Gdk.Event? event);
-       [CCode (cheader_filename = "gtk/gtk.h")]
        [Version (since = "3.10")]
        public static unowned Gdk.DragContext drag_begin_with_coordinates (Gtk.Widget widget, Gtk.TargetList 
targets, Gdk.DragAction actions, int button, Gdk.Event? event, int x, int y);
        [CCode (cheader_filename = "gtk/gtk.h")]
@@ -11668,12 +11431,6 @@ namespace Gtk {
        [Version (since = "2.6")]
        public static bool init_with_args ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref 
unowned string[]? argv, string? parameter_string, [CCode (array_length = false, array_null_terminated = 
true)] GLib.OptionEntry[] entries, string? translation_domain) throws GLib.Error;
        [CCode (cheader_filename = "gtk/gtk.h")]
-       [Version (deprecated = true, deprecated_since = "3.4")]
-       public static uint key_snooper_install (Gtk.KeySnoopFunc snooper);
-       [CCode (cheader_filename = "gtk/gtk.h")]
-       [Version (deprecated = true, deprecated_since = "3.4")]
-       public static void key_snooper_remove (uint snooper_handler_id);
-       [CCode (cheader_filename = "gtk/gtk.h")]
        public static void main ();
        [CCode (cheader_filename = "gtk/gtk.h")]
        public static void main_do_event (Gdk.Event event);
diff --git a/vapi/metadata/Gdk-4.0.metadata b/vapi/metadata/Gdk-4.0.metadata
index 73645bb..97fc17a 100644
--- a/vapi/metadata/Gdk-4.0.metadata
+++ b/vapi/metadata/Gdk-4.0.metadata
@@ -1,3 +1,5 @@
+Gdk experimental
+
 KEY_* name="KEY_(.+)" parent="Gdk.Key"
 selection_* name="selection_(.+)" parent="Gdk.Selection"
 Atom struct
diff --git a/vapi/metadata/GdkX11-4.0.metadata b/vapi/metadata/GdkX11-4.0.metadata
index c26eccc..8bb848b 100644
--- a/vapi/metadata/GdkX11-4.0.metadata
+++ b/vapi/metadata/GdkX11-4.0.metadata
@@ -1,3 +1,5 @@
+GdkX11 experimental
+
 x11_* name="x11_(.+)" parent="Gdk.X11"
 X11* name="X11(.+)" parent="Gdk.X11"
 
diff --git a/vapi/metadata/Gtk-4.0.metadata b/vapi/metadata/Gtk-4.0.metadata
index 744cf35..447005c 100644
--- a/vapi/metadata/Gtk-4.0.metadata
+++ b/vapi/metadata/Gtk-4.0.metadata
@@ -2,6 +2,8 @@
 // but may be some day.
 ////////////////////////////////////////////////////////////////////
 
+Gtk experimental
+
 // G-I doesn't support per-sybmol includes
 * cheader_filename="gtk/gtk.h"
 *Accessible cheader_filename="gtk/gtk.h,gtk/gtk-a11y.h"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]