GObject.Object
WebKit.ViewportAttributes
Import line: | WebKit = imports.gi.WebKit; |
GIR File: | WebKit-3.0.gir |
C documentation: | WebKitViewportAttributes |
Class : | ViewportAttributes |
Extends: | GObject.Object |
Properties | Defined By | |
---|---|---|
available_height : gint32
|
WebKit.ViewportAttributes | |
available_width : gint32
|
WebKit.ViewportAttributes | |
desktop_width : gint32
|
WebKit.ViewportAttributes | |
device_dpi : gint32
|
WebKit.ViewportAttributes | |
device_height : gint32
|
WebKit.ViewportAttributes | |
device_pixel_ratio : gfloat
read only
|
WebKit.ViewportAttributes | |
device_width : gint32
|
WebKit.ViewportAttributes | |
height : gint32
read only
|
WebKit.ViewportAttributes | |
initial_scale_factor : gfloat
read only
|
WebKit.ViewportAttributes | |
maximum_scale_factor : gfloat
read only
|
WebKit.ViewportAttributes | |
minimum_scale_factor : gfloat
read only
|
WebKit.ViewportAttributes | |
parent_instance : GObject.Object
read only
|
WebKit.ViewportAttributes | |
priv : WebKit.ViewportAttributesPrivate
read only
|
WebKit.ViewportAttributes | |
user_scalable : gboolean
read only
|
WebKit.ViewportAttributes | |
valid : gboolean
read only
|
WebKit.ViewportAttributes | |
width : gint32
read only
|
WebKit.ViewportAttributes |
Method / Constructor | Defined By | |
---|---|---|
new WebKit.ViewportAttributes
(Object properties)
Create a new WebKit.ViewportAttributes
Create a new WebKit.ViewportAttributes
|
||
recompute
()
:
none
Recompute the optimal viewport attributes and emit the viewport-attribute-changed signal.
Recompute the optimal viewport attributes and emit the viewport-attribute-changed signal.
The viewport-attributes-recompute-requested signal also will be handled to override the device size, available size, desktop width, or device DPI.
|
WebKit.ViewportAttributes |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
WebKit.WebView
Property |
viewport_attributes : WebKit.ViewportAttributes
read only
The associated WebKitViewportAttributes instance.
|
WebKit.WebView
Signal |
viewport_attributes_changed
(WebView self, ViewportAttributes object)
:
none
|
WebKit.WebView
Signal |
viewport_attributes_recompute_requested
(WebView self, ViewportAttributes object)
:
none
|
WebKit.WebView
Method |
get_viewport_attributes
()
:
WebKit.ViewportAttributes
Obtains the WebKitViewportAttributes associated with the
WebKitWebView. |