Top |
WebKitSettings * webkit_settings_new_with_settings (const gchar *first_setting_name
,...
);
gboolean
webkit_settings_get_auto_load_images (WebKitSettings *settings
);
void webkit_settings_set_auto_load_images (WebKitSettings *settings
,gboolean enabled
);
gboolean
webkit_settings_get_enable_frame_flattening
(WebKitSettings *settings
);
void webkit_settings_set_enable_frame_flattening (WebKitSettings *settings
,gboolean enabled
);
gboolean
webkit_settings_get_enable_html5_database
(WebKitSettings *settings
);
void webkit_settings_set_enable_html5_database (WebKitSettings *settings
,gboolean enabled
);
gboolean
webkit_settings_get_enable_html5_local_storage
(WebKitSettings *settings
);
void webkit_settings_set_enable_html5_local_storage (WebKitSettings *settings
,gboolean enabled
);
gboolean
webkit_settings_get_enable_hyperlink_auditing
(WebKitSettings *settings
);
void webkit_settings_set_enable_hyperlink_auditing (WebKitSettings *settings
,gboolean enabled
);
gboolean
webkit_settings_get_enable_java (WebKitSettings *settings
);
void webkit_settings_set_enable_java (WebKitSettings *settings
,gboolean enabled
);
gboolean
webkit_settings_get_enable_javascript (WebKitSettings *settings
);
void webkit_settings_set_enable_javascript (WebKitSettings *settings
,gboolean enabled
);
gboolean
webkit_settings_get_enable_offline_web_application_cache
(WebKitSettings *settings
);
void webkit_settings_set_enable_offline_web_application_cache (WebKitSettings *settings
,gboolean enabled
);
gboolean
webkit_settings_get_enable_plugins (WebKitSettings *settings
);
void webkit_settings_set_enable_plugins (WebKitSettings *settings
,gboolean enabled
);
gboolean
webkit_settings_get_enable_xss_auditor
(WebKitSettings *settings
);
void webkit_settings_set_enable_xss_auditor (WebKitSettings *settings
,gboolean enabled
);
gboolean
webkit_settings_get_javascript_can_open_windows_automatically
(WebKitSettings *settings
);
void webkit_settings_set_javascript_can_open_windows_automatically (WebKitSettings *settings
,gboolean enabled
);
gboolean
webkit_settings_get_load_icons_ignoring_image_load_setting
(WebKitSettings *settings
);
void webkit_settings_set_load_icons_ignoring_image_load_setting (WebKitSettings *settings
,gboolean enabled
);
const gchar *
webkit_settings_get_default_font_family
(WebKitSettings *settings
);
void webkit_settings_set_default_font_family (WebKitSettings *settings
,const gchar *default_font_family
);
const gchar *
webkit_settings_get_monospace_font_family
(WebKitSettings *settings
);
void webkit_settings_set_monospace_font_family (WebKitSettings *settings
,const gchar *monospace_font_family
);
const gchar *
webkit_settings_get_serif_font_family (WebKitSettings *settings
);
void webkit_settings_set_serif_font_family (WebKitSettings *settings
,const gchar *serif_font_family
);
const gchar *
webkit_settings_get_sans_serif_font_family
(WebKitSettings *settings
);
void webkit_settings_set_sans_serif_font_family (WebKitSettings *settings
,const gchar *sans_serif_font_family
);
const gchar *
webkit_settings_get_cursive_font_family
(WebKitSettings *settings
);
void webkit_settings_set_cursive_font_family (WebKitSettings *settings
,const gchar *cursive_font_family
);
const gchar *
webkit_settings_get_fantasy_font_family
(WebKitSettings *settings
);
void webkit_settings_set_fantasy_font_family (WebKitSettings *settings
,const gchar *fantasy_font_family
);
const gchar *
webkit_settings_get_pictograph_font_family
(WebKitSettings *settings
);
void webkit_settings_set_pictograph_font_family (WebKitSettings *settings
,const gchar *pictograph_font_family
);
guint32
webkit_settings_get_default_font_size (WebKitSettings *settings
);
void webkit_settings_set_default_font_size (WebKitSettings *settings
,guint32 font_size
);
guint32
webkit_settings_get_default_monospace_font_size
(WebKitSettings *settings
);
void webkit_settings_set_default_monospace_font_size (WebKitSettings *settings
,guint32 font_size
);
guint32
webkit_settings_get_minimum_font_size (WebKitSettings *settings
);
void webkit_settings_set_minimum_font_size (WebKitSettings *settings
,guint32 font_size
);
const gchar *
webkit_settings_get_default_charset (WebKitSettings *settings
);
void webkit_settings_set_default_charset (WebKitSettings *settings
,const gchar *default_charset
);
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.
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.
gboolean
webkit_settings_get_enable_developer_extras
(WebKitSettings *settings
);
void webkit_settings_set_enable_developer_extras (WebKitSettings *settings
,gboolean enabled
);
gboolean
webkit_settings_get_enable_resizable_text_areas
(WebKitSettings *settings
);
void webkit_settings_set_enable_resizable_text_areas (WebKitSettings *settings
,gboolean enabled
);
gboolean
webkit_settings_get_enable_tabs_to_links
(WebKitSettings *settings
);
void webkit_settings_set_enable_tabs_to_links (WebKitSettings *settings
,gboolean enabled
);
gboolean
webkit_settings_get_enable_dns_prefetching
(WebKitSettings *settings
);
void webkit_settings_set_enable_dns_prefetching (WebKitSettings *settings
,gboolean enabled
);
gboolean
webkit_settings_get_enable_caret_browsing
(WebKitSettings *settings
);
void webkit_settings_set_enable_caret_browsing (WebKitSettings *settings
,gboolean enabled
);
gboolean
webkit_settings_get_enable_fullscreen (WebKitSettings *settings
);
void webkit_settings_set_enable_fullscreen (WebKitSettings *settings
,gboolean enabled
);
gboolean
webkit_settings_get_print_backgrounds (WebKitSettings *settings
);
void webkit_settings_set_print_backgrounds (WebKitSettings *settings
,gboolean print_backgrounds
);
gboolean
webkit_settings_get_enable_webaudio (WebKitSettings *settings
);
void webkit_settings_set_enable_webaudio (WebKitSettings *settings
,gboolean enabled
);
gboolean
webkit_settings_get_enable_webgl (WebKitSettings *settings
);
void webkit_settings_set_enable_webgl (WebKitSettings *settings
,gboolean enabled
);
void webkit_settings_set_allow_modal_dialogs (WebKitSettings *settings
,gboolean allowed
);
gboolean
webkit_settings_get_allow_modal_dialogs
(WebKitSettings *settings
);
gboolean
webkit_settings_get_zoom_text_only (WebKitSettings *settings
);
void webkit_settings_set_zoom_text_only (WebKitSettings *settings
,gboolean zoom_text_only
);
gboolean
webkit_settings_get_javascript_can_access_clipboard
(WebKitSettings *settings
);
void webkit_settings_set_javascript_can_access_clipboard (WebKitSettings *settings
,gboolean enabled
);
gboolean
webkit_settings_get_media_playback_requires_user_gesture
(WebKitSettings *settings
);
void webkit_settings_set_media_playback_requires_user_gesture (WebKitSettings *settings
,gboolean enabled
);
gboolean
webkit_settings_get_media_playback_allows_inline
(WebKitSettings *settings
);
void webkit_settings_set_media_playback_allows_inline (WebKitSettings *settings
,gboolean enabled
);
gboolean
webkit_settings_get_draw_compositing_indicators
(WebKitSettings *settings
);
void webkit_settings_set_draw_compositing_indicators (WebKitSettings *settings
,gboolean enabled
);
gboolean
webkit_settings_get_enable_site_specific_quirks
(WebKitSettings *settings
);
void webkit_settings_set_enable_site_specific_quirks (WebKitSettings *settings
,gboolean enabled
);
gboolean
webkit_settings_get_enable_page_cache (WebKitSettings *settings
);
void webkit_settings_set_enable_page_cache (WebKitSettings *settings
,gboolean enabled
);
const gchar *
webkit_settings_get_user_agent (WebKitSettings *settings
);
void webkit_settings_set_user_agent (WebKitSettings *settings
,const gchar *user_agent
);
void webkit_settings_set_user_agent_with_application_details (WebKitSettings *settings
,const gchar *application_name
,const gchar *application_version
);
gboolean
webkit_settings_get_enable_smooth_scrolling
(WebKitSettings *settings
);
void webkit_settings_set_enable_smooth_scrolling (WebKitSettings *settings
,gboolean enabled
);
gboolean
webkit_settings_get_enable_accelerated_2d_canvas
(WebKitSettings *settings
);
void webkit_settings_set_enable_accelerated_2d_canvas (WebKitSettings *settings
,gboolean enabled
);
gboolean
webkit_settings_get_enable_write_console_messages_to_stdout
(WebKitSettings *settings
);
void webkit_settings_set_enable_write_console_messages_to_stdout (WebKitSettings *settings
,gboolean enabled
);
gboolean
webkit_settings_get_enable_media_stream
(WebKitSettings *settings
);
void webkit_settings_set_enable_media_stream (WebKitSettings *settings
,gboolean enabled
);
gboolean
webkit_settings_get_enable_spatial_navigation
(WebKitSettings *settings
);
void webkit_settings_set_enable_spatial_navigation (WebKitSettings *settings
,gboolean enabled
);
gboolean
webkit_settings_get_enable_mediasource
(WebKitSettings *settings
);
void webkit_settings_set_enable_mediasource (WebKitSettings *settings
,gboolean enabled
);
gboolean
webkit_settings_get_allow_file_access_from_file_urls
(WebKitSettings *settings
);
void webkit_settings_set_allow_file_access_from_file_urls (WebKitSettings *settings
,gboolean allowed
);
gboolean
webkit_settings_get_allow_universal_access_from_file_urls
(WebKitSettings *settings
);
void webkit_settings_set_allow_universal_access_from_file_urls (WebKitSettings *settings
,gboolean allowed
);
WebKitHardwareAccelerationPolicy
webkit_settings_get_hardware_acceleration_policy
(WebKitSettings *settings
);
void webkit_settings_set_hardware_acceleration_policy (WebKitSettings *settings
,WebKitHardwareAccelerationPolicy policy
);
Enum values used for determining the hardware acceleration policy.
Hardware acceleration is enabled/disabled as request by web contents. |
||
Hardware acceleration is always enabled, even for websites not requesting it. |
||
Hardware acceleration is always disabled, even for websites requesting it. |
Since: 2.16
“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
“allow-modal-dialogs”
property“allow-modal-dialogs” gboolean
Whether it is possible to create modal dialogs.
Flags: Read / Write / Construct
Default value: FALSE
“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
“auto-load-images”
property“auto-load-images” gboolean
Load images automatically.
Flags: Read / Write / Construct
Default value: TRUE
“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"
“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"
“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"
“default-font-size”
property“default-font-size” guint
The default font size used to display text.
Flags: Read / Write / Construct
Default value: 16
“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
“draw-compositing-indicators”
property“draw-compositing-indicators” gboolean
Whether to draw compositing borders and repaint counters.
Flags: Read / Write / Construct
Default value: FALSE
“enable-accelerated-2d-canvas”
property“enable-accelerated-2d-canvas” gboolean
Whether to enable accelerated 2D canvas.
Flags: Read / Write / Construct
Default value: FALSE
“enable-caret-browsing”
property“enable-caret-browsing” gboolean
Whether to enable accessibility enhanced keyboard navigation.
Flags: Read / Write / Construct
Default value: FALSE
“enable-developer-extras”
property“enable-developer-extras” gboolean
Whether to enable developer extras.
Flags: Read / Write / Construct
Default value: FALSE
“enable-dns-prefetching”
property“enable-dns-prefetching” gboolean
Whether to enable DNS prefetching.
Flags: Read / Write / Construct
Default value: FALSE
“enable-frame-flattening”
property“enable-frame-flattening” gboolean
Whether to enable frame flattening.
Flags: Read / Write / Construct
Default value: FALSE
“enable-fullscreen”
property“enable-fullscreen” gboolean
Whether to enable the Javascript Fullscreen API.
Flags: Read / Write / Construct
Default value: TRUE
“enable-html5-database”
property“enable-html5-database” gboolean
Whether to enable HTML5 database support.
Flags: Read / Write / Construct
Default value: TRUE
“enable-html5-local-storage”
property“enable-html5-local-storage” gboolean
Whether to enable HTML5 Local Storage support.
Flags: Read / Write / Construct
Default value: TRUE
“enable-hyperlink-auditing”
property“enable-hyperlink-auditing” gboolean
Whether <a ping> should be able to send pings.
Flags: Read / Write / Construct
Default value: FALSE
“enable-java”
property“enable-java” gboolean
Whether Java support should be enabled.
Flags: Read / Write / Construct
Default value: TRUE
“enable-javascript”
property“enable-javascript” gboolean
Enable JavaScript.
Flags: Read / Write / Construct
Default value: TRUE
“enable-media-stream”
property“enable-media-stream” gboolean
Whether MediaStream content should be handled.
Flags: Read / Write / Construct
Default value: FALSE
“enable-mediasource”
property“enable-mediasource” gboolean
Whether MediaSource should be enabled.
Flags: Read / Write / Construct
Default value: FALSE
“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
“enable-page-cache”
property“enable-page-cache” gboolean
Whether the page cache should be used.
Flags: Read / Write / Construct
Default value: TRUE
“enable-plugins”
property“enable-plugins” gboolean
Enable embedded plugin objects.
Flags: Read / Write / Construct
Default value: TRUE
“enable-private-browsing”
property“enable-private-browsing” gboolean
Whether to enable private browsing.
Flags: Read / Write / Construct
Default value: FALSE
“enable-resizable-text-areas”
property“enable-resizable-text-areas” gboolean
Whether to enable resizable text areas.
Flags: Read / Write / Construct
Default value: TRUE
“enable-site-specific-quirks”
property“enable-site-specific-quirks” gboolean
Enables the site-specific compatibility workarounds.
Flags: Read / Write / Construct
Default value: TRUE
“enable-smooth-scrolling”
property“enable-smooth-scrolling” gboolean
Whether to enable smooth scrolling.
Flags: Read / Write / Construct
Default value: FALSE
“enable-spatial-navigation”
property“enable-spatial-navigation” gboolean
Whether to enable Spatial Navigation support.
Flags: Read / Write / Construct
Default value: FALSE
“enable-tabs-to-links”
property“enable-tabs-to-links” gboolean
Whether to enable tabs to links.
Flags: Read / Write / Construct
Default value: TRUE
“enable-webaudio”
property“enable-webaudio” gboolean
Whether WebAudio content should be handled.
Flags: Read / Write / Construct
Default value: FALSE
“enable-webgl”
property“enable-webgl” gboolean
Whether WebGL content should be rendered.
Flags: Read / Write / Construct
Default value: FALSE
“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
“enable-xss-auditor”
property“enable-xss-auditor” gboolean
Whether to enable the XSS auditor.
Flags: Read / Write / Construct
Default value: TRUE
“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"
“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
“javascript-can-access-clipboard”
property“javascript-can-access-clipboard” gboolean
Whether JavaScript can access Clipboard.
Flags: Read / Write / Construct
Default value: FALSE
“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
“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
“media-playback-allows-inline”
property“media-playback-allows-inline” gboolean
Whether media playback allows inline.
Flags: Read / Write / Construct
Default value: TRUE
“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
“minimum-font-size”
property“minimum-font-size” guint
The minimum font size used to display text.
Flags: Read / Write / Construct
Default value: 0
“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"
“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"
“print-backgrounds”
property“print-backgrounds” gboolean
Whether background images should be drawn during printing.
Flags: Read / Write / Construct
Default value: TRUE
“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"
“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"
“user-agent”
property“user-agent” gchar *
The user agent string.
Flags: Read / Write / Construct
Default value: NULL
“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