[vala/0.36] gtk+-4.0: Update to 3.91.2+b5afe757
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.36] gtk+-4.0: Update to 3.91.2+b5afe757
- Date: Mon, 4 Sep 2017 10:51:58 +0000 (UTC)
commit dc6cca47d5d8dd7f672db699c99dfa8399058007
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Sun Sep 3 14:57:10 2017 +0200
gtk+-4.0: Update to 3.91.2+b5afe757
vapi/gtk+-4.0.vapi | 54 +++++++++++++++++++++++++++------------------------
1 files changed, 29 insertions(+), 25 deletions(-)
---
diff --git a/vapi/gtk+-4.0.vapi b/vapi/gtk+-4.0.vapi
index 7f0eb45..ce84fd5 100644
--- a/vapi/gtk+-4.0.vapi
+++ b/vapi/gtk+-4.0.vapi
@@ -4628,6 +4628,8 @@ namespace Gdk {
public void error_trap_pop_ignored ();
[Version (since = "3.0")]
public void error_trap_push ();
+ [Version (since = "3.16")]
+ public static bool get_glx_version (Gdk.Display display, out int major, out int
minor);
[Version (since = "2.12")]
public unowned string get_startup_notification_id ();
[Version (since = "2.8")]
@@ -4660,6 +4662,12 @@ namespace Gdk {
[CCode (has_construct_function = false)]
protected DragContext ();
}
+ [CCode (cheader_filename = "gdk/gdkx.h", type_id = "gdk_x11_gl_context_get_type ()")]
+ [GIR (name = "X11GLContext")]
+ public class GLContext : Gdk.GLContext {
+ [CCode (has_construct_function = false)]
+ protected GLContext ();
+ }
[CCode (cheader_filename = "gdk/gdkx.h", type_id = "gdk_x11_keymap_get_type ()")]
[GIR (name = "X11Keymap")]
public class Keymap : Gdk.Keymap {
@@ -4670,6 +4678,13 @@ namespace Gdk {
[Version (since = "3.6")]
public bool key_is_modifier (uint keycode);
}
+ [CCode (cheader_filename = "gdk/gdkx.h", type_id = "gdk_x11_monitor_get_type ()")]
+ [GIR (name = "X11Monitor")]
+ public class Monitor : Gdk.Monitor {
+ [CCode (has_construct_function = false)]
+ protected Monitor ();
+ public static X.ID get_output (Gdk.Monitor monitor);
+ }
[CCode (cheader_filename = "gdk/gdkx.h", type_id = "gdk_x11_screen_get_type ()")]
[GIR (name = "X11Screen")]
public class Screen : Gdk.Screen {
@@ -5706,8 +5721,6 @@ namespace Gdk {
[Version (since = "2.10")]
public double get_resolution ();
[Version (since = "2.2")]
- public unowned Gdk.Window get_root_window ();
- [Version (since = "2.2")]
public bool get_setting (string name, GLib.Value value);
[Version (since = "2.2")]
public GLib.List<weak Gdk.Window> get_toplevel_windows ();
@@ -5876,9 +5889,6 @@ namespace Gdk {
public bool has_native ();
public void hide ();
public void iconify ();
- [CCode (has_construct_function = false)]
- [Version (since = "3.90")]
- public Window.input (Gdk.Window parent, int event_mask, Gdk.Rectangle position);
[Version (since = "2.10")]
public void input_shape_combine_region (Cairo.Region shape_region, int offset_x, int
offset_y);
public void invalidate_maybe_recurse (Cairo.Region region, Gdk.WindowChildFunc? child_func);
@@ -6776,8 +6786,6 @@ namespace Gdk {
[CCode (cheader_filename = "gdk/gdk.h")]
public static void flush ();
[CCode (cheader_filename = "gdk/gdk.h")]
- public static unowned Gdk.Window get_default_root_window ();
- [CCode (cheader_filename = "gdk/gdk.h")]
[Version (since = "2.2")]
public static unowned string? get_display_arg_name ();
[CCode (cheader_filename = "gdk/gdk.h")]
@@ -6932,6 +6940,8 @@ namespace Gsk {
public void set_scaling_filters (Gsk.ScalingFilter min_filter, Gsk.ScalingFilter mag_filter);
[CCode (cname = "gsk_shadow_node_new", has_construct_function = false)]
public RenderNode.shadow (Gsk.RenderNode child, [CCode (array_length_cname = "n_shadows",
array_length_pos = 2.1, array_length_type = "gsize")] Gsk.Shadow[] shadows);
+ [CCode (cname = "gsk_text_node_new", has_construct_function = false)]
+ public RenderNode.text (Pango.Font font, Pango.GlyphString glyphs, Gdk.RGBA color, int
x_offset, int y_offset, double base_x, double base_y);
[CCode (cname = "gsk_transform_node_new", has_construct_function = false)]
public RenderNode.transform (Gsk.RenderNode child, Graphene.Matrix transform);
[CCode (cname = "gsk_transform_node_get_child")]
@@ -7025,7 +7035,7 @@ namespace Gsk {
public float dy;
public float radius;
}
- [CCode (cheader_filename = "gsk/gsk.h", cprefix = "GSK_BLEND_MODE_", has_type_id = false)]
+ [CCode (cheader_filename = "gsk/gsk.h", cprefix = "GSK_BLEND_MODE_", type_id =
"gsk_blend_mode_get_type ()")]
[Version (since = "3.90")]
public enum BlendMode {
DEFAULT,
@@ -7045,14 +7055,14 @@ namespace Gsk {
SATURATION,
LUMINOSITY
}
- [CCode (cheader_filename = "gsk/gsk.h", cprefix = "GSK_CORNER_", has_type_id = false)]
+ [CCode (cheader_filename = "gsk/gsk.h", cprefix = "GSK_CORNER_", type_id = "gsk_corner_get_type ()")]
public enum Corner {
TOP_LEFT,
TOP_RIGHT,
BOTTOM_RIGHT,
BOTTOM_LEFT
}
- [CCode (cheader_filename = "gsk/gsk.h", cprefix = "GSK_", has_type_id = false)]
+ [CCode (cheader_filename = "gsk/gsk.h", cprefix = "GSK_", type_id = "gsk_render_node_type_get_type
()")]
[Version (since = "3.90")]
public enum RenderNodeType {
NOT_A_RENDER_NODE,
@@ -7073,9 +7083,10 @@ namespace Gsk {
ROUNDED_CLIP_NODE,
SHADOW_NODE,
BLEND_NODE,
- CROSS_FADE_NODE
+ CROSS_FADE_NODE,
+ TEXT_NODE
}
- [CCode (cheader_filename = "gsk/gsk.h", cprefix = "GSK_SCALING_FILTER_", has_type_id = false)]
+ [CCode (cheader_filename = "gsk/gsk.h", cprefix = "GSK_SCALING_FILTER_", type_id =
"gsk_scaling_filter_get_type ()")]
[Version (since = "3.90")]
public enum ScalingFilter {
LINEAR,
@@ -8720,7 +8731,6 @@ namespace Gtk {
public class void install_child_property (uint property_id, GLib.ParamSpec pspec);
[CCode (array_length_pos = 0.1, array_length_type = "guint", cname =
"gtk_container_class_list_child_properties")]
public class (unowned GLib.ParamSpec)[] list_child_properties ();
- public void propagate_draw (Gtk.Widget child, Cairo.Context cr);
[NoWrapper]
public virtual void set_child_property (Gtk.Widget child, uint property_id, GLib.Value value,
GLib.ParamSpec pspec);
public void set_focus_chain (GLib.List<Gtk.Widget> focusable_widgets);
@@ -9046,6 +9056,8 @@ namespace Gtk {
public string secondary_icon_tooltip_text { owned get; set; }
[NoAccessorMethod]
public int selection_bound { get; }
+ [NoAccessorMethod]
+ public bool show_emoji_icon { get; set; }
public Pango.TabArray tabs { get; set; }
public string text { get; set; }
[Version (since = "2.14")]
@@ -13648,7 +13660,7 @@ namespace Gtk {
[Version (since = "2.4")]
public Gtk.Orientation get_orientation ();
[Version (since = "2.4")]
- public unowned Gtk.Widget get_proxy_menu_item (string menu_item_id);
+ public unowned Gtk.Widget? get_proxy_menu_item (string menu_item_id);
[Version (since = "2.20")]
public float get_text_alignment ();
[Version (since = "2.20")]
@@ -14557,7 +14569,6 @@ namespace Gtk {
public void set_realized (bool realized);
[Version (since = "2.18")]
public void set_receives_default (bool receives_default);
- public void set_redraw_on_allocate (bool redraw_on_allocate);
public void set_sensitive (bool sensitive);
public void set_size_request (int width, int height);
[Version (since = "3.0")]
@@ -16147,7 +16158,9 @@ namespace Gtk {
UPPERCASE_WORDS,
UPPERCASE_SENTENCES,
INHIBIT_OSK,
- VERTICAL_WRITING
+ VERTICAL_WRITING,
+ EMOJI,
+ NO_EMOJI
}
[CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_INPUT_PURPOSE_", type_id =
"gtk_input_purpose_get_type ()")]
[Version (since = "3.6")]
@@ -17417,12 +17430,6 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public static void main_quit ();
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "2.10")]
- public static Gtk.PageSetup print_run_page_setup_dialog (Gtk.Window? parent, Gtk.PageSetup?
page_setup, Gtk.PrintSettings settings);
- [CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "2.10")]
- public static void print_run_page_setup_dialog_async (Gtk.Window? parent, Gtk.PageSetup? page_setup,
Gtk.PrintSettings settings, [CCode (scope = "async")] Gtk.PageSetupDoneFunc done_cb);
- [CCode (cheader_filename = "gtk/gtk.h")]
public static void propagate_event (Gtk.Widget widget, Gdk.Event event);
[CCode (cheader_filename = "gtk/gtk.h")]
[Version (since = "2.14")]
@@ -17448,9 +17455,6 @@ namespace Gtk {
[Version (since = "2.6")]
public static void show_about_dialog (Gtk.Window? parent, ...);
[CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "2.14")]
- public static bool show_uri (Gdk.Screen? screen, string uri, uint32 timestamp) throws GLib.Error;
- [CCode (cheader_filename = "gtk/gtk.h")]
[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")]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]