pub trait WebkitSettingsExt: 'static {
Show 181 methods fn allows_file_access_from_file_urls(&self) -> bool; fn allows_modal_dialogs(&self) -> bool; fn allows_top_navigation_to_data_urls(&self) -> bool; fn allows_universal_access_from_file_urls(&self) -> bool; fn is_auto_load_images(&self) -> bool; fn cursive_font_family(&self) -> Option<GString>; fn default_charset(&self) -> Option<GString>; fn default_font_family(&self) -> Option<GString>; fn default_font_size(&self) -> u32; fn default_monospace_font_size(&self) -> u32; fn draws_compositing_indicators(&self) -> bool; fn enables_accelerated_2d_canvas(&self) -> bool; fn enables_back_forward_navigation_gestures(&self) -> bool; fn enables_caret_browsing(&self) -> bool; fn enables_developer_extras(&self) -> bool; fn enables_dns_prefetching(&self) -> bool; fn enables_encrypted_media(&self) -> bool; fn enables_frame_flattening(&self) -> bool; fn enables_fullscreen(&self) -> bool; fn enables_html5_database(&self) -> bool; fn enables_html5_local_storage(&self) -> bool; fn enables_hyperlink_auditing(&self) -> bool; fn enables_java(&self) -> bool; fn enables_javascript(&self) -> bool; fn enables_javascript_markup(&self) -> bool; fn enables_media(&self) -> bool; fn enables_media_capabilities(&self) -> bool; fn enables_media_stream(&self) -> bool; fn enables_mediasource(&self) -> bool; fn enables_mock_capture_devices(&self) -> bool; fn enables_offline_web_application_cache(&self) -> bool; fn enables_page_cache(&self) -> bool; fn enables_plugins(&self) -> bool; fn enables_private_browsing(&self) -> bool; fn enables_resizable_text_areas(&self) -> bool; fn enables_site_specific_quirks(&self) -> bool; fn enables_smooth_scrolling(&self) -> bool; fn enables_spatial_navigation(&self) -> bool; fn enables_tabs_to_links(&self) -> bool; fn enables_webaudio(&self) -> bool; fn enables_webgl(&self) -> bool; fn enables_webrtc(&self) -> bool; fn enables_write_console_messages_to_stdout(&self) -> bool; fn enables_xss_auditor(&self) -> bool; fn fantasy_font_family(&self) -> Option<GString>; fn hardware_acceleration_policy(&self) -> HardwareAccelerationPolicy; fn is_javascript_can_access_clipboard(&self) -> bool; fn is_javascript_can_open_windows_automatically(&self) -> bool; fn is_load_icons_ignoring_image_load_setting(&self) -> bool; fn media_content_types_requiring_hardware_support(&self) -> Option<GString>; fn is_media_playback_allows_inline(&self) -> bool; fn is_media_playback_requires_user_gesture(&self) -> bool; fn minimum_font_size(&self) -> u32; fn monospace_font_family(&self) -> Option<GString>; fn pictograph_font_family(&self) -> Option<GString>; fn is_print_backgrounds(&self) -> bool; fn sans_serif_font_family(&self) -> Option<GString>; fn serif_font_family(&self) -> Option<GString>; fn user_agent(&self) -> Option<GString>; fn is_zoom_text_only(&self) -> bool; fn set_allow_file_access_from_file_urls(&self, allowed: bool); fn set_allow_modal_dialogs(&self, allowed: bool); fn set_allow_top_navigation_to_data_urls(&self, allowed: bool); fn set_allow_universal_access_from_file_urls(&self, allowed: bool); fn set_auto_load_images(&self, enabled: bool); fn set_cursive_font_family(&self, cursive_font_family: &str); fn set_default_charset(&self, default_charset: &str); fn set_default_font_family(&self, default_font_family: &str); fn set_default_font_size(&self, font_size: u32); fn set_default_monospace_font_size(&self, font_size: u32); fn set_draw_compositing_indicators(&self, enabled: bool); fn set_enable_accelerated_2d_canvas(&self, enabled: bool); fn set_enable_back_forward_navigation_gestures(&self, enabled: bool); fn set_enable_caret_browsing(&self, enabled: bool); fn set_enable_developer_extras(&self, enabled: bool); fn set_enable_dns_prefetching(&self, enabled: bool); fn set_enable_encrypted_media(&self, enabled: bool); fn set_enable_frame_flattening(&self, enabled: bool); fn set_enable_fullscreen(&self, enabled: bool); fn set_enable_html5_database(&self, enabled: bool); fn set_enable_html5_local_storage(&self, enabled: bool); fn set_enable_hyperlink_auditing(&self, enabled: bool); fn set_enable_java(&self, enabled: bool); fn set_enable_javascript(&self, enabled: bool); fn set_enable_javascript_markup(&self, enabled: bool); fn set_enable_media(&self, enabled: bool); fn set_enable_media_capabilities(&self, enabled: bool); fn set_enable_media_stream(&self, enabled: bool); fn set_enable_mediasource(&self, enabled: bool); fn set_enable_mock_capture_devices(&self, enabled: bool); fn set_enable_offline_web_application_cache(&self, enabled: bool); fn set_enable_page_cache(&self, enabled: bool); fn set_enable_plugins(&self, enabled: bool); fn set_enable_private_browsing(&self, enabled: bool); fn set_enable_resizable_text_areas(&self, enabled: bool); fn set_enable_site_specific_quirks(&self, enabled: bool); fn set_enable_smooth_scrolling(&self, enabled: bool); fn set_enable_spatial_navigation(&self, enabled: bool); fn set_enable_tabs_to_links(&self, enabled: bool); fn set_enable_webaudio(&self, enabled: bool); fn set_enable_webgl(&self, enabled: bool); fn set_enable_webrtc(&self, enabled: bool); fn set_enable_write_console_messages_to_stdout(&self, enabled: bool); fn set_enable_xss_auditor(&self, enabled: bool); fn set_fantasy_font_family(&self, fantasy_font_family: &str); fn set_hardware_acceleration_policy(
        &self,
        policy: HardwareAccelerationPolicy
    ); fn set_javascript_can_access_clipboard(&self, enabled: bool); fn set_javascript_can_open_windows_automatically(&self, enabled: bool); fn set_load_icons_ignoring_image_load_setting(&self, enabled: bool); fn set_media_content_types_requiring_hardware_support(
        &self,
        content_types: Option<&str>
    ); fn set_media_playback_allows_inline(&self, enabled: bool); fn set_media_playback_requires_user_gesture(&self, enabled: bool); fn set_minimum_font_size(&self, font_size: u32); fn set_monospace_font_family(&self, monospace_font_family: &str); fn set_pictograph_font_family(&self, pictograph_font_family: &str); fn set_print_backgrounds(&self, print_backgrounds: bool); fn set_sans_serif_font_family(&self, sans_serif_font_family: &str); fn set_serif_font_family(&self, serif_font_family: &str); fn set_user_agent(&self, user_agent: Option<&str>); fn set_user_agent_with_application_details(
        &self,
        application_name: Option<&str>,
        application_version: Option<&str>
    ); fn set_zoom_text_only(&self, zoom_text_only: bool); fn connect_allow_file_access_from_file_urls_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_allow_modal_dialogs_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_allow_top_navigation_to_data_urls_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_allow_universal_access_from_file_urls_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_auto_load_images_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_cursive_font_family_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_default_charset_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_default_font_family_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_default_font_size_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_default_monospace_font_size_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_draw_compositing_indicators_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_enable_accelerated_2d_canvas_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_enable_back_forward_navigation_gestures_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_enable_caret_browsing_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_enable_developer_extras_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_enable_dns_prefetching_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_enable_encrypted_media_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_enable_frame_flattening_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_enable_fullscreen_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_enable_html5_database_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_enable_html5_local_storage_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_enable_hyperlink_auditing_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_enable_java_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_enable_javascript_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_enable_javascript_markup_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_enable_media_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_enable_media_capabilities_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_enable_media_stream_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_enable_mediasource_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_enable_mock_capture_devices_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_enable_offline_web_application_cache_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_enable_page_cache_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_enable_plugins_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_enable_private_browsing_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_enable_resizable_text_areas_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_enable_site_specific_quirks_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_enable_smooth_scrolling_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_enable_spatial_navigation_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_enable_tabs_to_links_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_enable_webaudio_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_enable_webgl_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_enable_webrtc_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_enable_write_console_messages_to_stdout_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_enable_xss_auditor_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_fantasy_font_family_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_hardware_acceleration_policy_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_javascript_can_access_clipboard_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_javascript_can_open_windows_automatically_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_load_icons_ignoring_image_load_setting_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_media_content_types_requiring_hardware_support_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_media_playback_allows_inline_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_media_playback_requires_user_gesture_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_minimum_font_size_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_monospace_font_family_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_pictograph_font_family_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_print_backgrounds_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_sans_serif_font_family_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_serif_font_family_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_user_agent_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_zoom_text_only_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
}
Expand description

