public struct Matrix {
[Version (since = "1.0")]
public float determinant ();
+ [Version (since = "1.10")]
+ public bool equal (Graphene.Matrix b);
+ [Version (since = "1.10")]
+ public bool equal_fast (Graphene.Matrix b);
[Version (since = "1.0")]
public Graphene.Vec4 get_row (uint index_);
[Version (since = "1.0")]
public float get_value (uint row, uint col);
[Version (since = "1.0")]
public float get_x_scale ();
+ [Version (since = "1.10")]
+ public float get_x_translation ();
[Version (since = "1.0")]
public float get_y_scale ();
+ [Version (since = "1.10")]
+ public float get_y_translation ();
[Version (since = "1.0")]
public float get_z_scale ();
+ [Version (since = "1.10")]
+ public float get_z_translation ();
[Version (since = "1.0")]
public unowned Graphene.Matrix? init_from_2d (double xx, double yx, double xy, double yy, double x_0, double y_0);
[Version (since = "1.0")]
public bool is_singular ();
[Version (since = "1.0")]
public Graphene.Matrix multiply (Graphene.Matrix b);
+ [Version (since = "1.10")]
+ public bool near (Graphene.Matrix b, float epsilon);
[Version (since = "1.0")]
public Graphene.Matrix normalize ();
[Version (since = "1.0")]
public Graphene.Rect round ();
[Version (deprecated = true, deprecated_since = "1.4", since = "1.0")]
public unowned Graphene.Rect? round_to_pixel ();
+ [Version (since = "1.10")]
+ public Graphene.Rect scale (float s_h, float s_v);
public Graphene.Rect union (Graphene.Rect b);
[Version (since = "1.4")]
public static unowned Graphene.Rect? zero ();
public bool set_mode (Gdk.InputMode mode);
[Version (deprecated = true, deprecated_since = "3.20.")]
public void ungrab (uint32 time_);
- public void warp (int x, int y);
public Gdk.Device? associated_device { get; }
public Gdk.AxisFlags axes { get; }
public Gdk.Display display { get; construct; }
protected Renderer ();
[CCode (cname = "gsk_renderer_new_for_surface")]
public static Gsk.Renderer? for_surface (Gdk.Surface surface);
- public unowned Gdk.Display get_display ();
public unowned Gdk.Surface? get_surface ();
+ public bool is_realized ();
public bool realize (Gdk.Surface surface) throws GLib.Error;
public void render (Gsk.RenderNode root, Cairo.Region? region);
public Gdk.Texture render_texture (Gsk.RenderNode root, Graphene.Rect? viewport);
public void unrealize ();
- public Gdk.Display display { get; construct; }
+ [NoAccessorMethod]
+ public Gdk.Display display { owned get; construct; }
public Gdk.Surface surface { get; }
}
[CCode (cheader_filename = "gsk/gsk.h", cname = "GskRenderNode")]
[CCode (has_construct_function = false, type = "GtkEventController*")]
public EventControllerKey ();
public bool forward (Gtk.Widget widget);
+ public unowned Gtk.Widget get_focus_origin ();
+ public unowned Gtk.Widget get_focus_target ();
public uint get_group ();
public unowned Gtk.IMContext get_im_context ();
public void set_im_context (Gtk.IMContext im_context);
public class EventControllerMotion : Gtk.EventController {
[CCode (has_construct_function = false, type = "GtkEventController*")]
public EventControllerMotion ();
+ public unowned Gtk.Widget get_pointer_origin ();
+ public unowned Gtk.Widget get_pointer_target ();
public signal void enter (double x, double y);
public signal void leave ();
public signal void motion (double x, double y);
public void remove_mnemonic_label (Gtk.Widget label);
public void remove_tick_callback (uint id);
public void reset_style ();
- public bool send_focus_change ([CCode (type = "GdkEvent*")] Gdk.Event event);
public void set_accel_path (string? accel_path, Gtk.AccelGroup? accel_group);
[CCode (cname = "gtk_widget_class_set_accessible_role")]
public class void set_accessible_role (Atk.Role role);
public virtual signal bool enable_debugging (bool toggle);
public virtual signal void keys_changed ();
[HasEmitter]
- public virtual signal void set_focus (Gtk.Widget? focus);
+ public signal void set_focus (Gtk.Widget? focus);
}
[CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_window_accessible_get_type ()")]
public class WindowAccessible : Gtk.ContainerAccessible, Atk.Component, Atk.Window {
}
[CCode (cheader_filename = "gtk/gtk.h", type_cname = "GtkRootInterface", type_id = "gtk_root_get_type ()")]
public interface Root : Gtk.Widget {
+ public unowned Gtk.Widget? get_focus ();
public static unowned Gtk.Widget get_for_surface (Gdk.Surface surface);
[NoWrapper]
public abstract void get_surface_transform (int x, int y);
+ public void set_focus (Gtk.Widget? focus);
}
[CCode (cheader_filename = "gtk/gtk.h", type_cname = "GtkScrollableInterface", type_id = "gtk_scrollable_get_type ()")]
public interface Scrollable : GLib.Object {