public string? get_text_attribute_value (int offset, string attribute_name) throws GLib.Error;
public GLib.HashTable<string,string> get_text_attributes (int offset, out int start_offset, out int end_offset) throws GLib.Error;
public Atspi.TextRange get_text_before_offset (int offset, Atspi.TextBoundaryType type) throws GLib.Error;
- public void notify_reading_position (int offset);
+ public void notify_reading_position (int startOffset, int endOffset);
public bool remove_selection (int selection_num) throws GLib.Error;
public bool scroll_substring_to (int start_offset, int end_offset, Atspi.ScrollType type) throws GLib.Error;
public bool scroll_substring_to_point (int start_offset, int end_offset, Atspi.CoordType coords, int x, int y) throws GLib.Error;
[Version (since = "1.2")]
public struct Euler {
public bool equal (Graphene.Euler b);
+ [Version (since = "1.10")]
+ public float get_alpha ();
+ [Version (since = "1.10")]
+ public float get_beta ();
+ [Version (since = "1.10")]
+ public float get_gamma ();
public Graphene.EulerOrder get_order ();
public float get_x ();
public float get_y ();
public unowned Graphene.Euler? init_with_order (float x, float y, float z, Graphene.EulerOrder order);
public Graphene.Euler reorder (Graphene.EulerOrder order);
public Graphene.Matrix to_matrix ();
+ [Version (since = "1.10")]
+ public Graphene.Quaternion to_quaternion ();
public Graphene.Vec3 to_vec3 ();
}
[CCode (cheader_filename = "graphene-gobject.h", cname = "graphene_frustum_t", type_id = "graphene_frustum_get_type ()")]
ZXY,
XZY,
YXZ,
- ZYX
+ ZYX,
+ SXYZ,
+ SXYX,
+ SXZY,
+ SXZX,
+ SYZX,
+ SYZY,
+ SYXZ,
+ SYXY,
+ SZXY,
+ SZXZ,
+ SZYX,
+ SZYZ,
+ RZYX,
+ RXYX,
+ RYZX,
+ RXZX,
+ RXZY,
+ RYZY,
+ RZXY,
+ RYXY,
+ RYXZ,
+ RZXZ,
+ RXYZ,
+ RZYZ
}
[CCode (cheader_filename = "graphene-gobject.h", cname = "GRAPHENE_HAS_GCC")]
public const int HAS_GCC;
[CCode (cheader_filename = "gsk/gsk.h", cname = "GskRenderNode")]
public class TextNode : Gsk.RenderNode {
[CCode (has_construct_function = false)]
- public TextNode (Pango.Font font, Pango.GlyphString glyphs, Gdk.RGBA color, float x, float y);
+ public TextNode (Pango.Font font, Pango.GlyphString glyphs, Gdk.RGBA color, Graphene.Point offset);
public uint get_num_glyphs ();
- public float get_x ();
- public float get_y ();
+ public unowned Graphene.Point? get_offset ();
public unowned Gdk.RGBA? peek_color ();
- public unowned Pango.Font peek_font ();
public unowned Pango.GlyphInfo? peek_glyphs ();
}
[CCode (cheader_filename = "gsk/gsk.h", cname = "GskRenderNode")]
public MenuBar.from_model (GLib.MenuModel model);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_menu_button_get_type ()")]
- public class MenuButton : Gtk.ToggleButton, Atk.Implementor, Gtk.Actionable, Gtk.Buildable {
+ public class MenuButton : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public MenuButton ();
public unowned Gtk.Widget? get_align_widget ();
public unowned GLib.MenuModel? get_menu_model ();
public unowned Gtk.Popover? get_popover ();
public unowned Gtk.Menu? get_popup ();
+ public Gtk.ReliefStyle get_relief ();
public bool get_use_popover ();
public void set_align_widget (Gtk.Widget? align_widget);
public void set_direction (Gtk.ArrowType direction);
public void set_menu_model (GLib.MenuModel? menu_model);
public void set_popover (Gtk.Widget? popover);
public void set_popup (Gtk.Widget? menu);
+ public void set_relief (Gtk.ReliefStyle relief);
public void set_use_popover (bool use_popover);
public Gtk.Container align_widget { get; set; }
public Gtk.ArrowType direction { get; set; }
+ public string icon_name { get; set; }
+ public string label { get; set; }
public GLib.MenuModel menu_model { get; set; }
public Gtk.Popover popover { get; set; }
public Gtk.Menu popup { get; set; }
public bool use_popover { get; set; }
}
[CCode (cheader_filename = "gtk/gtk.h,gtk/gtk-a11y.h", type_id = "gtk_menu_button_accessible_get_type ()")]
- public class MenuButtonAccessible : Gtk.ToggleButtonAccessible, Atk.Action, Atk.Component, Atk.Image {
+ public class MenuButtonAccessible : Gtk.WidgetAccessible, Atk.Component {
[CCode (has_construct_function = false)]
protected MenuButtonAccessible ();
}
public CookieJar ();
[Version (since = "2.26")]
public void add_cookie (owned Soup.Cookie cookie);
+ [Version (since = "2.68")]
+ public void add_cookie_full (owned Soup.Cookie cookie, Soup.URI? uri, Soup.URI? first_party);
[Version (since = "2.40")]
public void add_cookie_with_first_party (Soup.URI first_party, owned Soup.Cookie cookie);
[Version (since = "2.26")]
[Version (since = "2.24")]
public GLib.TimeVal to_timeval ();
}
+ [CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_hsts_enforcer_get_type ()")]
+ public class HSTSEnforcer : GLib.Object, Soup.SessionFeature {
+ [CCode (has_construct_function = false)]
+ [Version (since = "2.68")]
+ public HSTSEnforcer ();
+ [Version (since = "2.68")]
+ public virtual bool has_valid_policy (string domain);
+ [Version (since = "2.68")]
+ public virtual bool is_persistent ();
+ [Version (since = "2.68")]
+ public void set_policy (Soup.HSTSPolicy policy);
+ [Version (since = "2.68")]
+ public void set_session_policy (string domain, bool include_subdomains);
+ public virtual signal void changed (Soup.HSTSPolicy old_policy, Soup.HSTSPolicy new_policy);
+ }
+ [CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_hsts_enforcer_db_get_type ()")]
+ public class HSTSEnforcerDB : Soup.HSTSEnforcer, Soup.SessionFeature {
+ [CCode (has_construct_function = false, type = "SoupHSTSEnforcer*")]
+ [Version (since = "2.68")]
+ public HSTSEnforcerDB (string filename);
+ [NoAccessorMethod]
+ public string filename { owned get; construct; }
+ }
+ [CCode (cheader_filename = "libsoup/soup.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "soup_hsts_policy_get_type ()")]
+ [Compact]
+ [Version (since = "2.68")]
+ public class HSTSPolicy {
+ public weak string domain;
+ public weak Soup.Date expires;
+ public bool include_subdomains;
+ public ulong max_age;
+ [CCode (has_construct_function = false)]
+ public HSTSPolicy (string domain, ulong max_age, bool include_subdomains);
+ public Soup.HSTSPolicy copy ();
+ public bool equal (Soup.HSTSPolicy policy2);
+ public void free ();
+ [CCode (has_construct_function = false)]
+ public HSTSPolicy.from_response (Soup.Message msg);
+ [CCode (has_construct_function = false)]
+ public HSTSPolicy.full (string domain, ulong max_age, Soup.Date expires, bool include_subdomains);
+ public unowned string get_domain ();
+ public bool includes_subdomains ();
+ public bool is_expired ();
+ public bool is_session_policy ();
+ [CCode (has_construct_function = false)]
+ public HSTSPolicy.session_policy (string domain, bool include_subdomains);
+ }
[CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_logger_get_type ()")]
public class Logger : GLib.Object, Soup.SessionFeature {
[CCode (has_construct_function = false)]
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_FORM_MIME_TYPE_URLENCODED")]
[Version (since = "2.26")]
public const string FORM_MIME_TYPE_URLENCODED;
+ [CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_HSTS_ENFORCER_DB_FILENAME")]
+ public const string HSTS_ENFORCER_DB_FILENAME;
+ [CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_HSTS_POLICY_MAX_AGE_PAST")]
+ public const int HSTS_POLICY_MAX_AGE_PAST;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_LOGGER_LEVEL")]
[Version (since = "2.56")]
public const string LOGGER_LEVEL;