Whether file access is allowed from file URLs. By default, when something is loaded in a #WebKitWebView using a file URI, cross origin requests to other file resources are not allowed. This setting allows you to change that behaviour, so that it would be possible to do a XMLHttpRequest of a local file, for example.
Determine whether it's allowed to create and run modal dialogs
from a #WebKitWebView through JavaScript with
Whether or not the top frame is allowed to navigate to data URLs. It is disabled by default due to the risk it poses when loading untrusted URLs, with data URLs being used in scamming and phishing attacks. In contrast, a scenario where it could be enabled could be an app that embeds a WebView and you have control of the pages being show instead of a generic browser.
Whether or not JavaScript running in the context of a file scheme URL should be allowed to access content from any origin. By default, when something is loaded in a #WebKitWebView using a file scheme URL, access to the local file system and arbitrary local storage is not allowed. This setting allows you to change that behaviour, so that it would be possible to use local storage, for example.
Determines whether images should be automatically loaded or not. On devices where network bandwidth is of concern, it might be useful to turn this property off.
The font family used as the default for content using a cursive font.
The default text charset used when interpreting content with an unspecified charset.
The font family to use as the default for content that does not specify a font.
The default font size in pixels to use for content displayed if no font size is specified.
The default font size in pixels to use for content displayed in monospace font if no font size is specified.
Whether to draw compositing borders and repaint counters on layers drawn with accelerated compositing. This is useful for debugging issues related to web content that is composited with the GPU.
Enable or disable accelerated 2D canvas. Accelerated 2D canvas is only available if WebKit was compiled with a version of Cairo including the unstable CairoGL API. When accelerated 2D canvas is enabled, WebKit may render some 2D canvas content using hardware accelerated drawing operations.
Enable or disable horizontal swipe gesture for back-forward navigation.
Whether to enable accessibility enhanced keyboard navigation.
Determines whether or not developer tools, such as the Web Inspector, are enabled.
Determines whether or not to prefetch domain names. DNS prefetching attempts to resolve domain names before a user tries to follow a link.
Enable or disable support for Encrypted Media API on pages. EncryptedMedia is an experimental JavaScript API for playing encrypted media in HTML. This property will only work as intended if the EncryptedMedia feature is enabled at build time with the ENABLE_ENCRYPTED_MEDIA flag.
Whether to enable the frame flattening. With this setting each subframe is expanded to its contents, which will flatten all the frames to become one scrollable page. On touch devices scrollable subframes on a page can result in a confusing user experience.
Whether to enable the Javascript Fullscreen API. The API allows any HTML element to request fullscreen display. See also the current draft of the spec: http://www.w3.org/TR/fullscreen/
Whether to enable HTML5 client-side SQL database support (IndexedDB).
Whether to enable HTML5 local storage support. Local storage provides simple synchronous storage access.
HTML5 local storage specification is available at http://dev.w3.org/html5/webstorage/.
Determines whether or not hyperlink auditing is enabled.
The hyperlink auditing specification is available at http://www.whatwg.org/specs/web-apps/current-work/multipage/links.html#hyperlink-auditing.
Determines whether or not Java is enabled on the page.
Determines whether or not JavaScript executes within a page.
Determines whether or not JavaScript markup is allowed in document. When this setting is disabled, all JavaScript-related elements and attributes are removed from the document during parsing. Note that executing JavaScript is still allowed if #WebKitSettings:enable-javascript is %TRUE.
Enable or disable support for media playback on pages. This setting is enabled by
default. Disabling it means <audio>
, <track>
and <video>
elements will have
playback support disabled.
Enable or disable support for MediaCapabilities on pages. This specification intends to provide APIs to allow websites to make an optimal decision when picking media content for the user. The APIs will expose information about the decoding and encoding capabilities for a given format but also output capabilities to find the best match based on the device’s display.
Enable or disable support for MediaStream on pages. MediaStream is an experimental proposal for allowing web pages to access audio and video devices for capture.
Enable or disable support for MediaSource on pages. MediaSource extends HTMLMediaElement to allow JavaScript to generate media streams for playback.
See also http://www.w3.org/TR/media-source/
Enable or disable the Mock Capture Devices. Those are fake Microphone and Camera devices to be used as MediaStream sources.
Whether to enable HTML5 offline web application cache support. Offline web application cache allows web applications to run even when the user is not connected to the network.
HTML5 offline web application specification is available at http://dev.w3.org/html5/spec/offline.html.
Enable or disable the page cache. Disabling the page cache is generally only useful for special circumstances like low-memory scenarios or special purpose applications like static HTML viewers. This setting only controls the Page Cache, this cache is different than the disk-based or memory-based traditional resource caches, its point is to make going back and forth between pages much faster. For details about the different types of caches and their purposes see: http://webkit.org/blog/427/webkit-page-cache-i-the-basics/
Determines whether or not plugins on the page are enabled.
Determines whether or not private browsing is enabled. Private browsing will disable history, cache and form auto-fill for any pages visited.
Determines whether or not text areas can be resized.
Whether to turn on site-specific quirks. Turning this on will tell WebKit to use some site-specific workarounds for better web compatibility. For example, older versions of MediaWiki will incorrectly send to WebKit a CSS file with KHTML workarounds. By turning on site-specific quirks, WebKit will special-case this and other cases to make some specific sites work.
Enable or disable smooth scrolling.
Whether to enable Spatial Navigation. This feature consists in the ability to navigate between focusable elements in a Web page, such as hyperlinks and form controls, by using Left, Right, Up and Down arrow keys. For example, if an user presses the Right key, heuristics determine whether there is an element they might be trying to reach towards the right, and if there are multiple elements, which element they probably wants.
Determines whether the tab key cycles through the elements on the page. When this setting is enabled, users will be able to focus the next element in the page by pressing the tab key. If the selected element is editable, then pressing tab key will insert the tab character.
Enable or disable support for WebAudio on pages. WebAudio is an API for processing and synthesizing audio in web applications
Enable or disable support for WebGL on pages. WebGL enables web content to use an API based on OpenGL ES 2.0.
Enable or disable writing console messages to stdout. These are messages sent to the console with console.log and related methods.
Whether to enable the XSS auditor. This feature filters some kinds of reflective XSS attacks on vulnerable web sites.
The font family used as the default for content using a fantasy font.
The #WebKitHardwareAccelerationPolicy to decide how to enable and disable hardware acceleration. The default value %WEBKIT_HARDWARE_ACCELERATION_POLICY_ON_DEMAND enables the hardware acceleration when the web contents request it. It's possible to enforce hardware acceleration to be always enabled by using %WEBKIT_HARDWARE_ACCELERATION_POLICY_ALWAYS. And it's also possible to disable it completely using %WEBKIT_HARDWARE_ACCELERATION_POLICY_NEVER. Note that disabling hardware acceleration might cause some websites to not render correctly or consume more CPU.
Note that changing this setting might not be possible if hardware acceleration is not supported by the hardware or the system. In that case you can get the value to know the actual policy being used, but changing the setting will not have any effect.
Whether JavaScript can access the clipboard. The default value is %FALSE. If set to %TRUE, document.execCommand() allows cut, copy and paste commands.
Whether JavaScript can open popup windows automatically without user intervention.
Determines whether a site can load favicons irrespective of the value of #WebKitSettings:auto-load-images.
List of media content types requiring hardware support, split by semicolons (:). For example: 'video/webm; codecs="vp*":video/mp4; codecs="avc*":video/* codecs="av1*"'.
Whether media playback is full-screen only or inline playback is allowed. This is %TRUE by default, so media playback can be inline. Setting it to %FALSE allows specifying that media playback should be always fullscreen.
Whether a user gesture (such as clicking the play button) would be required to start media playback or load media. This is off by default, so media playback could start automatically. Setting it on requires a gesture by the user to start playback, or to load the media.
The minimum font size in pixels used to display text. This setting controls the absolute smallest size. Values other than 0 can potentially break page layouts.
The font family used as the default for content using a monospace font.
The font family used as the default for content using a pictograph font.
Whether background images should be drawn during printing.
The font family used as the default for content using a sans-serif font.
The font family used as the default for content using a serif font.
The user-agent string used by WebKit. Unusual user-agent strings may cause web content to render incorrectly or fail to run, as many web pages are written to parse the user-agent strings of only the most popular browsers. Therefore, it's typically better to not completely override the standard user-agent, but to use webkit_settings_set_user_agent_with_application_details() instead.
If this property is set to the empty string or %NULL, it will revert to the standard user-agent.
Whether #WebKitWebView:zoom-level affects only the text of the page or all the contents. Other contents containing text like form controls will be also affected by zoom factor when this property is enabled.
Creates a binding between source_property
on source
and target_property
on target
.
Whenever the source_property
is changed the target_property
is
updated using the same value. For instance:
g_object_bind_property (action, "active", widget, "sensitive", 0);
Will result in the "sensitive" property of the widget #GObject instance to be updated with the same value of the "active" property of the action #GObject instance.
If flags
contains %G_BINDING_BIDIRECTIONAL then the binding will be mutual:
if target_property
on target
changes then the source_property
on source
will be updated as well.
The binding will automatically be removed when either the source
or the
target
instances are finalized. To remove the binding without affecting the
source
and the target
you can just call g_object_unref() on the returned
#GBinding instance.
Removing the binding by calling g_object_unref() on it must only be done if
the binding, source
and target
are only used from a single thread and it
is clear that both source
and target
outlive the binding. Especially it
is not safe to rely on this if the binding, source
or target
can be
finalized from different threads. Keep another reference to the binding and
use g_binding_unbind() instead to be on the safe side.
A #GObject can have multiple bindings.
the property on source
to bind
the target #GObject
the property on target
to bind
flags to pass to #GBinding
Creates a binding between source_property
on source
and target_property
on target,
allowing you to set the transformation functions to be used by
the binding.
This function is the language bindings friendly version of g_object_bind_property_full(), using #GClosures instead of function pointers.
the property on source
to bind
the target #GObject
the property on target
to bind
flags to pass to #GBinding
a #GClosure wrapping the transformation function from the source
to the target,
or %NULL to use the default
a #GClosure wrapping the transformation function from the target
to the source,
or %NULL to use the default
This function is intended for #GObject implementations to re-enforce a [floating][floating-ref] object reference. Doing this is seldom required: all #GInitiallyUnowneds are created with a floating reference which usually just needs to be sunken by calling g_object_ref_sink().
Increases the freeze count on object
. If the freeze count is
non-zero, the emission of "notify" signals on object
is
stopped. The signals are queued until the freeze count is decreased
to zero. Duplicate notifications are squashed so that at most one
#GObject::notify signal is emitted for each property modified while the
object is frozen.
This is necessary for accessors that modify multiple properties to prevent premature notification while the object is still being modified.
Get the #WebKitSettings:allow-file-access-from-file-urls property.
Get the #WebKitSettings:allow-modal-dialogs property.
Get the #WebKitSettings:allow-top-navigation-to-data-urls property.
Get the #WebKitSettings:allow-universal-access-from-file-urls property.
Get the #WebKitSettings:auto-load-images property.
Gets the #WebKitSettings:cursive-font-family property.
Gets a named field from the objects table of associations (see g_object_set_data()).
name of the key for that association
Gets the #WebKitSettings:default-charset property.
Gets the #WebKitSettings:default-font-size property.
Gets the #WebKitSettings:default-monospace-font-size property.
Get the #WebKitSettings:draw-compositing-indicators property.
Get the #WebKitSettings:enable-accelerated-2d-canvas property.
Get the #WebKitSettings:enable-back-forward-navigation-gestures property.
Get the #WebKitSettings:enable-caret-browsing property.
Get the #WebKitSettings:enable-developer-extras property.
Get the #WebKitSettings:enable-dns-prefetching property.
Get the #WebKitSettings:enable-encrypted-media property.
Get the #WebKitSettings:enable-frame-flattening property.
Get the #WebKitSettings:enable-fullscreen property.
Get the #WebKitSettings:enable-html5-database property.
Get the #WebKitSettings:enable-html5-local-storage property.
Get the #WebKitSettings:enable-hyperlink-auditing property.
Get the #WebKitSettings:enable-java property.
Get the #WebKitSettings:enable-javascript property.
Get the #WebKitSettings:enable-javascript-markup property.
Get the #WebKitSettings:enable-media property.
Get the #WebKitSettings:enable-media-capabilities property.
Get the #WebKitSettings:enable-media-stream property.
Get the #WebKitSettings:enable-mediasource property.
Get the #WebKitSettings:enable-mock-capture-devices property.
Get the #WebKitSettings:enable-offline-web-application-cache property.
Get the #WebKitSettings:enable-page-cache property.
Get the #WebKitSettings:enable-plugins property.
Get the #WebKitSettings:enable-private-browsing property.
Get the #WebKitSettings:enable-resizable-text-areas property.
Get the #WebKitSettings:enable-site-specific-quirks property.
Get the #WebKitSettings:enable-smooth-scrolling property.
Get the #WebKitSettings:enable-spatial-navigation property.
Get the #WebKitSettings:enable-tabs-to-links property.
Get the #WebKitSettings:enable-webaudio property.
Get the #WebKitSettings:enable-webgl property.
Get the #WebKitSettings:enable-write-console-messages-to-stdout property.
Get the #WebKitSettings:enable-xss-auditor property.
Gets the #WebKitSettings:fantasy-font-family property.
Get the #WebKitSettings:hardware-acceleration-policy property.
Get the #WebKitSettings:javascript-can-access-clipboard property.
Get the #WebKitSettings:javascript-can-open-windows-automatically property.
Get the #WebKitSettings:load-icons-ignoring-image-load-setting property.
Gets the #WebKitSettings:media-content-types-requiring-hardware-support property.
Get the #WebKitSettings:media-playback-allows-inline property.
Get the #WebKitSettings:media-playback-requires-user-gesture property.
Gets the #WebKitSettings:minimum-font-size property.
Gets the #WebKitSettings:monospace-font-family property.
Gets the #WebKitSettings:pictograph-font-family property.
Get the #WebKitSettings:print-backgrounds property.
Gets a property of an object.
The value
can be:
In general, a copy is made of the property contents and the caller is responsible for freeing the memory by calling g_value_unset().
Note that g_object_get_property() is really intended for language bindings, g_object_get() is much more convenient for C programming.
the name of the property to get
return location for the property value
This function gets back user data pointers stored via g_object_set_qdata().
A #GQuark, naming the user data pointer
Gets the #WebKitSettings:sans-serif-font-family property.
Gets the #WebKitSettings:serif-font-family property.
Get the #WebKitSettings:user-agent property.
Get the #WebKitSettings:zoom-text-only property.
Gets n_properties
properties for an object
.
Obtained properties will be set to values
. All properties must be valid.
Warnings will be emitted and undefined behaviour may result if invalid
properties are passed in.
the names of each property to get
the values of each property to get
Checks whether object
has a [floating][floating-ref] reference.
Emits a "notify" signal for the property property_name
on object
.
When possible, eg. when signaling a property change from within the class that registered the property, you should use g_object_notify_by_pspec() instead.
Note that emission of the notify signal may be blocked with g_object_freeze_notify(). In this case, the signal emissions are queued and will be emitted (in reverse order) when g_object_thaw_notify() is called.
the name of a property installed on the class of object
.
Emits a "notify" signal for the property specified by pspec
on object
.
This function omits the property name lookup, hence it is faster than g_object_notify().
One way to avoid using g_object_notify() from within the class that registered the properties, and using g_object_notify_by_pspec() instead, is to store the GParamSpec used with g_object_class_install_property() inside a static array, e.g.:
enum
{
PROP_0,
PROP_FOO,
PROP_LAST
};
static GParamSpec *properties[PROP_LAST];
static void
my_object_class_init (MyObjectClass *klass)
{
properties[PROP_FOO] = g_param_spec_int ("foo", "Foo", "The foo",
0, 100,
50,
G_PARAM_READWRITE);
g_object_class_install_property (gobject_class,
PROP_FOO,
properties[PROP_FOO]);
}
and then notify a change on the "foo" property with:
g_object_notify_by_pspec (self, properties[PROP_FOO]);
the #GParamSpec of a property installed on the class of object
.
Increase the reference count of object,
and possibly remove the
[floating][floating-ref] reference, if object
has a floating reference.
In other words, if the object is floating, then this call "assumes ownership" of the floating reference, converting it to a normal reference by clearing the floating flag while leaving the reference count unchanged. If the object is not floating, then this call adds a new normal reference increasing the reference count by one.
Since GLib 2.56, the type of object
will be propagated to the return type
under the same conditions as for g_object_ref().
Releases all references to other objects. This can be used to break reference cycles.
This function should only be called from object system implementations.
Set the #WebKitSettings:allow-file-access-from-file-urls property.
Value to be set
Set the #WebKitSettings:allow-modal-dialogs property.
Value to be set
Set the #WebKitSettings:allow-top-navigation-to-data-urls property.
Value to be set
Set the #WebKitSettings:allow-universal-access-from-file-urls property.
Value to be set
Set the #WebKitSettings:auto-load-images property.
Value to be set
Set the #WebKitSettings:cursive-font-family property.
the new default cursive font family
Each object carries around a table of associations from strings to pointers. This function lets you set an association.
If the object already had an association with that name, the old association will be destroyed.
Internally, the key
is converted to a #GQuark using g_quark_from_string().
This means a copy of key
is kept permanently (even after object
has been
finalized) — so it is recommended to only use a small, bounded set of values
for key
in your program, to avoid the #GQuark storage growing unbounded.
name of the key
data to associate with that key
Set the #WebKitSettings:default-charset property.
default charset to be set
Set the #WebKitSettings:default-font-family property.
the new default font family
Set the #WebKitSettings:default-font-size property.
default font size to be set in pixels
Set the #WebKitSettings:default-monospace-font-size property.
default monospace font size to be set in pixels
Set the #WebKitSettings:draw-compositing-indicators property.
Value to be set
Set the #WebKitSettings:enable-accelerated-2d-canvas property.
Value to be set
Set the #WebKitSettings:enable-back-forward-navigation-gestures property.
value to be set
Set the #WebKitSettings:enable-caret-browsing property.
Value to be set
Set the #WebKitSettings:enable-developer-extras property.
Value to be set
Set the #WebKitSettings:enable-dns-prefetching property.
Value to be set
Set the #WebKitSettings:enable-encrypted-media property.
Value to be set
Set the #WebKitSettings:enable-frame-flattening property.
Value to be set
Set the #WebKitSettings:enable-fullscreen property.
Value to be set
Set the #WebKitSettings:enable-html5-database property.
Value to be set
Set the #WebKitSettings:enable-html5-local-storage property.
Value to be set
Set the #WebKitSettings:enable-hyperlink-auditing property.
Value to be set
Set the #WebKitSettings:enable-java property.
Value to be set
Set the #WebKitSettings:enable-javascript property.
Value to be set
Set the #WebKitSettings:enable-javascript-markup property.
Value to be set
Set the #WebKitSettings:enable-media property.
Value to be set
Set the #WebKitSettings:enable-media-capabilities property.
Value to be set
Set the #WebKitSettings:enable-media-stream property.
Value to be set
Set the #WebKitSettings:enable-mediasource property.
Value to be set
Set the #WebKitSettings:enable-mock-capture-devices property.
Value to be set
Set the #WebKitSettings:enable-offline-web-application-cache property.
Value to be set
Set the #WebKitSettings:enable-page-cache property.
Value to be set
Set the #WebKitSettings:enable-plugins property.
Value to be set
Set the #WebKitSettings:enable-private-browsing property.
Value to be set
Set the #WebKitSettings:enable-resizable-text-areas property.
Value to be set
Set the #WebKitSettings:enable-site-specific-quirks property.
Value to be set
Set the #WebKitSettings:enable-smooth-scrolling property.
Value to be set
Set the #WebKitSettings:enable-spatial-navigation property.
Value to be set
Set the #WebKitSettings:enable-tabs-to-links property.
Value to be set
Set the #WebKitSettings:enable-webaudio property.
Value to be set
Set the #WebKitSettings:enable-webgl property.
Value to be set
Set the #WebKitSettings:enable-write-console-messages-to-stdout property.
Value to be set
Set the #WebKitSettings:enable-xss-auditor property.
Value to be set
Set the #WebKitSettings:fantasy-font-family property.
the new default fantasy font family
Set the #WebKitSettings:hardware-acceleration-policy property.
a #WebKitHardwareAccelerationPolicy
Set the #WebKitSettings:javascript-can-access-clipboard property.
Value to be set
Set the #WebKitSettings:javascript-can-open-windows-automatically property.
Value to be set
Set the #WebKitSettings:load-icons-ignoring-image-load-setting property.
Value to be set
Set the #WebKitSettings:media-content-types-requiring-hardware-support property.
list of media content types requiring hardware support split by semicolons (:) or %NULL to use the default value.
Set the #WebKitSettings:media-playback-allows-inline property.
Value to be set
Set the #WebKitSettings:media-playback-requires-user-gesture property.
Value to be set
Set the #WebKitSettings:minimum-font-size property.
minimum font size to be set in pixels
Set the #WebKitSettings:monospace-font-family property.
the new default monospace font family
Set the #WebKitSettings:pictograph-font-family property.
the new default pictograph font family
Set the #WebKitSettings:print-backgrounds property.
Value to be set
Sets a property on an object.
the name of the property to set
the value
Set the #WebKitSettings:sans-serif-font-family property.
the new default sans-serif font family
Set the #WebKitSettings:serif-font-family property.
the new default serif font family
Set the #WebKitSettings:user-agent property.
The new custom user agent string or %NULL to use the default user agent
Set the #WebKitSettings: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.
The application name used for the user agent or %NULL to use the default user agent.
The application version for the user agent or %NULL to user the default version.
Set the #WebKitSettings:zoom-text-only property.
Value to be set
Remove a specified datum from the object's data associations, without invoking the association's destroy handler.
name of the key
This function gets back user data pointers stored via
g_object_set_qdata() and removes the data
from object
without invoking its destroy() function (if any was
set).
Usually, calling this function is only required to update
user data pointers with a destroy notifier, for example:
void
object_add_to_user_list (GObject *object,
const gchar *new_string)
{
// the quark, naming the object data
GQuark quark_string_list = g_quark_from_static_string ("my-string-list");
// retrieve the old string list
GList *list = g_object_steal_qdata (object, quark_string_list);
// prepend new string
list = g_list_prepend (list, g_strdup (new_string));
// this changed 'list', so we need to set it again
g_object_set_qdata_full (object, quark_string_list, list, free_string_list);
}
static void
free_string_list (gpointer data)
{
GList *node, *list = data;
for (node = list; node; node = node->next)
g_free (node->data);
g_list_free (list);
}
Using g_object_get_qdata() in the above example, instead of g_object_steal_qdata() would have left the destroy function set, and thus the partial string list would have been freed upon g_object_set_qdata_full().
A #GQuark, naming the user data pointer
Reverts the effect of a previous call to
g_object_freeze_notify(). The freeze count is decreased on object
and when it reaches zero, queued "notify" signals are emitted.
Duplicate notifications for each property are squashed so that at most one #GObject::notify signal is emitted for each property, in the reverse order in which they have been queued.
It is an error to call this function when the freeze count is zero.
Decreases the reference count of object
. When its reference count
drops to 0, the object is finalized (i.e. its memory is freed).
If the pointer to the #GObject may be reused in future (for example, if it is an instance variable of another object), it is recommended to clear the pointer to %NULL rather than retain a dangling pointer to a potentially invalid #GObject instance. Use g_clear_object() for this.
This function essentially limits the life time of the closure
to
the life time of the object. That is, when the object is finalized,
the closure
is invalidated by calling g_closure_invalidate() on
it, in order to prevent invocations of the closure with a finalized
(nonexisting) object. Also, g_object_ref() and g_object_unref() are
added as marshal guards to the closure,
to ensure that an extra
reference count is held on object
during invocation of the
closure
. Usually, this function will be called on closures that
use this object
as closure data.
#GClosure to watch
Convert points
to the equivalent value in pixels, based on the current
screen DPI. Applications can use this function to convert font size values
in points to font size values in pixels when setting the font size properties
of #WebKitSettings.
the font size in points to convert to pixels
Convert pixels
to the equivalent value in points, based on the current
screen DPI. Applications can use this function to convert font size values
in pixels to font size values in points when getting the font size properties
of #WebKitSettings.
the font size in pixels to convert to points
Find the #GParamSpec with the given name for an
interface. Generally, the interface vtable passed in as g_iface
will be the default vtable from g_type_default_interface_ref(), or,
if you know the interface has already been loaded,
g_type_default_interface_peek().
any interface vtable for the interface, or the default vtable for the interface
name of a property to look up.
Add a property to an interface; this is only useful for interfaces that are added to GObject-derived types. Adding a property to an interface forces all objects classes with that interface to have a compatible property. The compatible property could be a newly created #GParamSpec, but normally g_object_class_override_property() will be used so that the object class only needs to provide an implementation and inherits the property description, default value, bounds, and so forth from the interface property.
This function is meant to be called from the interface's default
vtable initialization function (the class_init
member of
#GTypeInfo.) It must not be called after after class_init
has
been called for any object types implementing this interface.
If pspec
is a floating reference, it will be consumed.
any interface vtable for the interface, or the default vtable for the interface.
the #GParamSpec for the new property
Lists the properties of an interface.Generally, the interface
vtable passed in as g_iface
will be the default vtable from
g_type_default_interface_ref(), or, if you know the interface has
already been loaded, g_type_default_interface_peek().
any interface vtable for the interface, or the default vtable for the interface
Creates a new instance of a #GObject subtype and sets its properties.
Construction parameters (see %G_PARAM_CONSTRUCT, %G_PARAM_CONSTRUCT_ONLY) which are not explicitly specified are set to their default values.
the type id of the #GObject subtype to instantiate
an array of #GParameter
Creates a new #WebKitSettings instance with default values. It must be manually attached to a #WebKitWebView. See also webkit_settings_new_with_settings().