summaryrefslogtreecommitdiff
path: root/vapi/gdk-3.0.vapi
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2014-10-22 10:40:37 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2014-10-22 10:40:37 +0200
commita52f5ad4feff10381edde621af0a2f37a6840e57 (patch)
tree88642426ff2648a04698435ac450ce593600f4b8 /vapi/gdk-3.0.vapi
parentc4507556aefa681c55f968dc559b23f4f592d933 (diff)
downloadvala-a52f5ad4feff10381edde621af0a2f37a6840e57.tar.gz
bindings: Update GIR-based bindings
Diffstat (limited to 'vapi/gdk-3.0.vapi')
-rw-r--r--vapi/gdk-3.0.vapi33
1 files changed, 33 insertions, 0 deletions
diff --git a/vapi/gdk-3.0.vapi b/vapi/gdk-3.0.vapi
index 29a230de6..5110f3818 100644
--- a/vapi/gdk-3.0.vapi
+++ b/vapi/gdk-3.0.vapi
@@ -4704,6 +4704,7 @@ namespace Gdk {
public void set_double_click_time (uint msec);
public void store_clipboard (Gdk.Window clipboard_window, uint32 time_, [CCode (array_length_cname = "n_targets", array_length_pos = 3.1)] Gdk.Atom[] targets);
public bool supports_clipboard_persistence ();
+ [Deprecated (since = "3.16")]
public bool supports_composite ();
public bool supports_cursor_alpha ();
public bool supports_cursor_color ();
@@ -5060,6 +5061,18 @@ namespace Gdk {
public Gdk.FrameTimings @ref ();
public void unref ();
}
+ [CCode (cheader_filename = "gdk/gdk.h", type_id = "gdk_gl_context_get_type ()")]
+ public abstract class GLContext : GLib.Object {
+ [CCode (has_construct_function = false)]
+ protected GLContext ();
+ public static void clear_current ();
+ public static unowned Gdk.GLContext get_current ();
+ public unowned Gdk.Visual get_visual ();
+ public unowned Gdk.Window get_window ();
+ public void make_current ();
+ public Gdk.Visual visual { get; construct; }
+ public Gdk.Window window { get; construct; }
+ }
[CCode (cheader_filename = "gdk/gdk.h", type_id = "gdk_keymap_get_type ()")]
public class Keymap : GLib.Object {
[CCode (has_construct_function = false)]
@@ -5167,6 +5180,7 @@ namespace Gdk {
public static void constrain_size (Gdk.Geometry geometry, Gdk.WindowHints flags, int width, int height, out int new_width, out int new_height);
public void coords_from_parent (double parent_x, double parent_y, out double x, out double y);
public void coords_to_parent (double x, double y, out double parent_x, out double parent_y);
+ public Gdk.GLContext create_gl_context (Gdk.GLProfile profile) throws GLib.Error;
public Cairo.Surface create_similar_image_surface (int format, int width, int height, int scale);
public Cairo.Surface create_similar_surface (Cairo.Content content, int width, int height);
public void deiconify ();
@@ -5188,6 +5202,7 @@ namespace Gdk {
public GLib.List<weak Gdk.Window> get_children ();
public GLib.List<weak Gdk.Window> get_children_with_user_data (void* user_data);
public Cairo.Region get_clip_region ();
+ [Deprecated (since = "3.16")]
public bool get_composited ();
public unowned Gdk.Cursor? get_cursor ();
public bool get_decorations (out Gdk.WMDecoration decorations);
@@ -5242,6 +5257,7 @@ namespace Gdk {
public bool is_viewable ();
public bool is_visible ();
public void lower ();
+ public void mark_paint_from_clip (Cairo.Context cr);
public void maximize ();
public void merge_child_input_shapes ();
public void merge_child_shapes ();
@@ -5265,6 +5281,7 @@ namespace Gdk {
public void set_background_rgba (Gdk.RGBA rgba);
public void set_child_input_shapes ();
public void set_child_shapes ();
+ [Deprecated (since = "3.16")]
public void set_composited (bool composited);
public void set_cursor (Gdk.Cursor? cursor);
public static void set_debug_updates (bool setting);
@@ -5292,6 +5309,7 @@ namespace Gdk {
public void set_skip_taskbar_hint (bool skips_taskbar);
public void set_source_events (Gdk.InputSource source, Gdk.EventMask event_mask);
public void set_startup_id (string startup_id);
+ [Deprecated (since = "3.16")]
public bool set_static_gravities (bool use_static);
public void set_support_multidevice (bool support_multidevice);
public void set_title (string title);
@@ -5645,6 +5663,12 @@ namespace Gdk {
CURRENT_MONITOR,
ALL_MONITORS
}
+ [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_GL_PROFILE_", type_id = "gdk_gl_profile_get_type ()")]
+ public enum GLProfile {
+ DEFAULT,
+ LEGACY,
+ @3_2_CORE
+ }
[CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_OWNERSHIP_", type_id = "gdk_grab_ownership_get_type ()")]
public enum GrabOwnership {
NONE,
@@ -5886,6 +5910,13 @@ namespace Gdk {
[CCode (cname = "GDK_INPUT_ONLY")]
INPUT_ONLY
}
+ [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_GL_ERROR_")]
+ public errordomain GLError {
+ NOT_AVAILABLE,
+ UNSUPPORTED_FORMAT,
+ UNSUPPORTED_PROFILE;
+ public static GLib.Quark quark ();
+ }
[CCode (cheader_filename = "gdk/gdk.h", instance_pos = 1.9)]
public delegate void EventFunc (Gdk.Event event);
[CCode (cheader_filename = "gdk/gdk.h", instance_pos = 2.9)]
@@ -5925,6 +5956,8 @@ namespace Gdk {
[CCode (cheader_filename = "gdk/gdk.h")]
public static Cairo.Context cairo_create (Gdk.Window window);
[CCode (cheader_filename = "gdk/gdk.h")]
+ 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")]
public static bool cairo_get_clip_rectangle (Cairo.Context cr, out Gdk.Rectangle rect);
[CCode (cheader_filename = "gdk/gdk.h")]
public static void cairo_rectangle (Cairo.Context cr, Gdk.Rectangle rectangle);