WebKitSettings

WebKitSettings

Functions

WebKitSettings * webkit_settings_new ()
WebKitSettings * webkit_settings_new_with_settings ()
gboolean webkit_settings_get_auto_load_images ()
void webkit_settings_set_auto_load_images ()
gboolean webkit_settings_get_enable_frame_flattening ()
void webkit_settings_set_enable_frame_flattening ()
gboolean webkit_settings_get_enable_html5_database ()
void webkit_settings_set_enable_html5_database ()
gboolean webkit_settings_get_enable_html5_local_storage ()
void webkit_settings_set_enable_html5_local_storage ()
gboolean webkit_settings_get_enable_hyperlink_auditing ()
void webkit_settings_set_enable_hyperlink_auditing ()
gboolean webkit_settings_get_enable_java ()
void webkit_settings_set_enable_java ()
gboolean webkit_settings_get_enable_javascript ()
void webkit_settings_set_enable_javascript ()
gboolean webkit_settings_get_enable_offline_web_application_cache ()
void webkit_settings_set_enable_offline_web_application_cache ()
gboolean webkit_settings_get_enable_plugins ()
void webkit_settings_set_enable_plugins ()
gboolean webkit_settings_get_enable_xss_auditor ()
void webkit_settings_set_enable_xss_auditor ()
gboolean webkit_settings_get_javascript_can_open_windows_automatically ()
void webkit_settings_set_javascript_can_open_windows_automatically ()
gboolean webkit_settings_get_load_icons_ignoring_image_load_setting ()
void webkit_settings_set_load_icons_ignoring_image_load_setting ()
const gchar * webkit_settings_get_default_font_family ()
void webkit_settings_set_default_font_family ()
const gchar * webkit_settings_get_monospace_font_family ()
void webkit_settings_set_monospace_font_family ()
const gchar * webkit_settings_get_serif_font_family ()
void webkit_settings_set_serif_font_family ()
const gchar * webkit_settings_get_sans_serif_font_family ()
void webkit_settings_set_sans_serif_font_family ()
const gchar * webkit_settings_get_cursive_font_family ()
void webkit_settings_set_cursive_font_family ()
const gchar * webkit_settings_get_fantasy_font_family ()
void webkit_settings_set_fantasy_font_family ()
const gchar * webkit_settings_get_pictograph_font_family ()
void webkit_settings_set_pictograph_font_family ()
guint32 webkit_settings_get_default_font_size ()
void webkit_settings_set_default_font_size ()
guint32 webkit_settings_get_default_monospace_font_size ()
void webkit_settings_set_default_monospace_font_size ()
guint32 webkit_settings_get_minimum_font_size ()
void webkit_settings_set_minimum_font_size ()
const gchar * webkit_settings_get_default_charset ()
void webkit_settings_set_default_charset ()
gboolean webkit_settings_get_enable_private_browsing ()
void webkit_settings_set_enable_private_browsing ()
gboolean webkit_settings_get_enable_developer_extras ()
void webkit_settings_set_enable_developer_extras ()
gboolean webkit_settings_get_enable_resizable_text_areas ()
void webkit_settings_set_enable_resizable_text_areas ()
gboolean webkit_settings_get_enable_tabs_to_links ()
void webkit_settings_set_enable_tabs_to_links ()
gboolean webkit_settings_get_enable_dns_prefetching ()
void webkit_settings_set_enable_dns_prefetching ()
gboolean webkit_settings_get_enable_caret_browsing ()
void webkit_settings_set_enable_caret_browsing ()
gboolean webkit_settings_get_enable_fullscreen ()
void webkit_settings_set_enable_fullscreen ()
gboolean webkit_settings_get_print_backgrounds ()
void webkit_settings_set_print_backgrounds ()
gboolean webkit_settings_get_enable_webaudio ()
void webkit_settings_set_enable_webaudio ()
gboolean webkit_settings_get_enable_webgl ()
void webkit_settings_set_enable_webgl ()
void webkit_settings_set_allow_modal_dialogs ()
gboolean webkit_settings_get_allow_modal_dialogs ()
gboolean webkit_settings_get_zoom_text_only ()
void webkit_settings_set_zoom_text_only ()
gboolean webkit_settings_get_javascript_can_access_clipboard ()
void webkit_settings_set_javascript_can_access_clipboard ()
gboolean webkit_settings_get_media_playback_requires_user_gesture ()
void webkit_settings_set_media_playback_requires_user_gesture ()
gboolean webkit_settings_get_media_playback_allows_inline ()
void webkit_settings_set_media_playback_allows_inline ()
gboolean webkit_settings_get_draw_compositing_indicators ()
void webkit_settings_set_draw_compositing_indicators ()
gboolean webkit_settings_get_enable_site_specific_quirks ()
void webkit_settings_set_enable_site_specific_quirks ()
gboolean webkit_settings_get_enable_page_cache ()
void webkit_settings_set_enable_page_cache ()
const gchar * webkit_settings_get_user_agent ()
void webkit_settings_set_user_agent ()
void webkit_settings_set_user_agent_with_application_details ()
gboolean webkit_settings_get_enable_smooth_scrolling ()
void webkit_settings_set_enable_smooth_scrolling ()
gboolean webkit_settings_get_enable_accelerated_2d_canvas ()
void webkit_settings_set_enable_accelerated_2d_canvas ()
gboolean webkit_settings_get_enable_write_console_messages_to_stdout ()
void webkit_settings_set_enable_write_console_messages_to_stdout ()
gboolean webkit_settings_get_enable_media_stream ()
void webkit_settings_set_enable_media_stream ()
gboolean webkit_settings_get_enable_spatial_navigation ()
void webkit_settings_set_enable_spatial_navigation ()
gboolean webkit_settings_get_enable_mediasource ()
void webkit_settings_set_enable_mediasource ()
gboolean webkit_settings_get_allow_file_access_from_file_urls ()
void webkit_settings_set_allow_file_access_from_file_urls ()
gboolean webkit_settings_get_allow_universal_access_from_file_urls ()
void webkit_settings_set_allow_universal_access_from_file_urls ()
WebKitHardwareAccelerationPolicy webkit_settings_get_hardware_acceleration_policy ()
void webkit_settings_set_hardware_acceleration_policy ()

