[vala/wip/gtk4] gtk+-4.0: Sync with wip/baedert/box
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/wip/gtk4] gtk+-4.0: Sync with wip/baedert/box
- Date: Sun, 16 Oct 2016 19:32:54 +0000 (UTC)
commit 30a5cab8cdab1300e5e1de162e773b0f08c8dea2
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Sun Oct 16 19:40:58 2016 +0200
gtk+-4.0: Sync with wip/baedert/box
vapi/gdk-4.0.vapi | 14 +-
vapi/gdk-x11-4.0.vapi | 1 -
vapi/gtk+-4.0.vapi | 625 ++-----------------------------------
vapi/metadata/Gdk-4.0.metadata | 2 -
vapi/metadata/GdkX11-4.0.metadata | 2 -
vapi/metadata/Gtk-4.0-custom.vala | 15 -
vapi/metadata/Gtk-4.0.metadata | 73 -----
7 files changed, 27 insertions(+), 705 deletions(-)
---
diff --git a/vapi/gdk-4.0.vapi b/vapi/gdk-4.0.vapi
index 5f82486..8307f15 100644
--- a/vapi/gdk-4.0.vapi
+++ b/vapi/gdk-4.0.vapi
@@ -1,7 +1,6 @@
/* 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")]
@@ -5593,10 +5592,6 @@ namespace Gdk {
public void begin_move_drag (int button, int root_x, int root_y, uint32 timestamp);
[Version (since = "3.4")]
public void begin_move_drag_for_device (Gdk.Device device, int button, int root_x, int
root_y, uint32 timestamp);
- [Version (deprecated = true, deprecated_since = "3.22")]
- public void begin_paint_rect (Gdk.Rectangle rectangle);
- [Version (deprecated = true, deprecated_since = "3.22")]
- public void begin_paint_region (Cairo.Region region);
public void begin_resize_drag (Gdk.WindowEdge edge, int button, int root_x, int root_y,
uint32 timestamp);
[Version (since = "3.4")]
public void begin_resize_drag_for_device (Gdk.WindowEdge edge, Gdk.Device device, int button,
int root_x, int root_y, uint32 timestamp);
@@ -5620,7 +5615,6 @@ namespace Gdk {
public void enable_synchronized_configure ();
[Version (since = "3.22")]
public void end_draw_frame (Gdk.DrawingContext context);
- public void end_paint ();
[Version (since = "2.18")]
public bool ensure_native ();
[Version (deprecated = true, deprecated_since = "3.14", since = "2.18")]
@@ -5752,7 +5746,6 @@ namespace Gdk {
public void set_child_shapes ();
public void set_composited (bool composited);
public void set_cursor (Gdk.Cursor? cursor);
- public static void set_debug_updates (bool setting);
public void set_decorations (Gdk.WMDecoration decorations);
[Version (since = "3.0")]
public void set_device_cursor (Gdk.Device device, Gdk.Cursor cursor);
@@ -5845,7 +5838,7 @@ namespace Gdk {
[Version (since = "3.22")]
public int get_n_groups ();
}
- [CCode (cheader_filename = "gdk/gdk.h")]
+ [CCode (cheader_filename = "gdk/gdk.h", has_type_id = false)]
[SimpleType]
public struct Atom : uint {
[CCode (cname = "GDK_NONE")]
@@ -5914,7 +5907,7 @@ namespace Gdk {
[Version (since = "3.0")]
public string to_string ();
}
- [CCode (cheader_filename = "gdk/gdk.h")]
+ [CCode (cheader_filename = "gdk/gdk.h", type_id = "gdk_rectangle_get_type ()")]
public struct Rectangle : Cairo.RectangleInt {
[Version (since = "3.20")]
public bool equal (Gdk.Rectangle rect2);
@@ -6570,9 +6563,6 @@ namespace Gdk {
[CCode (cheader_filename = "gdk/gdk.h")]
public static void beep ();
[CCode (cheader_filename = "gdk/gdk.h")]
- [Version (deprecated = true, deprecated_since = "3.22", since = "2.8")]
- public static Cairo.Context cairo_create (Gdk.Window window);
- [CCode (cheader_filename = "gdk/gdk.h")]
[Version (since = "3.16")]
public static void cairo_draw_from_gl (Cairo.Context cr, Gdk.Window window, int source, int
source_type, int buffer_scale, int x, int y, int width, int height);
[CCode (cheader_filename = "gdk/gdk.h")]
diff --git a/vapi/gdk-x11-4.0.vapi b/vapi/gdk-x11-4.0.vapi
index 5403a9f..f9b5cda 100644
--- a/vapi/gdk-x11-4.0.vapi
+++ b/vapi/gdk-x11-4.0.vapi
@@ -1,7 +1,6 @@
/* 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 9b801da..6685e6d 100644
--- a/vapi/gtk+-4.0.vapi
+++ b/vapi/gtk+-4.0.vapi
@@ -1,336 +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 {
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_ABOUT")]
- [Version (deprecated = true, deprecated_since = "3.10", since = "2.6")]
- public const string ABOUT;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_ADD")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string ADD;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_APPLY")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string APPLY;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_BOLD")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string BOLD;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_CANCEL")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string CANCEL;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_CAPS_LOCK_WARNING")]
- [Version (deprecated = true, deprecated_since = "3.10", since = "2.16")]
- public const string CAPS_LOCK_WARNING;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_CDROM")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string CDROM;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_CLEAR")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string CLEAR;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_CLOSE")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string CLOSE;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_COLOR_PICKER")]
- [Version (deprecated = true, deprecated_since = "3.10", since = "2.2")]
- public const string COLOR_PICKER;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_CONNECT")]
- [Version (deprecated = true, deprecated_since = "3.10", since = "2.6")]
- public const string CONNECT;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_CONVERT")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string CONVERT;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_COPY")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string COPY;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_CUT")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string CUT;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_DELETE")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string DELETE;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_DIALOG_AUTHENTICATION")]
- [Version (deprecated = true, deprecated_since = "3.10", since = "2.4")]
- public const string DIALOG_AUTHENTICATION;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_DIALOG_ERROR")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string DIALOG_ERROR;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_DIALOG_INFO")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string DIALOG_INFO;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_DIALOG_QUESTION")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string DIALOG_QUESTION;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_DIALOG_WARNING")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string DIALOG_WARNING;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_DIRECTORY")]
- [Version (deprecated = true, deprecated_since = "3.10", since = "2.6")]
- public const string DIRECTORY;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_DISCARD")]
- [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
- public const string DISCARD;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_DISCONNECT")]
- [Version (deprecated = true, deprecated_since = "3.10", since = "2.6")]
- public const string DISCONNECT;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_DND")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string DND;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_DND_MULTIPLE")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string DND_MULTIPLE;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_EDIT")]
- [Version (deprecated = true, deprecated_since = "3.10", since = "2.6")]
- public const string EDIT;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_EXECUTE")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string EXECUTE;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_FILE")]
- [Version (deprecated = true, deprecated_since = "3.10", since = "2.6")]
- public const string FILE;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_FIND")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string FIND;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_FIND_AND_REPLACE")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string FIND_AND_REPLACE;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_FLOPPY")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string FLOPPY;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_FULLSCREEN")]
- [Version (deprecated = true, deprecated_since = "3.10", since = "2.8")]
- public const string FULLSCREEN;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_GOTO_BOTTOM")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string GOTO_BOTTOM;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_GOTO_FIRST")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string GOTO_FIRST;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_GOTO_LAST")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string GOTO_LAST;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_GOTO_TOP")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string GOTO_TOP;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_GO_BACK")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string GO_BACK;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_GO_DOWN")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string GO_DOWN;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_GO_FORWARD")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string GO_FORWARD;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_GO_UP")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string GO_UP;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_HARDDISK")]
- [Version (deprecated = true, deprecated_since = "3.10", since = "2.4")]
- public const string HARDDISK;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_HELP")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string HELP;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_HOME")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string HOME;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_INDENT")]
- [Version (deprecated = true, deprecated_since = "3.10", since = "2.4")]
- public const string INDENT;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_INDEX")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string INDEX;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_INFO")]
- [Version (deprecated = true, deprecated_since = "3.10", since = "2.8")]
- public const string INFO;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_ITALIC")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string ITALIC;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_JUMP_TO")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string JUMP_TO;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_JUSTIFY_CENTER")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string JUSTIFY_CENTER;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_JUSTIFY_FILL")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string JUSTIFY_FILL;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_JUSTIFY_LEFT")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string JUSTIFY_LEFT;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_JUSTIFY_RIGHT")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string JUSTIFY_RIGHT;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_LEAVE_FULLSCREEN")]
- [Version (deprecated = true, deprecated_since = "3.10", since = "2.8")]
- public const string LEAVE_FULLSCREEN;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_MEDIA_FORWARD")]
- [Version (deprecated = true, deprecated_since = "3.10", since = "2.6")]
- public const string MEDIA_FORWARD;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_MEDIA_NEXT")]
- [Version (deprecated = true, deprecated_since = "3.10", since = "2.6")]
- public const string MEDIA_NEXT;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_MEDIA_PAUSE")]
- [Version (deprecated = true, deprecated_since = "3.10", since = "2.6")]
- public const string MEDIA_PAUSE;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_MEDIA_PLAY")]
- [Version (deprecated = true, deprecated_since = "3.10", since = "2.6")]
- public const string MEDIA_PLAY;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_MEDIA_PREVIOUS")]
- [Version (deprecated = true, deprecated_since = "3.10", since = "2.6")]
- public const string MEDIA_PREVIOUS;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_MEDIA_RECORD")]
- [Version (deprecated = true, deprecated_since = "3.10", since = "2.6")]
- public const string MEDIA_RECORD;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_MEDIA_REWIND")]
- [Version (deprecated = true, deprecated_since = "3.10", since = "2.6")]
- public const string MEDIA_REWIND;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_MEDIA_STOP")]
- [Version (deprecated = true, deprecated_since = "3.10", since = "2.6")]
- public const string MEDIA_STOP;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_MISSING_IMAGE")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string MISSING_IMAGE;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_NETWORK")]
- [Version (deprecated = true, deprecated_since = "3.10", since = "2.4")]
- public const string NETWORK;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_NEW")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string NEW;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_NO")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string NO;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_OK")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string OK;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_OPEN")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string OPEN;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_ORIENTATION_LANDSCAPE")]
- [Version (deprecated = true, deprecated_since = "3.10", since = "2.10")]
- public const string ORIENTATION_LANDSCAPE;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_ORIENTATION_PORTRAIT")]
- [Version (deprecated = true, deprecated_since = "3.10", since = "2.10")]
- public const string ORIENTATION_PORTRAIT;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_ORIENTATION_REVERSE_LANDSCAPE")]
- [Version (deprecated = true, deprecated_since = "3.10", since = "2.10")]
- public const string ORIENTATION_REVERSE_LANDSCAPE;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_ORIENTATION_REVERSE_PORTRAIT")]
- [Version (deprecated = true, deprecated_since = "3.10", since = "2.10")]
- public const string ORIENTATION_REVERSE_PORTRAIT;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_PAGE_SETUP")]
- [Version (deprecated = true, deprecated_since = "3.10", since = "2.14")]
- public const string PAGE_SETUP;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_PASTE")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string PASTE;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_PREFERENCES")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string PREFERENCES;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_PRINT")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string PRINT;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_PRINT_ERROR")]
- [Version (deprecated = true, deprecated_since = "3.10", since = "2.14")]
- public const string PRINT_ERROR;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_PRINT_PAUSED")]
- [Version (deprecated = true, deprecated_since = "3.10", since = "2.14")]
- public const string PRINT_PAUSED;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_PRINT_PREVIEW")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string PRINT_PREVIEW;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_PRINT_REPORT")]
- [Version (deprecated = true, deprecated_since = "3.10", since = "2.14")]
- public const string PRINT_REPORT;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_PRINT_WARNING")]
- [Version (deprecated = true, deprecated_since = "3.10", since = "2.14")]
- public const string PRINT_WARNING;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_PROPERTIES")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string PROPERTIES;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_QUIT")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string QUIT;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_REDO")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string REDO;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_REFRESH")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string REFRESH;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_REMOVE")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string REMOVE;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_REVERT_TO_SAVED")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string REVERT_TO_SAVED;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_SAVE")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string SAVE;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_SAVE_AS")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string SAVE_AS;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_SELECT_ALL")]
- [Version (deprecated = true, deprecated_since = "3.10", since = "2.10")]
- public const string SELECT_ALL;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_SELECT_COLOR")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string SELECT_COLOR;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_SELECT_FONT")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string SELECT_FONT;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_SORT_ASCENDING")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string SORT_ASCENDING;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_SORT_DESCENDING")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string SORT_DESCENDING;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_SPELL_CHECK")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string SPELL_CHECK;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_STOP")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string STOP;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_STRIKETHROUGH")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string STRIKETHROUGH;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_UNDELETE")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string UNDELETE;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_UNDERLINE")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string UNDERLINE;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_UNDO")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string UNDO;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_UNINDENT")]
- [Version (deprecated = true, deprecated_since = "3.10", since = "2.4")]
- public const string UNINDENT;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_YES")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string YES;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_ZOOM_100")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string ZOOM_100;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_ZOOM_FIT")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string ZOOM_FIT;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_ZOOM_IN")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string ZOOM_IN;
- [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STOCK_ZOOM_OUT")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public const string ZOOM_OUT;
- [CCode (cheader_filename = "gtk/gtk.h")]
- public static void add (Gtk.StockItem[] items);
- [CCode (cheader_filename = "gtk/gtk.h")]
- public static void add_static (Gtk.StockItem[] items);
- [CCode (cheader_filename = "gtk/gtk.h")]
- public static GLib.SList<string> list_ids ();
- [CCode (cheader_filename = "gtk/gtk.h")]
- public static bool lookup (string stock_id, out Gtk.StockItem item);
- [CCode (cheader_filename = "gtk/gtk.h")]
- public static void set_translate_func (string domain, owned Gtk.TranslateFunc func);
- }
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_about_dialog_get_type ()")]
public class AboutDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
@@ -686,7 +357,7 @@ namespace Gtk {
[Version (since = "2.4")]
public void set_sensitive (bool sensitive);
[Version (since = "2.4")]
- public void set_translate_func (owned Gtk.TranslateFunc func);
+ public void set_translate_func (void* data, GLib.DestroyNotify notify);
[Version (since = "2.4")]
public void set_translation_domain (string? domain);
[Version (since = "2.4")]
@@ -749,42 +420,9 @@ namespace Gtk {
public double upper { get; set; }
[Version (since = "2.4")]
public double value { get; set; }
- [HasEmitter]
public virtual signal void changed ();
- [HasEmitter]
public virtual signal void value_changed ();
}
- [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_alignment_get_type ()")]
- [Version (deprecated = true, deprecated_since = "3.14")]
- public class Alignment : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
- [CCode (has_construct_function = false, type = "GtkWidget*")]
- public Alignment (float xalign, float yalign, float xscale, float yscale);
- [Version (since = "2.4")]
- public void get_padding (out uint padding_top, out uint padding_bottom, out uint
padding_left, out uint padding_right);
- public void @set (float xalign, float yalign, float xscale, float yscale);
- [Version (since = "2.4")]
- public void set_padding (uint padding_top, uint padding_bottom, uint padding_left, uint
padding_right);
- [NoAccessorMethod]
- [Version (since = "2.4")]
- public uint bottom_padding { get; set; }
- [NoAccessorMethod]
- [Version (since = "2.4")]
- public uint left_padding { get; set; }
- [NoAccessorMethod]
- [Version (since = "2.4")]
- public uint right_padding { get; set; }
- [NoAccessorMethod]
- [Version (since = "2.4")]
- public uint top_padding { get; set; }
- [NoAccessorMethod]
- public float xalign { get; set; }
- [NoAccessorMethod]
- public float xscale { get; set; }
- [NoAccessorMethod]
- public float yalign { get; set; }
- [NoAccessorMethod]
- public float yscale { get; set; }
- }
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_app_chooser_button_get_type ()")]
public class AppChooserButton : Gtk.ComboBox, Atk.Implementor, Gtk.AppChooser, Gtk.Buildable,
Gtk.CellEditable, Gtk.CellLayout {
[CCode (has_construct_function = false, type = "GtkWidget*")]
@@ -871,8 +509,6 @@ namespace Gtk {
[CCode (has_construct_function = false)]
[Version (since = "3.0")]
public Application (string? application_id, GLib.ApplicationFlags flags);
- [Version (deprecated = true, deprecated_since = "3.14", since = "3.4")]
- public void add_accelerator (string accelerator, string action_name, GLib.Variant? parameter);
[Version (since = "3.0")]
public void add_window (Gtk.Window window);
[CCode (array_length = false, array_null_terminated = true)]
@@ -902,8 +538,6 @@ namespace Gtk {
public string[] list_action_descriptions ();
[Version (since = "3.14")]
public bool prefers_app_menu ();
- [Version (deprecated = true, deprecated_since = "3.14", since = "3.4")]
- public void remove_accelerator (string action_name, GLib.Variant? parameter);
[Version (since = "3.0")]
public void remove_window (Gtk.Window window);
[Version (since = "3.12")]
@@ -1076,7 +710,7 @@ namespace Gtk {
public static unowned Gtk.BindingSet? find (string set_name);
public static unowned Gtk.BindingSet @new (string name);
}
- [CCode (cheader_filename = "gtk/gtk.h")]
+ [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
[Compact]
public class BindingSignal {
[CCode (array_length_cname = "n_args", array_length_type = "guint")]
@@ -2009,8 +1643,6 @@ namespace Gtk {
public int get_column_span_column ();
[Version (since = "2.24")]
public int get_entry_text_column ();
- [Version (deprecated = true, deprecated_since = "3.20", since = "2.6")]
- public bool get_focus_on_click ();
[Version (since = "2.24")]
public bool get_has_entry ();
[Version (since = "3.0")]
@@ -2041,8 +1673,6 @@ namespace Gtk {
public void set_column_span_column (int column_span);
[Version (since = "2.24")]
public void set_entry_text_column (int text_column);
- [Version (deprecated = true, deprecated_since = "3.20", since = "2.6")]
- public void set_focus_on_click (bool focus_on_click);
[Version (since = "3.0")]
public void set_id_column (int id_column);
[Version (since = "2.4")]
@@ -2161,10 +1791,6 @@ namespace Gtk {
public void child_set_property (Gtk.Widget child, string property_name, GLib.Value value);
public void child_set_valist (Gtk.Widget child, string first_property_name, [CCode (type =
"va_list")] va_list var_args);
public virtual GLib.Type child_type ();
- [Version (deprecated_since = "vala-0.34", replacement = "find_child_property")]
- public class unowned GLib.ParamSpec? class_find_child_property (string property_name);
- [Version (deprecated_since = "vala-0.34", replacement = "list_child_propertie")]
- public class (unowned GLib.ParamSpec)[] class_list_child_properties ();
[NoWrapper]
public virtual string composite_name (Gtk.Widget child);
[CCode (cname = "gtk_container_class_find_child_property")]
@@ -2773,14 +2399,10 @@ namespace Gtk {
[CCode (has_construct_function = false, type = "GtkWidget*")]
[Version (since = "2.6")]
public FileChooserButton (string title, Gtk.FileChooserAction action);
- [Version (deprecated = true, deprecated_since = "3.20", since = "2.10")]
- public bool get_focus_on_click ();
[Version (since = "2.6")]
public unowned string get_title ();
[Version (since = "2.6")]
public int get_width_chars ();
- [Version (deprecated = true, deprecated_since = "3.20", since = "2.10")]
- public void set_focus_on_click (bool focus_on_click);
[Version (since = "2.6")]
public void set_title (string title);
[Version (since = "2.6")]
@@ -2871,7 +2493,7 @@ namespace Gtk {
[Version (since = "3.22")]
public GLib.Variant to_gvariant ();
}
- [CCode (cheader_filename = "gtk/gtk.h")]
+ [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
[Compact]
public class FileFilterInfo {
public Gtk.FileFilterFlags contains;
@@ -2887,7 +2509,7 @@ namespace Gtk {
public void move (Gtk.Widget widget, int x, int y);
public void put (Gtk.Widget widget, int x, int y);
}
- [CCode (cheader_filename = "gtk/gtk.h")]
+ [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
[Compact]
public class FixedChild {
public weak Gtk.Widget widget;
@@ -3481,12 +3103,12 @@ namespace Gtk {
[Version (deprecated = true, deprecated_since = "3.14", since = "2.4")]
public void set_raw_coordinates (bool raw_coordinates);
}
- [CCode (cheader_filename = "gtk/gtk.h")]
+ [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
[Compact]
[Version (deprecated = true, deprecated_since = "3.10", replacement = "IconTheme")]
public class IconSet {
}
- [CCode (cheader_filename = "gtk/gtk.h")]
+ [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
[Compact]
[Version (deprecated = true, deprecated_since = "3.10", replacement = "IconTheme")]
public class IconSource {
@@ -3983,7 +3605,7 @@ namespace Gtk {
[CCode (has_construct_function = false)]
protected LabelAccessible ();
}
- [CCode (cheader_filename = "gtk/gtk.h")]
+ [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
[Compact]
public class LabelSelectionInfo {
}
@@ -4503,13 +4125,10 @@ namespace Gtk {
protected MenuShellAccessible ();
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_menu_tool_button_get_type ()")]
- public class MenuToolButton : Gtk.ToolButton, Atk.Implementor, Gtk.Actionable, Gtk.Activatable,
Gtk.Buildable {
+ public class MenuToolButton : Gtk.ToolButton, Atk.Implementor, Gtk.Actionable, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkToolItem*")]
[Version (since = "2.6")]
public MenuToolButton (Gtk.Widget? icon_widget, string? label);
- [CCode (has_construct_function = false, type = "GtkToolItem*")]
- [Version (deprecated = true, deprecated_since = "3.10", since = "2.6")]
- public MenuToolButton.from_stock (string stock_id);
[Version (since = "2.6")]
public unowned Gtk.Widget get_menu ();
[Version (since = "2.12")]
@@ -4532,12 +4151,8 @@ namespace Gtk {
[PrintfFormat]
[Version (since = "2.6")]
public void format_secondary_text (string? message_format, ...);
- [Version (deprecated = true, deprecated_since = "3.12", since = "2.14")]
- public unowned Gtk.Widget get_image ();
[Version (since = "2.22")]
public unowned Gtk.Widget get_message_area ();
- [Version (deprecated = true, deprecated_since = "3.12", since = "2.10")]
- public void set_image (Gtk.Widget image);
[Version (since = "2.4")]
public void set_markup (string str);
[CCode (has_construct_function = false, type = "GtkWidget*")]
@@ -4545,8 +4160,6 @@ namespace Gtk {
[Version (since = "2.4")]
public MessageDialog.with_markup (Gtk.Window? parent, Gtk.DialogFlags flags, Gtk.MessageType
type, Gtk.ButtonsType buttons, string? message_format, ...);
public Gtk.ButtonsType buttons { construct; }
- [Version (deprecated = true, deprecated_since = "3.12", since = "2.10")]
- public Gtk.Widget image { get; set; }
[Version (since = "2.22")]
public Gtk.Widget message_area { get; }
[NoAccessorMethod]
@@ -5059,8 +4672,6 @@ namespace Gtk {
public Gtk.PositionType get_position ();
[Version (since = "3.12")]
public unowned Gtk.Widget get_relative_to ();
- [Version (deprecated = true, deprecated_since = "3.22", since = "3.16")]
- public bool get_transitions_enabled ();
[Version (since = "3.22")]
public void popdown ();
[Version (since = "3.22")]
@@ -5077,8 +4688,6 @@ namespace Gtk {
public void set_position (Gtk.PositionType position);
[Version (since = "3.12")]
public void set_relative_to (Gtk.Widget? relative_to);
- [Version (deprecated = true, deprecated_since = "3.22", since = "3.16")]
- public void set_transitions_enabled (bool transitions_enabled);
[Version (since = "3.20")]
public Gtk.PopoverConstraint constrain_to { get; set; }
[Version (since = "3.12")]
@@ -5090,8 +4699,6 @@ namespace Gtk {
public Gtk.PositionType position { get; set; }
[Version (since = "3.12")]
public Gtk.Widget relative_to { get; set; }
- [Version (since = "3.16")]
- public bool transitions_enabled { get; set; }
public virtual signal void closed ();
}
[CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_popover_accessible_get_type
()")]
@@ -5464,32 +5071,6 @@ namespace Gtk {
[CCode (has_construct_function = false)]
protected ProgressBarAccessible ();
}
- [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_radio_action_get_type ()")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public class RadioAction : Gtk.ToggleAction, Gtk.Buildable {
- [CCode (has_construct_function = false)]
- [Version (since = "2.4")]
- public RadioAction (string name, string? label, string? tooltip, string? stock_id, int value);
- [Version (since = "2.4")]
- public int get_current_value ();
- [Version (since = "2.4")]
- public unowned GLib.SList<Gtk.RadioAction> get_group ();
- [Version (since = "3.0")]
- public void join_group (Gtk.RadioAction? group_source);
- [Version (since = "2.10")]
- public void set_current_value (int current_value);
- [Version (since = "2.4")]
- public void set_group (GLib.SList<Gtk.RadioAction>? group);
- [Version (since = "2.10")]
- public int current_value { get; set; }
- [Version (since = "2.4")]
- public Gtk.RadioAction group { set; }
- [NoAccessorMethod]
- [Version (since = "2.4")]
- public int value { get; set; }
- [Version (since = "2.4")]
- 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.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
@@ -5548,7 +5129,7 @@ namespace Gtk {
protected RadioMenuItemAccessible ();
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_radio_tool_button_get_type ()")]
- public class RadioToolButton : Gtk.ToggleToolButton, Atk.Implementor, Gtk.Actionable,
Gtk.Activatable, Gtk.Buildable {
+ public class RadioToolButton : Gtk.ToggleToolButton, Atk.Implementor, Gtk.Actionable, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkToolItem*")]
[Version (since = "2.4")]
public RadioToolButton (GLib.SList<Gtk.RadioButton>? group);
@@ -5643,21 +5224,6 @@ namespace Gtk {
[CCode (has_construct_function = false)]
protected RangeAccessible ();
}
- [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_recent_action_get_type ()")]
- public class RecentAction : Gtk.Action, Gtk.Buildable, Gtk.RecentChooser {
- [CCode (has_construct_function = false, type = "GtkAction*")]
- [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
- public RecentAction (string name, string? label, string? tooltip, string? stock_id);
- [CCode (has_construct_function = false, type = "GtkAction*")]
- [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
- public RecentAction.for_manager (string name, string? label, string? tooltip, string?
stock_id, Gtk.RecentManager? manager);
- [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
- public bool get_show_numbers ();
- [Version (deprecated = true, deprecated_since = "3.10", since = "2.12")]
- public void set_show_numbers (bool show_numbers);
- [Version (deprecated = true, deprecated_since = "3.10")]
- public bool show_numbers { get; set; }
- }
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_recent_chooser_dialog_get_type ()")]
public class RecentChooserDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable, Gtk.RecentChooser {
[CCode (has_construct_function = false, type = "GtkWidget*")]
@@ -5668,7 +5234,7 @@ namespace Gtk {
public RecentChooserDialog.for_manager (string? title, Gtk.Window? parent, Gtk.RecentManager
manager, ...);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_recent_chooser_menu_get_type ()")]
- public class RecentChooserMenu : Gtk.Menu, Atk.Implementor, Gtk.Activatable, Gtk.Buildable,
Gtk.RecentChooser {
+ public class RecentChooserMenu : Gtk.Menu, Atk.Implementor, Gtk.Buildable, Gtk.RecentChooser {
[CCode (has_construct_function = false, type = "GtkWidget*")]
[Version (since = "2.10")]
public RecentChooserMenu ();
@@ -6075,7 +5641,7 @@ namespace Gtk {
public SeparatorMenuItem ();
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_separator_tool_item_get_type ()")]
- public class SeparatorToolItem : Gtk.ToolItem, Atk.Implementor, Gtk.Activatable, Gtk.Buildable {
+ public class SeparatorToolItem : Gtk.ToolItem, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkToolItem*")]
[Version (since = "2.4")]
public SeparatorToolItem ();
@@ -6751,7 +6317,7 @@ namespace Gtk {
public Gtk.TextAttributes @ref ();
public void unref ();
}
- [CCode (cheader_filename = "gtk/gtk.h")]
+ [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
[Compact]
public class TextBTree {
}
@@ -7241,26 +6807,6 @@ namespace Gtk {
[CCode (has_construct_function = false)]
protected TextViewAccessible ();
}
- [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_toggle_action_get_type ()")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public class ToggleAction : Gtk.Action, Gtk.Buildable {
- [CCode (has_construct_function = false)]
- [Version (since = "2.4")]
- public ToggleAction (string name, string? label, string? tooltip, string? stock_id);
- [Version (since = "2.4")]
- public bool get_active ();
- [Version (since = "2.4")]
- public bool get_draw_as_radio ();
- [Version (since = "2.4")]
- public void set_active (bool is_active);
- [Version (since = "2.4")]
- public void set_draw_as_radio (bool draw_as_radio);
- [Version (since = "2.10")]
- public bool active { get; set; }
- public bool draw_as_radio { get; set; }
- [HasEmitter]
- 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.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
@@ -7288,7 +6834,7 @@ namespace Gtk {
protected ToggleButtonAccessible ();
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_toggle_tool_button_get_type ()")]
- public class ToggleToolButton : Gtk.ToolButton, Atk.Implementor, Gtk.Actionable, Gtk.Activatable,
Gtk.Buildable {
+ public class ToggleToolButton : Gtk.ToolButton, Atk.Implementor, Gtk.Actionable, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkToolItem*")]
[Version (since = "2.4")]
public ToggleToolButton ();
@@ -7301,7 +6847,7 @@ namespace Gtk {
public virtual signal void toggled ();
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tool_button_get_type ()")]
- public class ToolButton : Gtk.ToolItem, Atk.Implementor, Gtk.Actionable, Gtk.Activatable,
Gtk.Buildable {
+ public class ToolButton : Gtk.ToolItem, Atk.Implementor, Gtk.Actionable, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkToolItem*")]
[Version (since = "2.4")]
public ToolButton (Gtk.Widget? icon_widget, string? label);
@@ -7334,7 +6880,7 @@ namespace Gtk {
public virtual signal void clicked ();
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_tool_item_get_type ()")]
- public class ToolItem : Gtk.Bin, Atk.Implementor, Gtk.Activatable, Gtk.Buildable {
+ public class ToolItem : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false)]
[Version (since = "2.4")]
public ToolItem ();
@@ -7774,8 +7320,6 @@ namespace Gtk {
public bool get_fixed_height_mode ();
[Version (since = "2.10")]
public Gtk.TreeViewGridLines get_grid_lines ();
- [Version (deprecated = true, deprecated_since = "3.0")]
- public unowned Gtk.Adjustment get_hadjustment ();
[Version (since = "2.10")]
public bool get_headers_clickable ();
public bool get_headers_visible ();
@@ -7809,8 +7353,6 @@ namespace Gtk {
public int get_tooltip_column ();
[Version (since = "2.12")]
public bool get_tooltip_context (ref int x, ref int y, bool keyboard_tip, out unowned
Gtk.TreeModel? model, out Gtk.TreePath path, out Gtk.TreeIter iter);
- [Version (deprecated = true, deprecated_since = "3.0")]
- public unowned Gtk.Adjustment get_vadjustment ();
[Version (since = "2.8")]
public bool get_visible_range (out Gtk.TreePath start_path, out Gtk.TreePath end_path);
public void get_visible_rect (out Gdk.Rectangle visible_rect);
@@ -7845,8 +7387,6 @@ namespace Gtk {
public void set_fixed_height_mode (bool enable);
[Version (since = "2.10")]
public void set_grid_lines (Gtk.TreeViewGridLines grid_lines);
- [Version (deprecated = true, deprecated_since = "3.0")]
- public void set_hadjustment (Gtk.Adjustment? adjustment);
public void set_headers_clickable (bool setting);
public void set_headers_visible (bool headers_visible);
[Version (since = "2.6")]
@@ -7877,8 +7417,6 @@ namespace Gtk {
public void set_tooltip_column (int column);
[Version (since = "2.12")]
public void set_tooltip_row (Gtk.Tooltip tooltip, Gtk.TreePath path);
- [Version (deprecated = true, deprecated_since = "3.0")]
- public void set_vadjustment (Gtk.Adjustment? adjustment);
public void unset_rows_drag_dest ();
public void unset_rows_drag_source ();
[CCode (has_construct_function = false, type = "GtkWidget*")]
@@ -8015,56 +7553,6 @@ namespace Gtk {
[HasEmitter]
public virtual signal void clicked ();
}
- [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_ui_manager_get_type ()")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public class UIManager : GLib.Object, Gtk.Buildable {
- [CCode (has_construct_function = false)]
- [Version (since = "2.4")]
- public UIManager ();
- [Version (since = "2.4")]
- public void add_ui (uint merge_id, string path, string name, string? action,
Gtk.UIManagerItemType type, bool top);
- [Version (since = "2.4")]
- public uint add_ui_from_file (string filename) throws GLib.Error;
- [Version (since = "3.4")]
- public uint add_ui_from_resource (string resource_path) throws GLib.Error;
- [Version (since = "2.4")]
- public uint add_ui_from_string (string buffer, ssize_t length) throws GLib.Error;
- [Version (since = "2.4")]
- public void ensure_update ();
- [Version (since = "2.4")]
- public unowned Gtk.AccelGroup get_accel_group ();
- [Version (since = "2.4")]
- public virtual unowned Gtk.Action get_action (string path);
- [Version (since = "2.4")]
- public unowned GLib.List<Gtk.ActionGroup> get_action_groups ();
- [Version (since = "2.4")]
- public GLib.SList<weak Gtk.Widget> get_toplevels (Gtk.UIManagerItemType types);
- [Version (since = "2.4")]
- public string get_ui ();
- [Version (since = "2.4")]
- public virtual unowned Gtk.Widget get_widget (string path);
- [Version (since = "2.4")]
- public void insert_action_group (Gtk.ActionGroup action_group, int pos);
- [Version (since = "2.4")]
- public uint new_merge_id ();
- [Version (since = "2.4")]
- public void remove_action_group (Gtk.ActionGroup action_group);
- [Version (since = "2.4")]
- public void remove_ui (uint merge_id);
- public string ui { owned get; }
- [Version (since = "2.4")]
- public virtual signal void actions_changed ();
- [Version (since = "2.4")]
- public virtual signal void add_widget (Gtk.Widget widget);
- [Version (since = "2.4")]
- public virtual signal void connect_proxy (Gtk.Action action, Gtk.Widget proxy);
- [Version (since = "2.4")]
- public virtual signal void disconnect_proxy (Gtk.Action action, Gtk.Widget proxy);
- [Version (since = "2.4")]
- public virtual signal void post_activate (Gtk.Action action);
- [Version (since = "2.4")]
- public virtual signal void pre_activate (Gtk.Action action);
- }
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_viewport_get_type ()")]
public class Viewport : Gtk.Bin, Atk.Implementor, Gtk.Buildable, Gtk.Scrollable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
@@ -8879,7 +8367,7 @@ namespace Gtk {
[CCode (has_construct_function = false)]
protected WindowAccessible ();
}
- [CCode (cheader_filename = "gtk/gtk.h")]
+ [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
[Compact]
public class WindowGeometryInfo {
}
@@ -8914,30 +8402,6 @@ namespace Gtk {
[NoAccessorMethod]
public abstract GLib.Variant action_target { owned get; set; }
}
- [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_activatable_get_type ()")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public interface Activatable : GLib.Object {
- [Version (since = "2.16")]
- public void do_set_related_action (Gtk.Action action);
- [Version (since = "2.16")]
- public unowned Gtk.Action get_related_action ();
- [Version (since = "2.16")]
- public bool get_use_action_appearance ();
- [Version (since = "2.16")]
- public void set_related_action (Gtk.Action action);
- [Version (since = "2.16")]
- public void set_use_action_appearance (bool use_appearance);
- [Version (since = "2.16")]
- public abstract void sync_action_properties (Gtk.Action? action);
- [NoWrapper]
- public abstract void update (Gtk.Action action, string property_name);
- [ConcreteAccessor]
- [Version (since = "2.16")]
- public abstract Gtk.Action related_action { get; set; }
- [ConcreteAccessor]
- [Version (since = "2.16")]
- public abstract bool use_action_appearance { get; set; }
- }
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_app_chooser_get_type ()")]
public interface AppChooser : Gtk.Widget {
[Version (since = "3.0")]
@@ -9583,7 +9047,7 @@ namespace Gtk {
public string mime_type;
public string app_name;
public string app_exec;
- [CCode (array_length = false)]
+ [CCode (array_length = false, array_null_terminated = true)]
public string[] groups;
public bool is_private;
}
@@ -9593,9 +9057,9 @@ namespace Gtk {
public weak string? uri;
public weak string? display_name;
public weak string? mime_type;
- [CCode (array_length = false)]
+ [CCode (array_length = false, array_null_terminated = true)]
public weak string[]? applications;
- [CCode (array_length = false)]
+ [CCode (array_length = false, array_null_terminated = true)]
public weak string[]? groups;
public int age;
}
@@ -9620,17 +9084,6 @@ namespace Gtk {
public weak string origin;
public GLib.Value value;
}
- [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public struct StockItem {
- public weak string stock_id;
- public weak string label;
- public Gdk.ModifierType modifier;
- public uint keyval;
- public weak string translation_domain;
- public Gtk.StockItem? copy ();
- public void free ();
- }
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_target_entry_get_type ()")]
public struct TargetEntry {
public weak string target;
@@ -9642,6 +9095,12 @@ namespace Gtk {
public void free ();
}
[CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
+ public struct TargetPair {
+ public Gdk.Atom target;
+ public uint flags;
+ public uint info;
+ }
+ [CCode (cheader_filename = "gtk/gtk.h", has_type_id = false)]
public struct TextAppearance {
public Gdk.Color bg_color;
public Gdk.Color fg_color;
@@ -10647,22 +10106,6 @@ namespace Gtk {
VERTICAL,
BOTH
}
- [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_UI_MANAGER_", type_id =
"gtk_ui_manager_item_type_get_type ()")]
- [Flags]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public enum UIManagerItemType {
- AUTO,
- MENUBAR,
- MENU,
- TOOLBAR,
- PLACEHOLDER,
- POPUP,
- MENUITEM,
- TOOLITEM,
- SEPARATOR,
- ACCELERATOR,
- POPUP_WITH_ACCELS
- }
[CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_UNIT_", type_id = "gtk_unit_get_type ()")]
public enum Unit {
NONE,
@@ -10886,9 +10329,6 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
[Version (since = "3.8")]
public delegate bool TickCallback (Gtk.Widget widget, Gdk.FrameClock frame_clock);
- [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public delegate string TranslateFunc (string path);
[CCode (cheader_filename = "gtk/gtk.h", instance_pos = 4.9)]
public delegate void TreeCellDataFunc (Gtk.TreeViewColumn tree_column, Gtk.CellRenderer cell,
Gtk.TreeModel tree_model, Gtk.TreeIter iter);
[CCode (cheader_filename = "gtk/gtk.h", instance_pos = 3.9)]
@@ -11482,21 +10922,6 @@ namespace Gtk {
[Version (since = "3.22")]
public static bool show_uri_on_window (Gtk.Window? parent, string uri, uint32 timestamp) throws
GLib.Error;
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public static void stock_add ([CCode (array_length_cname = "n_items", array_length_pos = 1.1,
array_length_type = "guint")] Gtk.StockItem[] items);
- [CCode (cheader_filename = "gtk/gtk.h")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public static void stock_add_static ([CCode (array_length_cname = "n_items", array_length_pos = 1.1,
array_length_type = "guint")] Gtk.StockItem[] items);
- [CCode (cheader_filename = "gtk/gtk.h")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public static GLib.SList<string> stock_list_ids ();
- [CCode (cheader_filename = "gtk/gtk.h")]
- [Version (deprecated = true, deprecated_since = "3.10")]
- public static bool stock_lookup (string stock_id, out Gtk.StockItem item);
- [CCode (cheader_filename = "gtk/gtk.h")]
- [Version (deprecated = true, deprecated_since = "3.10", since = "2.8")]
- public static void stock_set_translate_func (string domain, owned Gtk.TranslateFunc func);
- [CCode (cheader_filename = "gtk/gtk.h")]
[Version (since = "2.10")]
public static void target_table_free ([CCode (array_length_cname = "n_targets", array_length_pos =
1.1)] Gtk.TargetEntry[] targets);
[CCode (array_length_pos = 1.1, cheader_filename = "gtk/gtk.h")]
diff --git a/vapi/metadata/Gdk-4.0.metadata b/vapi/metadata/Gdk-4.0.metadata
index 97fc17a..73645bb 100644
--- a/vapi/metadata/Gdk-4.0.metadata
+++ b/vapi/metadata/Gdk-4.0.metadata
@@ -1,5 +1,3 @@
-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 8bb848b..c26eccc 100644
--- a/vapi/metadata/GdkX11-4.0.metadata
+++ b/vapi/metadata/GdkX11-4.0.metadata
@@ -1,5 +1,3 @@
-GdkX11 experimental
-
x11_* name="x11_(.+)" parent="Gdk.X11"
X11* name="X11(.+)" parent="Gdk.X11"
diff --git a/vapi/metadata/Gtk-4.0-custom.vala b/vapi/metadata/Gtk-4.0-custom.vala
index 1f89910..6d74de5 100644
--- a/vapi/metadata/Gtk-4.0-custom.vala
+++ b/vapi/metadata/Gtk-4.0-custom.vala
@@ -25,11 +25,6 @@ namespace Gtk {
public virtual void forall_internal (bool include_internal, Gtk.Callback callback);
[HasEmitter]
public virtual signal void set_focus_child (Gtk.Widget? child);
-
- [Version (deprecated_since = "vala-0.34", replacement = "find_child_property")]
- public class unowned GLib.ParamSpec? class_find_child_property (string property_name);
- [Version (deprecated_since = "vala-0.34", replacement = "list_child_propertie")]
- public class (unowned GLib.ParamSpec)[] class_list_child_properties ();
}
[CCode (type_id = "gtk_container_accessible_get_type ()")]
@@ -136,14 +131,4 @@ namespace Gtk {
[CCode (cname = "GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID")]
UNSORTED
}
-
- [Version (deprecated_since = "3.10")]
- [CCode (cheader_filename = "gtk/gtk.h")]
- namespace Stock {
- public static void add (Gtk.StockItem[] items);
- public static void add_static (Gtk.StockItem[] items);
- public static GLib.SList<string> list_ids ();
- public static bool lookup (string stock_id, out Gtk.StockItem item);
- public static void set_translate_func (string domain, owned Gtk.TranslateFunc func);
- }
}
diff --git a/vapi/metadata/Gtk-4.0.metadata b/vapi/metadata/Gtk-4.0.metadata
index 447005c..3121718 100644
--- a/vapi/metadata/Gtk-4.0.metadata
+++ b/vapi/metadata/Gtk-4.0.metadata
@@ -2,8 +2,6 @@
// 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"
@@ -69,34 +67,16 @@ Accessible
.connect_widget_destroyed replacement="set_widget"
CellRenderer
.get_size replacement="get_preferred_size"
- .cell_background_gdk replacement="cell_background_rgba"
CellView
.set_background_color replacement="set_background_rgba"
.background_gdk replacement="background_rgba"
-ColorButton
- .color replacement="ColorChooser.rgba"
-ColorSelection
- .get_current_color replacement="get_current_rgba"
- .get_previous_color replacement="get_previous_rgba"
- .set_current_color replacement="set_current_rgba"
- .set_previous_color replacement="set_previous_rgba"
- .current_color replacement="current_rgba"
-MenuItem
- .get_right_justified replacement="Widget.get_hexpand and Widget.get_halign"
- .set_right_justified replacement="Widget.set_hexpand and Widget.set_halign"
// G-I cannot deprecate whole types
Action deprecated_since="3.10" replacement="GLib.Action"
ActionGroup deprecated_since="3.10"
-Alignment deprecated_since="3.14"
Gradient deprecated_since="3.8"
IconSet deprecated_since="3.10" replacement="IconTheme"
IconSource deprecated_since="3.10" replacement="IconTheme"
-RadioAction deprecated_since="3.10"
-Table deprecated_since="3.4" replacement="Grid"
-ToggleAction deprecated_since="3.10"
-UIManager deprecated_since="3.10"
-Activatable deprecated_since="3.10"
// G-I cannot handle returning non-boxed types
binding_set_by_class skip=false
@@ -138,21 +118,13 @@ MessageDialog
RecentChooserDialog
.new skip=false
.new_for_manager skip=false
-Style
- .get skip=false
StyleContext
.get skip=false
.get_style skip=false
-StyleProperties
- .set skip=false
TextBuffer
.create_tag skip=false
.insert_with_tags skip=false
.insert_with_tags_by_name skip=false
-ThemingEngine
- .get skip=false
- .get_style skip=false
- .get_style_property skip=false
TreePath
.new_from_indices skip=false sentinel="-1"
TreeStore
@@ -187,8 +159,6 @@ TreeModel
Clipboard
.set_with_data skip=false
.set_with_owner skip=false
-ColorSelection
- .set_change_palette_with_screen_hook skip=false
// Unregistered callback types
Builder
@@ -284,9 +254,6 @@ RecentFilterInfo
.applications nullable
.groups nullable
-// Bug #: element-type properties
-Settings.color_hash type="GLib.HashTable<string,Gdk.Color>"
-
// Skipped for G-I, but usable from Vala
FlowBox
.bind_model skip=false
@@ -330,22 +297,11 @@ RecentInfo
.get_modified type="time_t"
.get_visited type="time_t"
-Stock skip
-STOCK_* name="STOCK_(.+)" parent="Gtk.Stock"
-
// Not sure what g-i was thinking
-NumerableIcon
- .new symbol_type="constructor"
- .new_with_style_context symbol_type="constructor"
TreeModel
.filter_new parent="Gtk.TreeModelFilter" name="new" symbol_type="constructor"
.sort_new_with_model parent="Gtk.TreeModelSort" name="new_with_model" symbol_type="constructor"
-// These aren't actually used publicly anywhere.
-TableChild skip
-TableRowCol skip
-TargetPair skip
-
// Vala-specific, not really bugs
/////////////////////////////////
@@ -363,13 +319,6 @@ Button
.new_from_icon_name.size type="Gtk.IconSize"
ClipboardRichTextReceivedFunc
.text type="uint8[]?" array_length_idx=3
-ColorButton
- .get_color return_void
-ColorSelection
- .get_current_color return_void
- .get_previous_color return_void
-ColorSelectionDialog
- .get_color_selection type="unowned Gtk.ColorSelection"
CssProvider
.load_from_data name="load_from_buffer"
Entry
@@ -395,24 +344,8 @@ PlacesSidebar
.show_other_locations#signal name="show_other_locations_requested"
SelectionData
.get_data skip=false
-Style
- .base unowned=false
- .bg unowned=false
- .dark unowned=false
- .fg unowned=false
- .light unowned=false
- .mid unowned=false
- .text unowned=false
- .text_aa unowned=false
- .copy skip
- .get_style_property return_void
render_* parent="Gtk.StyleContext"
render_* symbol_type="method" instance_idx=0
-StyleProperties
- .get skip=false
- .lookup_property skip=false
- .register_property skip=false
- .register_property.parse_func nullable
TextBuffer
.delete.start ref
.delete.end ref
@@ -426,9 +359,6 @@ TextBuffer
TextView
.get_iter_location return_void
.get_visible_rect return_void
-ThemingEngine
- .register_property skip=false
- .render_icon_pixbuf skip=false unowned=false
ToolItem
.get_icon_size type="Gtk.IconSize"
ToolPalette
@@ -461,12 +391,9 @@ TreeModel
.get_value return_void
BindingArg
.d.* skip
-StockItem
- .copy skip=false unowned=false
TextIter
.get_attributes.values out=false
icon_size_*#function skip
-key_snooper_install skip=false
rc_property_parse_* skip
show_about_dialog skip=false
test_create_widget skip=false
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]