[vala/wip/gtk4: 2/2] gtk+-4.0: Update to 3.89.0+b93c26f5



commit 02472bc2b0408b9ca2de91132eba392572156217
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Fri Nov 18 21:59:34 2016 +0100

    gtk+-4.0: Update to 3.89.0+b93c26f5

 vapi/gtk+-4.0.vapi |   36 ++++++++++++++++++++++++++++++------
 1 files changed, 30 insertions(+), 6 deletions(-)
---
diff --git a/vapi/gtk+-4.0.vapi b/vapi/gtk+-4.0.vapi
index 5e9bf34..ca53f9c 100644
--- a/vapi/gtk+-4.0.vapi
+++ b/vapi/gtk+-4.0.vapi
@@ -8720,6 +8720,20 @@ namespace Gtk {
        public class DrawingArea : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
                [CCode (has_construct_function = false, type = "GtkWidget*")]
                public DrawingArea ();
+               [Version (since = "3.90")]
+               public int get_content_height ();
+               [Version (since = "3.90")]
+               public int get_content_width ();
+               [Version (since = "3.90")]
+               public void set_content_height (int height);
+               [Version (since = "3.90")]
+               public void set_content_width (int width);
+               [Version (since = "3.90")]
+               public void set_draw_func (owned Gtk.DrawingAreaDrawFunc? draw_func);
+               [Version (since = "3.90")]
+               public int content_height { get; set; }
+               [Version (since = "3.90")]
+               public int content_width { get; set; }
        }
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_entry_get_type ()")]
        public class Entry : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.CellEditable, Gtk.Editable {
@@ -10646,6 +10660,7 @@ namespace Gtk {
                public int get_monitor ();
                [Version (since = "2.18")]
                public bool get_reserve_toggle_size ();
+               [Version (since = "3.22")]
                public void place_on_monitor (Gdk.Monitor monitor);
                public void popdown ();
                public void popup (Gtk.Widget? parent_menu_shell, Gtk.Widget? parent_menu_item, [CCode 
(delegate_target_pos = 3.5, scope = "async")] Gtk.MenuPositionFunc? func, uint button, uint32 activate_time);
@@ -12600,18 +12615,29 @@ namespace Gtk {
        [Compact]
        public class Snapshot {
                public void append_node (Gsk.RenderNode node);
+               [Version (since = "3.90")]
                public bool clips_rect (Graphene.Rect bounds);
+               [Version (since = "3.90")]
                public void pop ();
+               [Version (since = "3.90")]
                public void push_node (Gsk.RenderNode node);
+               [Version (since = "3.90")]
                public void render_background (Gtk.StyleContext context, double x, double y, double width, 
double height);
+               [Version (since = "3.90")]
                public void render_focus (Gtk.StyleContext context, double x, double y, double width, double 
height);
+               [Version (since = "3.90")]
                public void render_frame (Gtk.StyleContext context, double x, double y, double width, double 
height);
+               [Version (since = "3.90")]
                public void render_icon (Gtk.StyleContext context, Gdk.Pixbuf pixbuf, double x, double y);
                [Version (since = "3.90")]
                public void render_insertion_cursor (Gtk.StyleContext context, double x, double y, 
Pango.Layout layout, int index, Pango.Direction direction);
+               [Version (since = "3.90")]
                public void render_layout (Gtk.StyleContext context, double x, double y, Pango.Layout layout);
+               [Version (since = "3.90")]
                public void set_transform (Graphene.Matrix transform);
-               public void transform (Graphene.Matrix matrix);
+               [Version (since = "3.90")]
+               public void transform (Graphene.Matrix transform);
+               [Version (since = "3.90")]
                public void translate_2d (int x, int y);
        }
        [CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_spin_button_get_type ()")]
@@ -12865,9 +12891,6 @@ namespace Gtk {
                [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_expander", instance_pos = 0.5)]
                [Version (since = "3.0")]
                public void render_expander (Cairo.Context cr, double x, double y, double width, double 
height);
-               [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_extension", instance_pos = 0.5)]
-               [Version (since = "3.0")]
-               public void render_extension (Cairo.Context cr, double x, double y, double width, double 
height, Gtk.PositionType gap_side);
                [CCode (cheader_filename = "gtk/gtk.h", cname = "gtk_render_focus", instance_pos = 0.5)]
                [Version (since = "3.0")]
                public void render_focus (Cairo.Context cr, double x, double y, double width, double height);
@@ -16774,6 +16797,9 @@ namespace Gtk {
        [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
        [Version (since = "2.14")]
        public delegate void ClipboardURIReceivedFunc (Gtk.Clipboard clipboard, [CCode (array_length = false, 
array_null_terminated = true)] string[] uris);
+       [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 4.9)]
+       [Version (since = "3.90")]
+       public delegate void DrawingAreaDrawFunc (Gtk.DrawingArea drawing_area, Cairo.Context cr, int width, 
int height);
        [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 3.9)]
        public delegate bool EntryCompletionMatchFunc (Gtk.EntryCompletion completion, string key, 
Gtk.TreeIter iter);
        [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
@@ -17015,8 +17041,6 @@ namespace Gtk {
        public const string STYLE_CLASS_FLAT;
        [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_FRAME")]
        public const string STYLE_CLASS_FRAME;
-       [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_GRIP")]
-       public const string STYLE_CLASS_GRIP;
        [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_HEADER")]
        public const string STYLE_CLASS_HEADER;
        [CCode (cheader_filename = "gtk/gtk.h", cname = "GTK_STYLE_CLASS_HIGHLIGHT")]


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