Trait containing all Settings methods.

Implementors

Settings

Required Methods

Available on crate feature v2_10 only.

Get the property::Settings::allow-file-access-from-file-urls property.

Returns

true If file access from file URLs is allowed or false otherwise.

Get the property::Settings::allow-modal-dialogs property.

Returns

true if it’s allowed to create and run modal dialogs or false otherwise.

Available on crate feature v2_28 only.

Get the property::Settings::allow-top-navigation-to-data-urls property.

Returns

true If navigation to data URLs from the top frame is allowed or false
otherwise.

Available on crate feature v2_14 only.

Get the property::Settings::allow-universal-access-from-file-urls property.

Returns

true If universal access from file URLs is allowed or false otherwise.

Get the property::Settings::auto-load-images property.

Returns

true If auto loading of images is enabled or false otherwise.

Gets the property::Settings::cursive-font-family property.

Returns

The default font family used to display content marked with cursive font.

Gets the property::Settings::default-charset property.

Returns

Default charset.

Gets the property::Settings::default-font-family property.

Returns

The default font family used to display content that does not specify a font.

Gets the property::Settings::default-font-size property.

Returns

The default font size, in pixels.

Gets the property::Settings::default-monospace-font-size property.

Returns

Default monospace font size, in pixels.

Get the property::Settings::draw-compositing-indicators property.