Properties

gboolean allow-file-access-from-file-urls Read / Write / Construct
gboolean allow-modal-dialogs Read / Write / Construct
gboolean allow-universal-access-from-file-urls Read / Write / Construct
gboolean auto-load-images Read / Write / Construct
gchar * cursive-font-family Read / Write / Construct
gchar * default-charset Read / Write / Construct
gchar * default-font-family Read / Write / Construct
guint default-font-size Read / Write / Construct
guint default-monospace-font-size Read / Write / Construct
gboolean draw-compositing-indicators Read / Write / Construct
gboolean enable-accelerated-2d-canvas Read / Write / Construct
gboolean enable-caret-browsing Read / Write / Construct
gboolean enable-developer-extras Read / Write / Construct
gboolean enable-dns-prefetching Read / Write / Construct
gboolean enable-frame-flattening Read / Write / Construct
gboolean enable-fullscreen Read / Write / Construct
gboolean enable-html5-database Read / Write / Construct
gboolean enable-html5-local-storage Read / Write / Construct
gboolean enable-hyperlink-auditing Read / Write / Construct
gboolean enable-java Read / Write / Construct
gboolean enable-javascript Read / Write / Construct
gboolean enable-media-stream Read / Write / Construct
gboolean enable-mediasource Read / Write / Construct
gboolean enable-offline-web-application-cache Read / Write / Construct
gboolean enable-page-cache Read / Write / Construct
gboolean enable-plugins Read / Write / Construct
gboolean enable-private-browsing Read / Write / Construct
gboolean enable-resizable-text-areas Read / Write / Construct
gboolean enable-site-specific-quirks Read / Write / Construct
gboolean enable-smooth-scrolling Read / Write / Construct
gboolean enable-spatial-navigation Read / Write / Construct
gboolean enable-tabs-to-links Read / Write / Construct
gboolean enable-webaudio Read / Write / Construct
gboolean enable-webgl Read / Write / Construct
gboolean enable-write-console-messages-to-stdout Read / Write / Construct
gboolean enable-xss-auditor Read / Write / Construct
gchar * fantasy-font-family Read / Write / Construct
WebKitHardwareAccelerationPolicy hardware-acceleration-policy Read / Write / Construct
gboolean javascript-can-access-clipboard Read / Write / Construct
gboolean javascript-can-open-windows-automatically Read / Write / Construct
gboolean load-icons-ignoring-image-load-setting Read / Write / Construct
gboolean media-playback-allows-inline Read / Write / Construct
gboolean media-playback-requires-user-gesture Read / Write / Construct
guint minimum-font-size Read / Write / Construct
gchar * monospace-font-family Read / Write / Construct
gchar * pictograph-font-family Read / Write / Construct
gboolean print-backgrounds Read / Write / Construct
gchar * sans-serif-font-family Read / Write / Construct
gchar * serif-font-family Read / Write / Construct
gchar * user-agent Read / Write / Construct
gboolean zoom-text-only Read / Write / Construct

