public unowned Graphene.Plane? init_from_vec4 (Graphene.Vec4 src);
public Graphene.Plane negate ();
public Graphene.Plane normalize ();
+ [Version (since = "1.10")]
+ public Graphene.Plane transform (Graphene.Matrix matrix, Graphene.Matrix? normal_matrix);
}
[CCode (cheader_filename = "graphene-gobject.h", cname = "graphene_point_t", type_id = "graphene_point_get_type ()")]
[Version (since = "1.0")]
[CCode (cheader_filename = "graphene-gobject.h", cname = "graphene_quaternion_t", type_id = "graphene_quaternion_get_type ()")]
[Version (since = "1.0")]
public struct Quaternion {
+ [Version (since = "1.10")]
+ public Graphene.Quaternion add (Graphene.Quaternion b);
public float dot (Graphene.Quaternion b);
public bool equal (Graphene.Quaternion b);
public unowned Graphene.Quaternion? init (float x, float y, float z, float w);
public unowned Graphene.Quaternion? init_from_vec4 (Graphene.Vec4 src);
public unowned Graphene.Quaternion? init_identity ();
public Graphene.Quaternion invert ();
+ [Version (since = "1.10")]
+ public Graphene.Quaternion multiply (Graphene.Quaternion b);
public Graphene.Quaternion normalize ();
+ [Version (since = "1.10")]
+ public Graphene.Quaternion scale (float factor);
public Graphene.Quaternion slerp (Graphene.Quaternion b, float factor);
public void to_angle_vec3 (out float angle, out Graphene.Vec3 axis);
[Version (since = "1.2")]
public unowned Graphene.Vec2? init_from_float ([CCode (array_length = false)] float src[2]);
[Version (since = "1.0")]
public unowned Graphene.Vec2? init_from_vec2 (Graphene.Vec2 src);
+ [Version (since = "1.10")]
+ public Graphene.Vec2 interpolate (Graphene.Vec2 v2, double factor);
[Version (since = "1.0")]
public float length ();
[Version (since = "1.0")]
public unowned Graphene.Vec3? init_from_float ([CCode (array_length = false)] float src[3]);
[Version (since = "1.0")]
public unowned Graphene.Vec3? init_from_vec3 (Graphene.Vec3 src);
+ [Version (since = "1.10")]
+ public Graphene.Vec3 interpolate (Graphene.Vec3 v2, double factor);
[Version (since = "1.0")]
public float length ();
[Version (since = "1.0")]
public unowned Graphene.Vec4? init_from_vec3 (Graphene.Vec3 src, float w);
[Version (since = "1.0")]
public unowned Graphene.Vec4? init_from_vec4 (Graphene.Vec4 src);
+ [Version (since = "1.10")]
+ public Graphene.Vec4 interpolate (Graphene.Vec4 v2, double factor);
[Version (since = "1.0")]
public float length ();
[Version (since = "1.0")]
[CCode (has_construct_function = false, type = "GtkWidget*")]
public AccelLabel (string str);
public void get_accel (out uint accelerator_key, out Gdk.ModifierType accelerator_mods);
+ public unowned GLib.Closure? get_accel_closure ();
public unowned Gtk.Widget? get_accel_widget ();
public uint get_accel_width ();
public unowned string get_label ();
public void set_accel_widget (Gtk.Widget? accel_widget);
public void set_label (string text);
public void set_use_underline (bool setting);
- [NoAccessorMethod]
- public GLib.Closure accel_closure { owned get; set; }
+ public GLib.Closure accel_closure { get; owned set; }
public Gtk.Widget accel_widget { get; set; }
public string label { get; set; }
public bool use_underline { get; set; }
public virtual Gdk.Rectangle get_aligned_area (Gtk.Widget widget, Gtk.CellRendererState flags, Gdk.Rectangle cell_area);
public void get_alignment (out float xalign, out float yalign);
public void get_fixed_size (out int width, out int height);
+ public bool get_is_expanded ();
+ public bool get_is_expander ();
public void get_padding (out int xpad, out int ypad);
public virtual void get_preferred_height (Gtk.Widget widget, out int minimum_size, out int natural_size);
public virtual void get_preferred_height_for_width (Gtk.Widget widget, int width, out int minimum_height, out int natural_height);
public class void set_accessible_type (GLib.Type type);
public void set_alignment (float xalign, float yalign);
public void set_fixed_size (int width, int height);
+ public void set_is_expanded (bool is_expander);
+ public void set_is_expander (bool is_expander);
public void set_padding (int xpad, int ypad);
public void set_sensitive (bool sensitive);
public void set_visible (bool visible);
public bool editing { get; }
[NoAccessorMethod]
public int height { get; set; }
- [NoAccessorMethod]
public bool is_expanded { get; set; }
- [NoAccessorMethod]
public bool is_expander { get; set; }
[NoAccessorMethod]
public Gtk.CellRendererMode mode { get; set; }
public class GestureLongPress : Gtk.GestureSingle {
[CCode (has_construct_function = false, type = "GtkGesture*")]
public GestureLongPress ();
- [NoAccessorMethod]
+ public double get_delay_factor ();
+ public void set_delay_factor (double delay_factor);
public double delay_factor { get; set; }
public signal void cancelled ();
public signal void pressed (double x, double y);
[NoWrapper]
public virtual Gtk.Border get_range_border ();
public Gdk.Rectangle get_range_rect ();
- [NoWrapper]
- public virtual void get_range_size_request (Gtk.Orientation orientation, out int minimum, out int natural);
public bool get_restrict_to_fill_level ();
public int get_round_digits ();
public bool get_show_fill_level ();
public Gtk.PositionType get_value_pos ();
public void set_digits (int digits);
public void set_draw_value (bool draw_value);
+ public void set_format_value_func (owned Gtk.ScaleFormatValueFunc? func);
public void set_has_origin (bool has_origin);
public void set_value_pos (Gtk.PositionType pos);
[CCode (has_construct_function = false, type = "GtkWidget*")]
public bool draw_value { get; set; }
public bool has_origin { get; set; }
public Gtk.PositionType value_pos { get; set; }
- public virtual signal string format_value (double value);
}
[CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_scale_accessible_get_type ()")]
public class ScaleAccessible : Gtk.RangeAccessible, Atk.Component, Atk.Value {
public void push_cross_fade (double progress);
public void push_debug (string message, ...);
public void push_opacity (double opacity);
- public void push_repeat (Graphene.Rect bounds, Graphene.Rect child_bounds);
+ public void push_repeat (Graphene.Rect bounds, Graphene.Rect? child_bounds);
public void push_rounded_clip (Gsk.RoundedRect bounds);
public void push_shadow ([CCode (array_length_cname = "n_shadows", array_length_pos = 1.1, array_length_type = "gsize", type = "const GskShadow*")] Gsk.Shadow[] shadow);
public void render_background (Gtk.StyleContext context, double x, double y, double width, double height);
[CCode (has_construct_function = false)]
public TreeViewColumn ();
public bool cell_get_position (Gtk.CellRenderer cell_renderer, out int x_offset, out int width);
- public void cell_get_size (Gdk.Rectangle? cell_area, out int x_offset, out int y_offset, out int width, out int height);
+ public void cell_get_size (out int x_offset, out int y_offset, out int width, out int height);
public bool cell_is_visible ();
public void cell_set_cell_data (Gtk.TreeModel tree_model, Gtk.TreeIter iter, bool is_expander, bool is_expanded);
public void focus_cell (Gtk.CellRenderer cell);
public void destroyed (ref unowned Gtk.Widget widget_pointer);
public bool device_is_shadowed (Gdk.Device device);
public void error_bell ();
- public bool event ([CCode (type = "const GdkEvent*")] Gdk.Event event);
+ public bool event ([CCode (type = "GdkEvent*")] Gdk.Event event);
[NoWrapper]
public virtual bool focus (Gtk.DirectionType direction);
public virtual unowned Atk.Object get_accessible ();
public delegate void PrintSettingsFunc (string key, string value);
[CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
public delegate bool RcPropertyParser (GLib.ParamSpec pspec, GLib.StringBuilder rc_string, GLib.Value property_value);
+ [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
+ public delegate string ScaleFormatValueFunc (Gtk.Scale scale, double value);
[CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
public delegate bool TextCharPredicate (unichar ch);
[CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]