Returns

true If compositing borders are drawn or false otherwise.

👎Deprecated: Since 2.32
Available on crate feature v2_2 only.

Get the property::Settings::enable-accelerated-2d-canvas property.

Deprecated since 2.32
Returns

true if accelerated 2D canvas is enabled or false otherwise.

Available on crate feature v2_24 only.

Get the property::Settings::enable-back-forward-navigation-gestures property.

Returns

true if horizontal swipe gesture will trigger back-forward navigaiton or false otherwise.

Get the property::Settings::enable-caret-browsing property.

Returns

true If caret browsing is enabled or false otherwise.

Get the property::Settings::enable-developer-extras property.

Returns

true If developer extras is enabled or false otherwise.

Get the property::Settings::enable-dns-prefetching property.

Returns

true If DNS prefetching is enabled or false otherwise.

Available on crate feature v2_20 only.

Get the property::Settings::enable-encrypted-media property.

Returns

true if EncryptedMedia support is enabled or false otherwise.

Get the property::Settings::enable-frame-flattening property.

Deprecated since 2.38
Returns

true If frame flattening is enabled or false otherwise.

Get the property::Settings::enable-fullscreen property.

Returns

true If fullscreen support is enabled or false otherwise.

Get the property::Settings::enable-html5-database property.

Returns

true if IndexedDB support is enabled or false otherwise.

Get the property::Settings::enable-html5-local-storage property.

Returns

true If HTML5 local storage support is enabled or false otherwise.

Get the property::Settings::enable-hyperlink-auditing property.

Returns

true If hyper link auditing is enabled or false otherwise.

Get the property::Settings::enable-java property.

Deprecated since 2.38