Types and Values

Object Hierarchy

    GObject
    ╰── WebKitSettings

Description

Functions

webkit_settings_new ()

WebKitSettings *
webkit_settings_new (void);

webkit_settings_new_with_settings ()

WebKitSettings *
webkit_settings_new_with_settings (const gchar *first_setting_name,
                                   ...);

webkit_settings_get_auto_load_images ()

gboolean
webkit_settings_get_auto_load_images (WebKitSettings *settings);

webkit_settings_set_auto_load_images ()

void
webkit_settings_set_auto_load_images (WebKitSettings *settings,
                                      gboolean enabled);

webkit_settings_get_enable_frame_flattening ()

gboolean
webkit_settings_get_enable_frame_flattening
                               (WebKitSettings *settings);

webkit_settings_set_enable_frame_flattening ()

void
webkit_settings_set_enable_frame_flattening
                               (WebKitSettings *settings,
                                gboolean enabled);

webkit_settings_get_enable_html5_database ()

gboolean
webkit_settings_get_enable_html5_database
                               (WebKitSettings *settings);

webkit_settings_set_enable_html5_database ()

void
webkit_settings_set_enable_html5_database
                               (WebKitSettings *settings,
                                gboolean enabled);

webkit_settings_get_enable_html5_local_storage ()

gboolean
webkit_settings_get_enable_html5_local_storage
                               (WebKitSettings *settings);

webkit_settings_set_enable_html5_local_storage ()

void
webkit_settings_set_enable_html5_local_storage
                               (WebKitSettings *settings,
                                gboolean enabled);

webkit_settings_get_enable_hyperlink_auditing ()

gboolean
webkit_settings_get_enable_hyperlink_auditing
                               (WebKitSettings *settings);

webkit_settings_set_enable_hyperlink_auditing ()

void
webkit_settings_set_enable_hyperlink_auditing
                               (WebKitSettings *settings,
                                gboolean enabled);

webkit_settings_get_enable_java ()

gboolean
webkit_settings_get_enable_java (WebKitSettings *settings);

webkit_settings_set_enable_java ()

void
webkit_settings_set_enable_java (WebKitSettings *settings,
                                 gboolean enabled);

webkit_settings_get_enable_javascript ()

gboolean
webkit_settings_get_enable_javascript (WebKitSettings *settings);

webkit_settings_set_enable_javascript ()

void
webkit_settings_set_enable_javascript (WebKitSettings *settings,
                                       gboolean enabled);

webkit_settings_get_enable_offline_web_application_cache ()

gboolean
webkit_settings_get_enable_offline_web_application_cache
                               (WebKitSettings *settings);

webkit_settings_set_enable_offline_web_application_cache ()

void
webkit_settings_set_enable_offline_web_application_cache
                               (WebKitSettings *settings,
                                gboolean enabled);

webkit_settings_get_enable_plugins ()

gboolean
webkit_settings_get_enable_plugins (WebKitSettings *settings);

webkit_settings_set_enable_plugins ()

void
webkit_settings_set_enable_plugins (WebKitSettings *settings,
                                    gboolean enabled);

webkit_settings_get_enable_xss_auditor ()

gboolean
webkit_settings_get_enable_xss_auditor
                               (WebKitSettings *settings);

webkit_settings_set_enable_xss_auditor ()

void
webkit_settings_set_enable_xss_auditor
                               (WebKitSettings *settings,
                                gboolean enabled);

webkit_settings_get_javascript_can_open_windows_automatically ()

gboolean
webkit_settings_get_javascript_can_open_windows_automatically
                               (WebKitSettings *settings);

webkit_settings_set_javascript_can_open_windows_automatically ()

void
webkit_settings_set_javascript_can_open_windows_automatically
                               (WebKitSettings *settings,
                                gboolean enabled);

webkit_settings_get_load_icons_ignoring_image_load_setting ()

gboolean
webkit_settings_get_load_icons_ignoring_image_load_setting
                               (WebKitSettings *settings);

webkit_settings_set_load_icons_ignoring_image_load_setting ()

void
webkit_settings_set_load_icons_ignoring_image_load_setting
                               (WebKitSettings *settings,
                                gboolean enabled);

webkit_settings_get_default_font_family ()

const gchar *
webkit_settings_get_default_font_family
                               (WebKitSettings *settings);

