public unowned string get_name ();
public void get_position (out unowned Gdk.Screen screen, out int x, out int y);
public void get_position_double (out unowned Gdk.Screen screen, out double x, out double y);
+ public unowned string? get_product_id ();
public Gdk.InputSource get_source ();
public void get_state (Gdk.Window window, [CCode (array_length = false)] double[]? axes, out Gdk.ModifierType mask);
+ public unowned string? get_vendor_id ();
public unowned Gdk.Window? get_window_at_position (out int win_x, out int win_y);
public unowned Gdk.Window? get_window_at_position_double (out double win_x, out double win_y);
public Gdk.GrabStatus grab (Gdk.Window window, Gdk.GrabOwnership grab_ownership, bool owner_events, Gdk.EventMask event_mask, Gdk.Cursor? cursor, uint32 time_);
public Gdk.InputSource input_source { get; construct; }
public uint n_axes { get; }
public string? name { get; construct; }
+ public string product_id { get; construct; }
[NoAccessorMethod]
public Gdk.DeviceType type { get; construct; }
+ public string vendor_id { get; construct; }
public signal void changed ();
}
[CCode (cheader_filename = "gdk/gdk.h", type_id = "gdk_device_manager_get_type ()")]
public WebKit.Download download_uri (string uri);
public void execute_editing_command (string command);
public unowned WebKit.BackForwardList get_back_forward_list ();
+ public Gdk.RGBA get_background_color ();
public unowned WebKit.WebContext get_context ();
public unowned string get_custom_charset ();
public double get_estimated_load_progress ();
public void go_back ();
public void go_forward ();
public void go_to_back_forward_list_item (WebKit.BackForwardListItem list_item);
+ public bool is_editable ();
public void load_alternate_html (string content, string content_uri, string? base_uri);
public void load_bytes (GLib.Bytes bytes, string? mime_type, string? encoding, string? base_uri);
public void load_html (string content, string? base_uri);
public async WebKit.JavascriptResult run_javascript_from_gresource (string resource, GLib.Cancellable? cancellable) throws GLib.Error;
public async GLib.InputStream save (WebKit.SaveMode save_mode, GLib.Cancellable? cancellable) throws GLib.Error;
public async bool save_to_file (GLib.File file, WebKit.SaveMode save_mode, GLib.Cancellable? cancellable) throws GLib.Error;
+ public void set_background_color (Gdk.RGBA rgba);
public void set_custom_charset (string? charset);
+ public void set_editable (bool editable);
public void set_settings (WebKit.Settings settings);
public void set_zoom_level (double zoom_level);
public void stop_loading ();
public WebView.with_settings (WebKit.Settings settings);
[CCode (has_construct_function = false, type = "GtkWidget*")]
public WebView.with_user_content_manager (WebKit.UserContentManager user_content_manager);
+ [NoAccessorMethod]
+ public bool editable { get; set; }
public double estimated_load_progress { get; }
public void* favicon { get; }
[NoAccessorMethod]
public bool is_loading { get; }
+ [NoAccessorMethod]
+ public bool is_playing_audio { get; }
public WebKit.WebView related_view { construct; }
public WebKit.Settings settings { set construct; }
public string title { get; }
[Flags]
public enum SnapshotOptions {
NONE,
- INCLUDE_SELECTION_HIGHLIGHTING
+ INCLUDE_SELECTION_HIGHLIGHTING,
+ TRANSPARENT_BACKGROUND
}
[CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_SNAPSHOT_REGION_", type_id = "webkit_snapshot_region_get_type ()")]
public enum SnapshotRegion {