This function always returns false.

Returns

false always.

Get the property::Settings::enable-javascript property.

Returns

true If JavaScript is enabled or false otherwise.

Available on crate feature v2_24 only.

Get the property::Settings::enable-javascript-markup property.

Returns

true if JavaScript markup is enabled or false otherwise.

Available on crate feature v2_26 only.

Get the property::Settings::enable-media property.

Returns

true if media support is enabled or false otherwise.

Available on crate feature v2_22 only.

Get the property::Settings::enable-media-capabilities property.

Returns

true if MediaCapabilities support is enabled or false otherwise.

Available on crate feature v2_4 only.

Get the property::Settings::enable-media-stream property.

Returns

true If mediastream support is enabled or false otherwise.

Available on crate feature v2_4 only.

Get the property::Settings::enable-mediasource property.

Returns

true If MediaSource support is enabled or false otherwise.

Available on crate feature v2_24 only.

Get the property::Settings::enable-mock-capture-devices property.

Returns

true If mock capture devices is enabled or false otherwise.

Get the property::Settings::enable-offline-web-application-cache property.

Returns

true If HTML5 offline web application cache support is enabled or false otherwise.

Get the property::Settings::enable-page-cache property.

Returns

true if page cache enabled or false otherwise.

👎Deprecated: Since 2.32

Get the property::Settings::enable-plugins property.

Deprecated since 2.32
Returns

true If plugins are enabled or false otherwise.

👎Deprecated: Since 2.16

Get the property::Settings::enable-private-browsing property.

Deprecated since 2.16

Use property::WebView::is-ephemeral or property::WebContext::is-ephemeral instead.

Returns

true If private browsing is enabled or false otherwise.

Get the property::Settings::enable-resizable-text-areas property.

Returns

true If text areas can be resized or false otherwise.

Get the property::Settings::enable-site-specific-quirks property.

Returns

true if site specific quirks are enabled or false otherwise.

Get the property::Settings::enable-smooth-scrolling property.

Returns

true if smooth scrolling is enabled or false otherwise.

Available on crate feature v2_2 only.

Get the property::Settings::enable-spatial-navigation property.

Returns

true If HTML5 spatial navigation support is enabled or false otherwise.

Get the property::Settings::enable-tabs-to-links property.

Returns

true If tabs to link is enabled or false otherwise.

Get the property::Settings::enable-webaudio property.

Returns

true If webaudio support is enabled or false otherwise.

Get the property::Settings::enable-webgl property.

Returns

true If WebGL support is enabled or false otherwise.

Available on crate feature v2_38 only.

Get the [propertySettings] property.

Returns

true If WebRTC support is enabled or false otherwise.

Available on crate feature v2_2 only.

Get the property::Settings::enable-write-console-messages-to-stdout property.

Returns

true if writing console messages to stdout is enabled or false otherwise.

The XSS auditor has been removed. This function returns false.

Deprecated since 2.38

This function does nothing.

Returns

false

Gets the property::Settings::fantasy-font-family property.

Returns

The default font family used to display content marked with fantasy font.

Available on crate feature v2_16 only.

Get the property::Settings::hardware-acceleration-policy property.

Returns

a HardwareAccelerationPolicy

Get the property::Settings::javascript-can-access-clipboard property.

Returns

true If javascript-can-access-clipboard is enabled or false otherwise.

Get the property::Settings::javascript-can-open-windows-automatically property.

Returns

true If JavaScript can open window automatically or false otherwise.

Get the property::Settings::load-icons-ignoring-image-load-setting property.

Returns

true If site icon can be loaded irrespective of image loading preference or false otherwise.

Available on crate feature v2_30 only.

Gets the property::Settings::media-content-types-requiring-hardware-support property.

Returns

Media content types requiring hardware support, or None.

Get the property::Settings::media-playback-allows-inline property.

Returns

true If inline playback is allowed for media or false if only fullscreen playback is allowed.

Get the property::Settings::media-playback-requires-user-gesture property.

Returns

true If an user gesture is needed to play or load media or false if no user gesture is needed.