webkit_settings_set_default_font_family ()

void
webkit_settings_set_default_font_family
                               (WebKitSettings *settings,
                                const gchar *default_font_family);

webkit_settings_get_monospace_font_family ()

const gchar *
webkit_settings_get_monospace_font_family
                               (WebKitSettings *settings);

webkit_settings_set_monospace_font_family ()

void
webkit_settings_set_monospace_font_family
                               (WebKitSettings *settings,
                                const gchar *monospace_font_family);

webkit_settings_get_serif_font_family ()

const gchar *
webkit_settings_get_serif_font_family (WebKitSettings *settings);

webkit_settings_set_serif_font_family ()

void
webkit_settings_set_serif_font_family (WebKitSettings *settings,
                                       const gchar *serif_font_family);

webkit_settings_get_sans_serif_font_family ()

const gchar *
webkit_settings_get_sans_serif_font_family
                               (WebKitSettings *settings);

webkit_settings_set_sans_serif_font_family ()

void
webkit_settings_set_sans_serif_font_family
                               (WebKitSettings *settings,
                                const gchar *sans_serif_font_family);

webkit_settings_get_cursive_font_family ()

const gchar *
webkit_settings_get_cursive_font_family
                               (WebKitSettings *settings);

webkit_settings_set_cursive_font_family ()

void
webkit_settings_set_cursive_font_family
                               (WebKitSettings *settings,
                                const gchar *cursive_font_family);

webkit_settings_get_fantasy_font_family ()

const gchar *
webkit_settings_get_fantasy_font_family
                               (WebKitSettings *settings);

webkit_settings_set_fantasy_font_family ()

void
webkit_settings_set_fantasy_font_family
                               (WebKitSettings *settings,
                                const gchar *fantasy_font_family);

webkit_settings_get_pictograph_font_family ()

const gchar *
webkit_settings_get_pictograph_font_family
                               (WebKitSettings *settings);

webkit_settings_set_pictograph_font_family ()

void
webkit_settings_set_pictograph_font_family
                               (WebKitSettings *settings,
                                const gchar *pictograph_font_family);

webkit_settings_get_default_font_size ()

guint32
webkit_settings_get_default_font_size (WebKitSettings *settings);

webkit_settings_set_default_font_size ()

void
webkit_settings_set_default_font_size (WebKitSettings *settings,
                                       guint32 font_size);

webkit_settings_get_default_monospace_font_size ()

guint32
webkit_settings_get_default_monospace_font_size
                               (WebKitSettings *settings);

webkit_settings_set_default_monospace_font_size ()

void
webkit_settings_set_default_monospace_font_size
                               (WebKitSettings *settings,
                                guint32 font_size);

webkit_settings_get_minimum_font_size ()

guint32
webkit_settings_get_minimum_font_size (WebKitSettings *settings);

webkit_settings_set_minimum_font_size ()

void
webkit_settings_set_minimum_font_size (WebKitSettings *settings,
                                       guint32 font_size);

webkit_settings_get_default_charset ()

const gchar *
webkit_settings_get_default_charset (WebKitSettings *settings);

webkit_settings_set_default_charset ()

void
webkit_settings_set_default_charset (WebKitSettings *settings,
                                     const gchar *default_charset);

webkit_settings_get_enable_private_browsing ()

gboolean
webkit_settings_get_enable_private_browsing
                               (WebKitSettings *settings);

webkit_settings_get_enable_private_browsing is deprecated and should not be used in newly-written code.


webkit_settings_set_enable_private_browsing ()

void
webkit_settings_set_enable_private_browsing
                               (WebKitSettings *settings,
                                gboolean enabled);

webkit_settings_set_enable_private_browsing is deprecated and should not be used in newly-written code.


webkit_settings_get_enable_developer_extras ()

gboolean
webkit_settings_get_enable_developer_extras
                               (WebKitSettings *settings);

webkit_settings_set_enable_developer_extras ()

void
webkit_settings_set_enable_developer_extras
                               (WebKitSettings *settings,
                                gboolean enabled);

webkit_settings_get_enable_resizable_text_areas ()

gboolean
webkit_settings_get_enable_resizable_text_areas
                               (WebKitSettings *settings);

webkit_settings_set_enable_resizable_text_areas ()

void
webkit_settings_set_enable_resizable_text_areas
                               (WebKitSettings *settings,
                                gboolean enabled);

webkit_settings_get_enable_tabs_to_links ()

gboolean
webkit_settings_get_enable_tabs_to_links
                               (WebKitSettings *settings);

