[CCode (cheader_filename = "clutter/x11/clutter-x11.h")]
public static bool get_use_argb_visual ();
[CCode (cheader_filename = "clutter/x11/clutter-x11.h")]
+ public static bool get_use_stereo_stage ();
+ [CCode (cheader_filename = "clutter/x11/clutter-x11.h")]
public static X.VisualInfo? get_visual_info ();
[CCode (cheader_filename = "clutter/x11/clutter-x11.h")]
public static ClutterX11.FilterReturn handle_event (X.Event xevent);
[CCode (cheader_filename = "clutter/x11/clutter-x11.h")]
public static void set_use_argb_visual (bool use_argb);
[CCode (cheader_filename = "clutter/x11/clutter-x11.h")]
+ public static void set_use_stereo_stage (bool use_stereo);
+ [CCode (cheader_filename = "clutter/x11/clutter-x11.h")]
public static void trap_x_errors ();
[CCode (cheader_filename = "clutter/x11/clutter-x11.h")]
public static int untrap_x_errors ();
public virtual void after_emit (GLib.Variant platform_data);
[NoWrapper]
public virtual void before_emit (GLib.Variant platform_data);
- public void bind_busy_property (void* object, string? property);
+ public void bind_busy_property (void* object, string property);
[NoWrapper]
public virtual bool dbus_register (GLib.DBusConnection connection, string object_path) throws GLib.Error;
[NoWrapper]
public static unowned GLib.Application get_default ();
public GLib.ApplicationFlags get_flags ();
public uint get_inactivity_timeout ();
+ public bool get_is_busy ();
public bool get_is_registered ();
public bool get_is_remote ();
public unowned string? get_resource_base_path ();
public void set_flags (GLib.ApplicationFlags flags);
public void set_inactivity_timeout (uint inactivity_timeout);
public void set_resource_base_path (string? resource_path);
+ public void unbind_busy_property (void* object, string property);
public void unmark_busy ();
public void withdraw_notification (string id);
public GLib.ActionGroup action_group { set; }
public string application_id { get; set construct; }
public GLib.ApplicationFlags flags { get; set; }
public uint inactivity_timeout { get; set; }
+ public bool is_busy { get; }
public bool is_registered { get; }
public bool is_remote { get; }
public string resource_base_path { get; set; }
public unowned GLib.File get_container ();
public bool has_pending ();
public bool is_closed ();
+ public bool iterate (out unowned GLib.FileInfo out_info, out unowned GLib.File out_child, GLib.Cancellable? cancellable = null) throws GLib.Error;
public virtual GLib.FileInfo? next_file (GLib.Cancellable? cancellable = null) throws GLib.Error;
public virtual async GLib.List<GLib.FileInfo> next_files_async (int num_files, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
public void set_pending (bool pending);
public void set_op_res_gssize (ssize_t op_res);
public void take_error (GLib.Error error);
}
+ [CCode (cheader_filename = "gio/gio.h", type_id = "g_simple_io_stream_get_type ()")]
+ public class SimpleIOStream : GLib.IOStream {
+ [CCode (has_construct_function = false, type = "GIOStream*")]
+ public SimpleIOStream (GLib.InputStream input_stream, GLib.OutputStream output_stream);
+ [NoAccessorMethod]
+ public GLib.InputStream input_stream { owned get; construct; }
+ [NoAccessorMethod]
+ public GLib.OutputStream output_stream { owned get; construct; }
+ }
[CCode (cheader_filename = "gio/gio.h", type_id = "g_simple_permission_get_type ()")]
public class SimplePermission : GLib.Permission {
[CCode (has_construct_function = false, type = "GPermission*")]
public static unowned GI.Repository get_default ();
[CCode (array_length = false, array_null_terminated = true)]
public string[] get_dependencies (string namespace_);
+ [CCode (array_length = false, array_null_terminated = true)]
+ public string[] get_immediate_dependencies (string namespace_);
public GI.BaseInfo get_info (string namespace_, int index);
[CCode (array_length = false, array_null_terminated = true)]
public string[] get_loaded_namespaces ();
[Compact]
public class ClientContext {
[Deprecated]
- public unowned Soup.Address get_address ();
+ public unowned Soup.Address? get_address ();
public unowned Soup.AuthDomain? get_auth_domain ();
public unowned string? get_auth_user ();
- public unowned GLib.Socket get_gsocket ();
- public unowned string get_host ();
- public unowned GLib.SocketAddress get_local_address ();
- public unowned GLib.SocketAddress get_remote_address ();
+ public unowned GLib.Socket? get_gsocket ();
+ public unowned string? get_host ();
+ public unowned GLib.SocketAddress? get_local_address ();
+ public unowned GLib.SocketAddress? get_remote_address ();
[Deprecated]
public unowned Soup.Socket get_socket ();
}
public class Server : GLib.Object {
[CCode (has_construct_function = false)]
public Server (string optname1, ...);
+ public bool accept_iostream (GLib.IOStream stream, GLib.SocketAddress? local_addr, GLib.SocketAddress? remote_addr) throws GLib.Error;
public void add_auth_domain (Soup.AuthDomain auth_domain);
public void add_handler (string? path, owned Soup.ServerCallback callback);
public void disconnect ();
public bool close_on_dispose { get; set construct; }
public int fd { get; construct; }
public GLib.Socket gsocket { construct; }
+ public GLib.IOStream iostream { construct; }
[NoAccessorMethod]
public bool ipv6_only { get; set; }
[NoAccessorMethod]
public unowned string get_title ();
public unowned string get_uri ();
}
+ [CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_color_chooser_request_get_type ()")]
+ public class ColorChooserRequest : GLib.Object {
+ [CCode (has_construct_function = false)]
+ protected ColorChooserRequest ();
+ public void cancel ();
+ public void finish ();
+ public Gdk.Rectangle get_element_rectangle ();
+ public Gdk.RGBA get_rgba ();
+ public void set_rgba (Gdk.RGBA rgba);
+ public Gdk.RGBA rgba { get; set construct; }
+ public signal void finished ();
+ }
[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_context_menu_get_type ()")]
public class ContextMenu : GLib.Object {
[CCode (has_construct_function = false)]
public class Notification : GLib.Object {
[CCode (has_construct_function = false)]
protected Notification ();
+ public void close ();
public unowned string get_body ();
public uint64 get_id ();
public unowned string get_title ();
public string body { get; }
public uint64 id { get; }
public string title { get; }
+ public signal void closed ();
}
[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_notification_permission_request_get_type ()")]
public class NotificationPermissionRequest : GLib.Object, WebKit.PermissionRequest {
public double zoom_level { get; set; }
public virtual signal bool authenticate (WebKit.AuthenticationRequest request);
public virtual signal void close ();
- public virtual signal bool close_notification (WebKit.Notification notification);
public virtual signal bool context_menu (WebKit.ContextMenu context_menu, Gdk.Event event, WebKit.HitTestResult hit_test_result);
public virtual signal void context_menu_dismissed ();
public signal Gtk.Widget create (WebKit.NavigationAction navigation_action);
public virtual signal void ready_to_show ();
public virtual signal void resource_load_started (WebKit.WebResource resource, WebKit.URIRequest request);
public virtual signal void run_as_modal ();
+ public virtual signal bool run_color_chooser (WebKit.ColorChooserRequest request);
public virtual signal bool run_file_chooser (WebKit.FileChooserRequest request);
public virtual signal bool script_dialog (WebKit.ScriptDialog dialog);
public virtual signal bool show_notification (WebKit.Notification notification);