Gets the property::Settings::minimum-font-size property.

Returns

Minimum font size, in pixels.

Gets the property::Settings::monospace-font-family property.

Returns

Default font family used to display content marked with monospace font.

Gets the property::Settings::pictograph-font-family property.

Returns

The default font family used to display content marked with pictograph font.

Get the property::Settings::print-backgrounds property.

Returns

true If background images should be printed or false otherwise.

Gets the property::Settings::sans-serif-font-family property.

Returns

The default font family used to display content marked with sans-serif font.

Gets the property::Settings::serif-font-family property.

Returns

The default font family used to display content marked with serif font.

Get the property::Settings::user-agent property.

Returns

The current value of the user-agent property.

Get the property::Settings::zoom-text-only property.

Returns

true If zoom level of the view should only affect the text or false if all view contents should be scaled.

Available on crate feature v2_10 only.

Set the property::Settings::allow-file-access-from-file-urls property.

allowed

Value to be set

Set the property::Settings::allow-modal-dialogs property.

allowed

Value to be set

Available on crate feature v2_28 only.

Set the property::Settings::allow-top-navigation-to-data-urls property.

allowed

Value to be set

Available on crate feature v2_14 only.

Set the property::Settings::allow-universal-access-from-file-urls property.

allowed

Value to be set

Set the property::Settings::auto-load-images property.

enabled

Value to be set

Set the property::Settings::cursive-font-family property.

cursive_font_family

the new default cursive font family

Set the property::Settings::default-charset property.

default_charset

default charset to be set

Set the property::Settings::default-font-family property.

default_font_family

the new default font family

Set the property::Settings::default-font-size property.

font_size

default font size to be set in pixels

Set the property::Settings::default-monospace-font-size property.

font_size

default monospace font size to be set in pixels

Set the property::Settings::draw-compositing-indicators property.

enabled

Value to be set

👎Deprecated: Since 2.32
Available on crate feature v2_2 only.

Set the property::Settings::enable-accelerated-2d-canvas property.

Deprecated since 2.32
enabled

Value to be set

Available on crate feature v2_24 only.

Set the property::Settings::enable-back-forward-navigation-gestures property.

enabled

value to be set

Set the property::Settings::enable-caret-browsing property.

enabled

Value to be set

Set the property::Settings::enable-developer-extras property.

enabled

Value to be set

Set the property::Settings::enable-dns-prefetching property.

enabled

Value to be set

Available on crate feature v2_20 only.

Set the property::Settings::enable-encrypted-media property.

enabled

Value to be set

Set the property::Settings::enable-frame-flattening property.

Deprecated since 2.38
enabled

Value to be set

Set the property::Settings::enable-fullscreen property.

enabled

Value to be set

Set the property::Settings::enable-html5-database property.

enabled

Value to be set

Set the property::Settings::enable-html5-local-storage property.

enabled

Value to be set

Set the property::Settings::enable-hyperlink-auditing property.

enabled

Value to be set

Set the property::Settings::enable-java property.

Deprecated function that does nothing.

Deprecated since 2.38

This function does nothing.

enabled

Value to be set

Set the property::Settings::enable-javascript property.

enabled

Value to be set

Available on crate feature v2_24 only.

Set the property::Settings::enable-javascript-markup property.

enabled

Value to be set

Available on crate feature v2_26 only.

Set the property::Settings::enable-media property.

enabled

Value to be set

Available on crate feature v2_22 only.

Set the property::Settings::enable-media-capabilities property.

enabled

Value to be set

Available on crate feature v2_4 only.

Set the property::Settings::enable-media-stream property.

enabled

Value to be set

Available on crate feature v2_4 only.

Set the property::Settings::enable-mediasource property.

enabled

Value to be set

Available on crate feature v2_4 only.

Set the property::Settings::enable-mock-capture-devices property.

enabled

Value to be set

Set the property::Settings::enable-offline-web-application-cache property.

enabled

Value to be set

Set the property::Settings::enable-page-cache property.

enabled

Value to be set

👎Deprecated: Since 2.32