webkit_settings_set_enable_tabs_to_links ()

void
webkit_settings_set_enable_tabs_to_links
                               (WebKitSettings *settings,
                                gboolean enabled);

webkit_settings_get_enable_dns_prefetching ()

gboolean
webkit_settings_get_enable_dns_prefetching
                               (WebKitSettings *settings);

webkit_settings_set_enable_dns_prefetching ()

void
webkit_settings_set_enable_dns_prefetching
                               (WebKitSettings *settings,
                                gboolean enabled);

webkit_settings_get_enable_caret_browsing ()

gboolean
webkit_settings_get_enable_caret_browsing
                               (WebKitSettings *settings);

webkit_settings_set_enable_caret_browsing ()

void
webkit_settings_set_enable_caret_browsing
                               (WebKitSettings *settings,
                                gboolean enabled);

webkit_settings_get_enable_fullscreen ()

gboolean
webkit_settings_get_enable_fullscreen (WebKitSettings *settings);

webkit_settings_set_enable_fullscreen ()

void
webkit_settings_set_enable_fullscreen (WebKitSettings *settings,
                                       gboolean enabled);

webkit_settings_get_print_backgrounds ()

gboolean
webkit_settings_get_print_backgrounds (WebKitSettings *settings);

webkit_settings_set_print_backgrounds ()

void
webkit_settings_set_print_backgrounds (WebKitSettings *settings,
                                       gboolean print_backgrounds);

webkit_settings_get_enable_webaudio ()

gboolean
webkit_settings_get_enable_webaudio (WebKitSettings *settings);

webkit_settings_set_enable_webaudio ()

void
webkit_settings_set_enable_webaudio (WebKitSettings *settings,
                                     gboolean enabled);

webkit_settings_get_enable_webgl ()

gboolean
webkit_settings_get_enable_webgl (WebKitSettings *settings);

webkit_settings_set_enable_webgl ()

void
webkit_settings_set_enable_webgl (WebKitSettings *settings,
                                  gboolean enabled);

webkit_settings_set_allow_modal_dialogs ()

void
webkit_settings_set_allow_modal_dialogs
                               (WebKitSettings *settings,
                                gboolean allowed);

webkit_settings_get_allow_modal_dialogs ()

gboolean
webkit_settings_get_allow_modal_dialogs
                               (WebKitSettings *settings);

webkit_settings_get_zoom_text_only ()

gboolean
webkit_settings_get_zoom_text_only (WebKitSettings *settings);

webkit_settings_set_zoom_text_only ()

void
webkit_settings_set_zoom_text_only (WebKitSettings *settings,
                                    gboolean zoom_text_only);

webkit_settings_get_javascript_can_access_clipboard ()

gboolean
webkit_settings_get_javascript_can_access_clipboard
                               (WebKitSettings *settings);

webkit_settings_set_javascript_can_access_clipboard ()

void
webkit_settings_set_javascript_can_access_clipboard
                               (WebKitSettings *settings,
                                gboolean enabled);

webkit_settings_get_media_playback_requires_user_gesture ()

gboolean
webkit_settings_get_media_playback_requires_user_gesture
                               (WebKitSettings *settings);

webkit_settings_set_media_playback_requires_user_gesture ()

void
webkit_settings_set_media_playback_requires_user_gesture
                               (WebKitSettings *settings,
                                gboolean enabled);

webkit_settings_get_media_playback_allows_inline ()

gboolean
webkit_settings_get_media_playback_allows_inline
                               (WebKitSettings *settings);

webkit_settings_set_media_playback_allows_inline ()

void
webkit_settings_set_media_playback_allows_inline
                               (WebKitSettings *settings,
                                gboolean enabled);

webkit_settings_get_draw_compositing_indicators ()

gboolean
webkit_settings_get_draw_compositing_indicators
                               (WebKitSettings *settings);

webkit_settings_set_draw_compositing_indicators ()

void
webkit_settings_set_draw_compositing_indicators
                               (WebKitSettings *settings,
                                gboolean enabled);

webkit_settings_get_enable_site_specific_quirks ()

gboolean
webkit_settings_get_enable_site_specific_quirks
                               (WebKitSettings *settings);

webkit_settings_set_enable_site_specific_quirks ()

void
webkit_settings_set_enable_site_specific_quirks
                               (WebKitSettings *settings,
                                gboolean enabled);

webkit_settings_get_enable_page_cache ()

gboolean
webkit_settings_get_enable_page_cache (WebKitSettings *settings);

