public Gdk.EventSelection selection {[CCode (cname = "(GdkEventSelection *)")] get; }
public Gdk.EventSetting setting {[CCode (cname = "(GdkEventSetting *)")] get; }
public Gdk.EventTouch touch {[CCode (cname = "(GdkEventTouch *)")] get; }
+ public Gdk.EventTouchpadPinch touchpad_pinch {[CCode (cname = "(GdkEventTouchpadPinch *)")] get; }
+ public Gdk.EventTouchpadSwipe touchpad_swipe {[CCode (cname = "(GdkEventTouchpadSwipe *)")] get; }
public Gdk.EventVisibility visibility {[CCode (cname = "(GdkEventVisibility *)")] get; }
public Gdk.EventWindowState window_state {[CCode (cname = "(GdkEventWindowState *)")] get; }
}
}
[CCode (cheader_filename = "gdk/gdk.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gdk_event_get_type ()")]
[Compact]
+ public class EventTouchpadPinch : Gdk.Event {
+ public double angle_delta;
+ public double dx;
+ public double dy;
+ public int8 n_fingers;
+ public Gdk.TouchpadGesturePhase phase;
+ public double scale;
+ public int8 send_event;
+ public Gdk.ModifierType state;
+ public uint32 time;
+ public Gdk.EventType type;
+ public weak Gdk.Window window;
+ public double x;
+ public double x_root;
+ public double y;
+ public double y_root;
+ }
+ [CCode (cheader_filename = "gdk/gdk.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gdk_event_get_type ()")]
+ [Compact]
+ public class EventTouchpadSwipe : Gdk.Event {
+ public double dx;
+ public double dy;
+ public int8 n_fingers;
+ public Gdk.TouchpadGesturePhase phase;
+ public int8 send_event;
+ public Gdk.ModifierType state;
+ public uint32 time;
+ public Gdk.EventType type;
+ public weak Gdk.Window window;
+ public double x;
+ public double x_root;
+ public double y;
+ public double y_root;
+ }
+ [CCode (cheader_filename = "gdk/gdk.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gdk_event_get_type ()")]
+ [Compact]
[Deprecated (since = "3.12")]
public class EventVisibility : Gdk.Event {
public int8 send_event;
SCROLL_MASK,
TOUCH_MASK,
SMOOTH_SCROLL_MASK,
+ TOUCHPAD_GESTURE_MASK,
ALL_EVENTS_MASK
}
[CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_", type_id = "gdk_event_type_get_type ()")]
TOUCH_UPDATE,
TOUCH_END,
TOUCH_CANCEL,
+ TOUCHPAD_SWIPE,
+ TOUCHPAD_PINCH,
EVENT_LAST
}
[CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_FILTER_", type_id = "gdk_filter_return_get_type ()")]
ERROR_FILE,
ERROR_MEM
}
+ [CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_TOUCHPAD_GESTURE_PHASE_", type_id = "gdk_touchpad_gesture_phase_get_type ()")]
+ public enum TouchpadGesturePhase {
+ BEGIN,
+ UPDATE,
+ END,
+ CANCEL
+ }
[CCode (cheader_filename = "gdk/gdk.h", cprefix = "GDK_VISIBILITY_", type_id = "gdk_visibility_state_get_type ()")]
public enum VisibilityState {
UNOBSCURED,
[PrintfFormat]
public static string build_fault (int fault_code, string fault_format, ...);
[CCode (cheader_filename = "libsoup/soup.h")]
+ [Deprecated]
public static string? build_method_call (string method_name, [CCode (array_length_cname = "n_params", array_length_pos = 2.1)] GLib.Value[] @params);
[CCode (cheader_filename = "libsoup/soup.h")]
+ [Deprecated]
public static string? build_method_response (GLib.Value value);
[CCode (cheader_filename = "libsoup/soup.h")]
+ public static string build_request (string method_name, GLib.Variant @params) throws GLib.Error;
+ [CCode (cheader_filename = "libsoup/soup.h")]
+ public static string build_response (GLib.Variant value) throws GLib.Error;
+ [CCode (cheader_filename = "libsoup/soup.h")]
public static GLib.Quark error_quark ();
[CCode (cheader_filename = "libsoup/soup.h", sentinel = "G_TYPE_INVALID")]
+ [Deprecated]
public static bool extract_method_call (string method_call, int length, out string method_name, ...);
[CCode (cheader_filename = "libsoup/soup.h", sentinel = "G_TYPE_INVALID")]
+ [Deprecated]
public static bool extract_method_response (string method_response, int length, ...) throws Soup.XMLRPC.Fault;
[CCode (cheader_filename = "libsoup/soup.h")]
public static GLib.Quark fault_quark ();
[CCode (cheader_filename = "libsoup/soup.h")]
+ public static Soup.Message message_new (string uri, string method_name, GLib.Variant @params) throws GLib.Error;
+ [CCode (cheader_filename = "libsoup/soup.h")]
+ public static void message_set_fault (Soup.Message msg, int fault_code, string fault_format, ...);
+ [CCode (cheader_filename = "libsoup/soup.h")]
+ public static bool message_set_response (Soup.Message msg, GLib.Variant value) throws GLib.Error;
+ [CCode (cheader_filename = "libsoup/soup.h")]
+ [Deprecated]
public static bool parse_method_call (string method_call, int length, out string method_name, out GLib.ValueArray @params);
[CCode (cheader_filename = "libsoup/soup.h")]
+ [Deprecated]
public static bool parse_method_response (string method_response, int length, out GLib.Value value) throws Soup.XMLRPC.Fault;
+ [CCode (cheader_filename = "libsoup/soup.h")]
+ public static string parse_request (string method_call, int length, out Soup.XMLRPCParams @params) throws GLib.Error;
+ [CCode (cheader_filename = "libsoup/soup.h")]
+ public static GLib.Variant parse_response (string method_response, int length, string? signature) throws GLib.Error;
[CCode (cheader_filename = "libsoup/soup.h", sentinel = "G_TYPE_INVALID")]
+ [Deprecated]
public static Soup.Message request_new (string uri, string method_name, ...);
[CCode (cheader_filename = "libsoup/soup.h")]
+ [Deprecated]
[PrintfFormat]
public static void set_fault (Soup.Message msg, int fault_code, string fault_format, ...);
[CCode (cheader_filename = "libsoup/soup.h", sentinel = "G_TYPE_INVALID")]
+ [Deprecated]
public static void set_response (Soup.Message msg, ...);
+ [CCode (cheader_filename = "libsoup/soup.h")]
+ public static Soup.Date variant_get_datetime (GLib.Variant variant) throws GLib.Error;
+ [CCode (cheader_filename = "libsoup/soup.h")]
+ public static GLib.Variant variant_new_datetime (Soup.Date date);
}
[CCode (cheader_filename = "libsoup/soup.h", type_id = "soup_address_get_type ()")]
public class Address : GLib.Object, GLib.SocketConnectable {
public virtual signal void error (GLib.Error error);
public virtual signal void message (int type, GLib.Bytes message);
}
+ [CCode (cheader_filename = "libsoup/soup.h")]
+ [Compact]
+ public class XMLRPCParams {
+ public void free ();
+ public GLib.Variant parse (string? signature) throws GLib.Error;
+ }
[CCode (cheader_filename = "libsoup/soup.h", type_cname = "SoupPasswordManagerInterface", type_id = "soup_password_manager_get_type ()")]
public interface PasswordManager : Soup.SessionFeature, GLib.Object {
public abstract void get_passwords_async (Soup.Message msg, Soup.Auth auth, bool retrying, GLib.MainContext async_context, GLib.Cancellable? cancellable, [CCode (scope = "async")] owned Soup.PasswordManagerCallback callback);
public const int VALUE_UTILS_H;
[CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_XMLRPC_H")]
public const int XMLRPC_H;
+ [CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_XMLRPC_OLD_H")]
+ public const int XMLRPC_OLD_H;
[CCode (cheader_filename = "libsoup/soup.h")]
public static unowned GLib.TimeoutSource add_completion (GLib.MainContext? async_context, GLib.SourceFunc function);
[CCode (cheader_filename = "libsoup/soup.h")]
[CCode (cheader_filename = "libsoup/soup.h")]
public static unowned string tld_get_base_domain (string hostname) throws GLib.Error;
[CCode (cheader_filename = "libsoup/soup.h")]
+ [Deprecated]
public static void value_array_append (GLib.ValueArray array, GLib.Type type, ...);
[CCode (cheader_filename = "libsoup/soup.h")]
+ [Deprecated]
public static void value_array_append_vals (GLib.ValueArray array, ...);
[CCode (cheader_filename = "libsoup/soup.h")]
+ [Deprecated]
public static GLib.ValueArray? value_array_from_args (va_list args);
[CCode (cheader_filename = "libsoup/soup.h")]
+ [Deprecated]
public static bool value_array_get_nth (GLib.ValueArray array, uint index_, GLib.Type type, ...);
[CCode (cheader_filename = "libsoup/soup.h")]
+ [Deprecated]
public static void value_array_insert (GLib.ValueArray array, uint index_, GLib.Type type, ...);
[CCode (cheader_filename = "libsoup/soup.h")]
+ [Deprecated]
public static GLib.ValueArray value_array_new ();
[CCode (cheader_filename = "libsoup/soup.h")]
+ [Deprecated]
public static GLib.ValueArray value_array_new_with_vals (...);
[CCode (cheader_filename = "libsoup/soup.h")]
+ [Deprecated]
public static bool value_array_to_args (GLib.ValueArray array, va_list args);
[CCode (cheader_filename = "libsoup/soup.h")]
+ [Deprecated]
public static void value_hash_insert (GLib.HashTable<string,GLib.Value?> hash, string key, GLib.Type type, ...);
[CCode (cheader_filename = "libsoup/soup.h")]
+ [Deprecated]
public static void value_hash_insert_vals (GLib.HashTable<string,GLib.Value?> hash, ...);
[CCode (cheader_filename = "libsoup/soup.h")]
+ [Deprecated]
public static void value_hash_insert_value (GLib.HashTable<string,GLib.Value?> hash, string key, GLib.Value value);
[CCode (cheader_filename = "libsoup/soup.h")]
+ [Deprecated]
public static bool value_hash_lookup (GLib.HashTable<string,GLib.Value?> hash, string key, GLib.Type type, ...);
[CCode (cheader_filename = "libsoup/soup.h")]
+ [Deprecated]
public static bool value_hash_lookup_vals (GLib.HashTable<string,GLib.Value?> hash, ...);
[CCode (cheader_filename = "libsoup/soup.h")]
+ [Deprecated]
public static GLib.HashTable<string,GLib.Value?> value_hash_new ();
[CCode (cheader_filename = "libsoup/soup.h")]
+ [Deprecated]
public static GLib.HashTable<string,GLib.Value?> value_hash_new_with_vals (...);
[CCode (cheader_filename = "libsoup/soup.h")]
public static void websocket_client_prepare_handshake (Soup.Message msg, string? origin, [CCode (array_length = false, array_null_terminated = true)] string[]? protocols);
public virtual void draw_trapezoid (Pango.RenderPart part, double y1_, double x11, double x21, double y2, double x12, double x22);
[NoWrapper]
public virtual void end ();
+ public uint16 get_alpha (Pango.RenderPart part);
public unowned Pango.Color? get_color (Pango.RenderPart part);
public unowned Pango.Layout? get_layout ();
public unowned Pango.LayoutLine? get_layout_line ();
public virtual void part_changed (Pango.RenderPart part);
[NoWrapper]
public virtual void prepare_run (Pango.LayoutRun run);
+ public void set_alpha (Pango.RenderPart part, uint16 alpha);
public void set_color (Pango.RenderPart part, Pango.Color? color);
public void set_matrix (Pango.Matrix? matrix);
}
ABSOLUTE_SIZE,
GRAVITY,
GRAVITY_HINT,
- FONT_FEATURES;
+ FONT_FEATURES,
+ FOREGROUND_ALPHA,
+ BACKGROUND_ALPHA;
public static unowned string? get_name (Pango.AttrType type);
public static Pango.AttrType register (string name);
}
[CCode (cheader_filename = "pango/pango.h")]
public const string VERSION_STRING;
[CCode (cheader_filename = "pango/pango.h")]
+ public static Pango.Attribute attr_background_alpha_new (uint16 alpha);
+ [CCode (cheader_filename = "pango/pango.h")]
public static Pango.Attribute attr_background_new (uint16 red, uint16 green, uint16 blue);
[CCode (cheader_filename = "pango/pango.h")]
public static Pango.Attribute attr_fallback_new (bool enable_fallback);
[CCode (cheader_filename = "pango/pango.h")]
public static Pango.Attribute attr_family_new (string family);
[CCode (cheader_filename = "pango/pango.h")]
+ public static Pango.Attribute attr_foreground_alpha_new (uint16 alpha);
+ [CCode (cheader_filename = "pango/pango.h")]
public static Pango.Attribute attr_foreground_new (uint16 red, uint16 green, uint16 blue);
[CCode (cheader_filename = "pango/pango.h")]
public static Pango.Attribute attr_gravity_hint_new (Pango.GravityHint hint);