Set the property::Settings::enable-plugins property.

Deprecated since 2.32
enabled

Value to be set

👎Deprecated: Since 2.16

Set the property::Settings::enable-private-browsing property.

Deprecated since 2.16

Use property::WebView::is-ephemeral or property::WebContext::is-ephemeral instead.

enabled

Value to be set

Set the property::Settings::enable-resizable-text-areas property.

enabled

Value to be set

Set the property::Settings::enable-site-specific-quirks property.

enabled

Value to be set

Set the property::Settings::enable-smooth-scrolling property.

enabled

Value to be set

Available on crate feature v2_2 only.

Set the property::Settings::enable-spatial-navigation property.

enabled

Value to be set

Set the property::Settings::enable-tabs-to-links property.

enabled

Value to be set

Set the property::Settings::enable-webaudio property.

enabled

Value to be set

Set the property::Settings::enable-webgl property.

enabled

Value to be set

Available on crate feature v2_38 only.

Set the [propertySettings] property.

Setting this property to true implies the media-stream web-setting will also be enabled.

enabled

Value to be set

Available on crate feature v2_2 only.

Set the property::Settings::enable-write-console-messages-to-stdout property.

enabled

Value to be set

The XSS auditor has been removed. This function does nothing.

Deprecated since 2.38

This function does nothing.

enabled

Value to be set

Set the property::Settings::fantasy-font-family property.

fantasy_font_family

the new default fantasy font family

Available on crate feature v2_16 only.

Set the property::Settings::hardware-acceleration-policy property.

policy

a HardwareAccelerationPolicy

Set the property::Settings::javascript-can-access-clipboard property.

enabled

Value to be set

Set the property::Settings::javascript-can-open-windows-automatically property.

enabled

Value to be set

Set the property::Settings::load-icons-ignoring-image-load-setting property.

enabled

Value to be set

Available on crate feature v2_30 only.

Set the property::Settings::media-content-types-requiring-hardware-support property.

content_types

list of media content types requiring hardware support split by semicolons (:) or None to use the default value.

Set the property::Settings::media-playback-allows-inline property.

enabled

Value to be set

Set the property::Settings::media-playback-requires-user-gesture property.

enabled

Value to be set

Set the property::Settings::minimum-font-size property.

font_size

minimum font size to be set in pixels

Set the property::Settings::monospace-font-family property.

monospace_font_family

the new default monospace font family

Set the property::Settings::pictograph-font-family property.

pictograph_font_family

the new default pictograph font family

Set the property::Settings::print-backgrounds property.

Value to be set

Set the property::Settings::sans-serif-font-family property.

sans_serif_font_family

the new default sans-serif font family

Set the property::Settings::serif-font-family property.

serif_font_family

the new default serif font family

Set the property::Settings::user-agent property.

user_agent

The new custom user agent string or None to use the default user agent

Set the property::Settings::user-agent property by appending the application details.

Set the property::Settings::user-agent property by appending the application details to the default user agent. If no application name or version is given, the default user agent used will be used. If only the version is given, the default engine version is used with the given application name.

application_name

The application name used for the user agent or None to use the default user agent.

application_version

The application version for the user agent or None to user the default version.

Set the property::Settings::zoom-text-only property.

zoom_text_only

Value to be set

Available on crate feature v2_10 only.
Available on crate feature v2_28 only.
Available on crate feature v2_14 only.
👎Deprecated: Since 2.32
Available on crate feature v2_2 only.
Available on crate feature v2_24 only.
Available on crate feature v2_20 only.
Available on crate feature v2_24 only.
Available on crate feature v2_26 only.
Available on crate feature v2_22 only.
Available on crate feature v2_4 only.
Available on crate feature v2_4 only.
Available on crate feature v2_24 only.
👎Deprecated: Since 2.32
👎Deprecated: Since 2.16
Available on crate feature v2_4 only.
Available on crate feature v2_38 only.
Available on crate feature v2_2 only.
Available on crate feature v2_16 only.
Available on crate feature v2_30 only.

Implementors