webkit_settings_set_enable_page_cache ()

void
webkit_settings_set_enable_page_cache (WebKitSettings *settings,
                                       gboolean enabled);

webkit_settings_get_user_agent ()

const gchar *
webkit_settings_get_user_agent (WebKitSettings *settings);

webkit_settings_set_user_agent ()

void
webkit_settings_set_user_agent (WebKitSettings *settings,
                                const gchar *user_agent);

webkit_settings_set_user_agent_with_application_details ()

void
webkit_settings_set_user_agent_with_application_details
                               (WebKitSettings *settings,
                                const gchar *application_name,
                                const gchar *application_version);

webkit_settings_get_enable_smooth_scrolling ()

gboolean
webkit_settings_get_enable_smooth_scrolling
                               (WebKitSettings *settings);

webkit_settings_set_enable_smooth_scrolling ()

void
webkit_settings_set_enable_smooth_scrolling
                               (WebKitSettings *settings,
                                gboolean enabled);

webkit_settings_get_enable_accelerated_2d_canvas ()

gboolean
webkit_settings_get_enable_accelerated_2d_canvas
                               (WebKitSettings *settings);

webkit_settings_set_enable_accelerated_2d_canvas ()

void
webkit_settings_set_enable_accelerated_2d_canvas
                               (WebKitSettings *settings,
                                gboolean enabled);

webkit_settings_get_enable_write_console_messages_to_stdout ()

gboolean
webkit_settings_get_enable_write_console_messages_to_stdout
                               (WebKitSettings *settings);

webkit_settings_set_enable_write_console_messages_to_stdout ()

void
webkit_settings_set_enable_write_console_messages_to_stdout
                               (WebKitSettings *settings,
                                gboolean enabled);

webkit_settings_get_enable_media_stream ()

gboolean
webkit_settings_get_enable_media_stream
                               (WebKitSettings *settings);

webkit_settings_set_enable_media_stream ()

void
webkit_settings_set_enable_media_stream
                               (WebKitSettings *settings,
                                gboolean enabled);

webkit_settings_get_enable_spatial_navigation ()

gboolean
webkit_settings_get_enable_spatial_navigation
                               (WebKitSettings *settings);

webkit_settings_set_enable_spatial_navigation ()

void
webkit_settings_set_enable_spatial_navigation
                               (WebKitSettings *settings,
                                gboolean enabled);

webkit_settings_get_enable_mediasource ()

gboolean
webkit_settings_get_enable_mediasource
                               (WebKitSettings *settings);

webkit_settings_set_enable_mediasource ()

void
webkit_settings_set_enable_mediasource
                               (WebKitSettings *settings,
                                gboolean enabled);

webkit_settings_get_allow_file_access_from_file_urls ()

gboolean
webkit_settings_get_allow_file_access_from_file_urls
                               (WebKitSettings *settings);

webkit_settings_set_allow_file_access_from_file_urls ()

void
webkit_settings_set_allow_file_access_from_file_urls
                               (WebKitSettings *settings,
                                gboolean allowed);

webkit_settings_get_allow_universal_access_from_file_urls ()

gboolean
webkit_settings_get_allow_universal_access_from_file_urls
                               (WebKitSettings *settings);

webkit_settings_set_allow_universal_access_from_file_urls ()

void
webkit_settings_set_allow_universal_access_from_file_urls
                               (WebKitSettings *settings,
                                gboolean allowed);

webkit_settings_get_hardware_acceleration_policy ()

WebKitHardwareAccelerationPolicy
webkit_settings_get_hardware_acceleration_policy
                               (WebKitSettings *settings);

webkit_settings_set_hardware_acceleration_policy ()

void
webkit_settings_set_hardware_acceleration_policy
                               (WebKitSettings *settings,
                                WebKitHardwareAccelerationPolicy policy);

Types and Values

struct WebKitSettings

struct WebKitSettings;

enum WebKitHardwareAccelerationPolicy

Enum values used for determining the hardware acceleration policy.

Members

WEBKIT_HARDWARE_ACCELERATION_POLICY_ON_DEMAND

Hardware acceleration is enabled/disabled as request by web contents.

 

WEBKIT_HARDWARE_ACCELERATION_POLICY_ALWAYS

Hardware acceleration is always enabled, even for websites not requesting it.

 

WEBKIT_HARDWARE_ACCELERATION_POLICY_NEVER

Hardware acceleration is always disabled, even for websites requesting it.

 

Since: 2.16

Property Details

The “allow-file-access-from-file-urls” property

  “allow-file-access-from-file-urls” gboolean

