Top |
WebKitWindowPropertiesWebKitWindowProperties — Window properties of a WebKitWebView |
gboolean | fullscreen | Read / Write / Construct Only |
GdkRectangle * | geometry | Read / Write / Construct Only |
gboolean | locationbar-visible | Read / Write / Construct Only |
gboolean | menubar-visible | Read / Write / Construct Only |
gboolean | resizable | Read / Write / Construct Only |
gboolean | scrollbars-visible | Read / Write / Construct Only |
gboolean | statusbar-visible | Read / Write / Construct Only |
gboolean | toolbar-visible | Read / Write / Construct Only |
The content of a WebKitWebView can request to change certain properties of the window containing the view. This can include the x, y position of the window, the width and height but also if a toolbar, scrollbar, statusbar, locationbar should be visible to the user, and the request to show the WebKitWebView fullscreen.
The “ready-to-show” signal handler is the proper place to apply the initial window properties. Then you can monitor the WebKitWindowProperties by connecting to ::notify signal.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 |
|
void webkit_window_properties_get_geometry (WebKitWindowProperties *window_properties
,GdkRectangle *geometry
);
Get the geometry the window should have on the screen when shown.
gboolean
webkit_window_properties_get_toolbar_visible
(WebKitWindowProperties *window_properties
);
Get whether the window should have the toolbar visible or not.
gboolean
webkit_window_properties_get_statusbar_visible
(WebKitWindowProperties *window_properties
);
Get whether the window should have the statusbar visible or not.
gboolean
webkit_window_properties_get_scrollbars_visible
(WebKitWindowProperties *window_properties
);
Get whether the window should have the scrollbars visible or not.
gboolean
webkit_window_properties_get_menubar_visible
(WebKitWindowProperties *window_properties
);
Get whether the window should have the menubar visible or not.
gboolean
webkit_window_properties_get_locationbar_visible
(WebKitWindowProperties *window_properties
);
Get whether the window should have the locationbar visible or not.
gboolean
webkit_window_properties_get_resizable
(WebKitWindowProperties *window_properties
);
Get whether the window should be resizable by the user or not.
gboolean
webkit_window_properties_get_fullscreen
(WebKitWindowProperties *window_properties
);
Get whether the window should be shown in fullscreen state or not.
“fullscreen”
property“fullscreen” gboolean
Whether window will be displayed fullscreen.
Flags: Read / Write / Construct Only
Default value: FALSE
“geometry”
property“geometry” GdkRectangle *
The size and position of the window on the screen.
Flags: Read / Write / Construct Only
“locationbar-visible”
property“locationbar-visible” gboolean
Whether the locationbar should be visible for the window.
Flags: Read / Write / Construct Only
Default value: TRUE
“menubar-visible”
property“menubar-visible” gboolean
Whether the menubar should be visible for the window.
Flags: Read / Write / Construct Only
Default value: TRUE
“resizable”
property“resizable” gboolean
Whether the window can be resized.
Flags: Read / Write / Construct Only
Default value: TRUE
“scrollbars-visible”
property“scrollbars-visible” gboolean
Whether the scrollbars should be visible for the window.
Flags: Read / Write / Construct Only
Default value: TRUE
“statusbar-visible”
property“statusbar-visible” gboolean
Whether the statusbar should be visible for the window.
Flags: Read / Write / Construct Only
Default value: TRUE
“toolbar-visible”
property“toolbar-visible” gboolean
Whether the toolbar should be visible for the window.
Flags: Read / Write / Construct Only
Default value: TRUE