Whether file access is allowed from file URLs.

Flags: Read / Write / Construct

Default value: FALSE


The “allow-modal-dialogs” property

  “allow-modal-dialogs”      gboolean

Whether it is possible to create modal dialogs.

Flags: Read / Write / Construct

Default value: FALSE


The “allow-universal-access-from-file-urls” property

  “allow-universal-access-from-file-urls” gboolean

Whether or not universal access is allowed from the context of file scheme URLs.

Flags: Read / Write / Construct

Default value: FALSE


The “auto-load-images” property

  “auto-load-images”         gboolean

Load images automatically.

Flags: Read / Write / Construct

Default value: TRUE


The “cursive-font-family” property

  “cursive-font-family”      gchar *

The font family used as the default for content using cursive font.

Flags: Read / Write / Construct

Default value: "serif"


The “default-charset” property

  “default-charset”          gchar *

The default text charset used when interpreting content with unspecified charset.

Flags: Read / Write / Construct

Default value: "iso-8859-1"


The “default-font-family” property

  “default-font-family”      gchar *

The font family to use as the default for content that does not specify a font.

Flags: Read / Write / Construct

Default value: "sans-serif"


The “default-font-size” property

  “default-font-size”        guint

The default font size used to display text.

Flags: Read / Write / Construct

Default value: 16


The “default-monospace-font-size” property

  “default-monospace-font-size” guint

The default font size used to display monospace text.

Flags: Read / Write / Construct

Default value: 13


The “draw-compositing-indicators” property

  “draw-compositing-indicators” gboolean

Whether to draw compositing borders and repaint counters.

Flags: Read / Write / Construct

Default value: FALSE


The “enable-accelerated-2d-canvas” property

  “enable-accelerated-2d-canvas” gboolean

Whether to enable accelerated 2D canvas.

Flags: Read / Write / Construct

Default value: FALSE


The “enable-caret-browsing” property

  “enable-caret-browsing”    gboolean

Whether to enable accessibility enhanced keyboard navigation.

Flags: Read / Write / Construct

Default value: FALSE


The “enable-developer-extras” property

  “enable-developer-extras”  gboolean

Whether to enable developer extras.

Flags: Read / Write / Construct

Default value: FALSE


The “enable-dns-prefetching” property

  “enable-dns-prefetching”   gboolean

Whether to enable DNS prefetching.

Flags: Read / Write / Construct

Default value: FALSE


The “enable-frame-flattening” property

  “enable-frame-flattening”  gboolean

Whether to enable frame flattening.

Flags: Read / Write / Construct

Default value: FALSE


The “enable-fullscreen” property

  “enable-fullscreen”        gboolean

Whether to enable the Javascript Fullscreen API.

Flags: Read / Write / Construct

Default value: TRUE


The “enable-html5-database” property

  “enable-html5-database”    gboolean

Whether to enable HTML5 database support.

Flags: Read / Write / Construct

Default value: TRUE


The “enable-html5-local-storage” property

  “enable-html5-local-storage” gboolean

Whether to enable HTML5 Local Storage support.

Flags: Read / Write / Construct

Default value: TRUE


The “enable-hyperlink-auditing” property

  “enable-hyperlink-auditing” gboolean

Whether <a ping> should be able to send pings.

Flags: Read / Write / Construct

Default value: FALSE


The “enable-java” property

  “enable-java”              gboolean

Whether Java support should be enabled.

Flags: Read / Write / Construct

Default value: TRUE


The “enable-javascript” property

  “enable-javascript”        gboolean

Enable JavaScript.

Flags: Read / Write / Construct

Default value: TRUE


The “enable-media-stream” property

  “enable-media-stream”      gboolean

Whether MediaStream content should be handled.

Flags: Read / Write / Construct

Default value: FALSE


The “enable-mediasource” property

  “enable-mediasource”       gboolean

Whether MediaSource should be enabled.

Flags: Read / Write / Construct

Default value: FALSE


The “enable-offline-web-application-cache” property

  “enable-offline-web-application-cache” gboolean

Whether to enable offline web application cache.

Flags: Read / Write / Construct

Default value: TRUE


The “enable-page-cache” property

  “enable-page-cache”        gboolean

Whether the page cache should be used.

Flags: Read / Write / Construct

Default value: TRUE


The “enable-plugins” property

  “enable-plugins”           gboolean

Enable embedded plugin objects.

Flags: Read / Write / Construct

Default value: TRUE


The “enable-private-browsing” property

  “enable-private-browsing”  gboolean

Whether to enable private browsing.

Flags: Read / Write / Construct

Default value: FALSE


The “enable-resizable-text-areas” property

  “enable-resizable-text-areas” gboolean

Whether to enable resizable text areas.

Flags: Read / Write / Construct

Default value: TRUE


The “enable-site-specific-quirks” property

  “enable-site-specific-quirks” gboolean

Enables the site-specific compatibility workarounds.

Flags: Read / Write / Construct

Default value: TRUE


The “enable-smooth-scrolling” property

  “enable-smooth-scrolling”  gboolean

Whether to enable smooth scrolling.

Flags: Read / Write / Construct

Default value: FALSE


The “enable-spatial-navigation” property

  “enable-spatial-navigation” gboolean

Whether to enable Spatial Navigation support.

Flags: Read / Write / Construct

Default value: FALSE


The “enable-tabs-to-links” property

  “enable-tabs-to-links”     gboolean

Whether to enable tabs to links.

Flags: Read / Write / Construct

Default value: TRUE


The “enable-webaudio” property

  “enable-webaudio”          gboolean

Whether WebAudio content should be handled.

Flags: Read / Write / Construct

Default value: FALSE


The “enable-webgl” property

  “enable-webgl”             gboolean

Whether WebGL content should be rendered.

Flags: Read / Write / Construct

Default value: FALSE


The “enable-write-console-messages-to-stdout” property

  “enable-write-console-messages-to-stdout” gboolean

Whether to write console messages on stdout.

Flags: Read / Write / Construct

Default value: FALSE


The “enable-xss-auditor” property

  “enable-xss-auditor”       gboolean

Whether to enable the XSS auditor.

Flags: Read / Write / Construct

Default value: TRUE


The “fantasy-font-family” property

  “fantasy-font-family”      gchar *

The font family used as the default for content using fantasy font.

Flags: Read / Write / Construct

Default value: "serif"


The “hardware-acceleration-policy” property

  “hardware-acceleration-policy” WebKitHardwareAccelerationPolicy

The policy to decide how to enable and disable hardware acceleration.

Flags: Read / Write / Construct

Default value: WEBKIT_HARDWARE_ACCELERATION_POLICY_ON_DEMAND


The “javascript-can-access-clipboard” property

  “javascript-can-access-clipboard” gboolean

Whether JavaScript can access Clipboard.

Flags: Read / Write / Construct

Default value: FALSE


The “javascript-can-open-windows-automatically” property

  “javascript-can-open-windows-automatically” gboolean

Whether JavaScript can open windows automatically.

Flags: Read / Write / Construct

Default value: FALSE


The “load-icons-ignoring-image-load-setting” property

  “load-icons-ignoring-image-load-setting” gboolean

Whether to load site icons ignoring image load setting.

Flags: Read / Write / Construct

Default value: FALSE


The “media-playback-allows-inline” property

  “media-playback-allows-inline” gboolean

Whether media playback allows inline.

Flags: Read / Write / Construct

Default value: TRUE


The “media-playback-requires-user-gesture” property

  “media-playback-requires-user-gesture” gboolean

Whether media playback requires user gesture.

Flags: Read / Write / Construct

Default value: FALSE


The “minimum-font-size” property

  “minimum-font-size”        guint

The minimum font size used to display text.

Flags: Read / Write / Construct

Default value: 0


The “monospace-font-family” property

  “monospace-font-family”    gchar *

The font family used as the default for content using monospace font.

Flags: Read / Write / Construct

Default value: "monospace"


The “pictograph-font-family” property

  “pictograph-font-family”   gchar *

The font family used as the default for content using pictograph font.

Flags: Read / Write / Construct

Default value: "serif"


The “print-backgrounds” property

  “print-backgrounds”        gboolean

Whether background images should be drawn during printing.

Flags: Read / Write / Construct

Default value: TRUE


The “sans-serif-font-family” property

  “sans-serif-font-family”   gchar *

The font family used as the default for content using sans-serif font.

Flags: Read / Write / Construct

Default value: "sans-serif"


The “serif-font-family” property

  “serif-font-family”        gchar *

The font family used as the default for content using serif font.

Flags: Read / Write / Construct

Default value: "serif"


The “user-agent” property

  “user-agent”               gchar *

The user agent string.

Flags: Read / Write / Construct

Default value: NULL


The “zoom-text-only” property

  “zoom-text-only”           gboolean

Whether zoom level of web view changes only the text size.

Flags: Read / Write / Construct

Default value: FALSE