webkit-0.12.3: Binding to the Webkit library.

Portabilityportable (depends on GHC)
Stabilityprovisional
Maintainergtk2hs-users@lists.sourceforge.net

Graphics.UI.Gtk.WebKit.WebWindowFeatures

Contents

Description

Access to the WebKit Web WindowFeatures

Synopsis

Description

The content of a WebKitWebView can request to change certain properties of a WebKitWebView. 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, the request to show the WebKitWebView fullscreen.

In the normal case one will use webViewGetWindowFeatures to get the WebKitWebWindowFeatures and then monitor the property changes. Be aware that the WebKitWebWindowFeatures might change change before webViewReady signal is emitted. To be safe listen to the windowFeatures signal of the WebKitWebView and reconnect the signals whenever the WebKitWebWindowFeatures of a WebKitWebView changes.

Types

Constructors

webWindowFeaturesNew :: IO WebWindowFeaturesSource

Creates a new WebWindowFeatures instance with default values. It must be manually attached to a WebView.

Methods

webWindowFeaturesEqual :: (WebWindowFeaturesClass winA, WebWindowFeaturesClass winB) => winA -> winB -> IO BoolSource

Decides if a WebWindowFeatures instance equals another, as in has the same values.

Attributes

webWindowFeaturesFullscreen :: WebWindowFeaturesClass self => Attr self BoolSource

Controls whether window will be displayed fullscreen.

webWindowFeaturesHeight :: WebWindowFeaturesClass self => Attr self IntSource

The height of the window on the screen.

webWindowFeaturesWidth :: WebWindowFeaturesClass self => Attr self IntSource

The width of the window on the screen.

webWindowFeaturesX :: WebWindowFeaturesClass self => Attr self IntSource

The starting x position of the window on the screen.

webWindowFeaturesY :: WebWindowFeaturesClass self => Attr self IntSource

The starting y position of the window on the screen.

webWindowFeaturesLocationbarVisible :: WebWindowFeaturesClass self => Attr self BoolSource

Controls whether the locationbar should be visible for the window.

webWindowFeaturesMenubarVisible :: WebWindowFeaturesClass self => Attr self BoolSource

Controls whether the menubar should be visible for the window.

webWindowFeaturesScrollbarVisible :: WebWindowFeaturesClass self => Attr self BoolSource

Controls whether the scrollbar should be visible for the window.

webWindowFeaturesStatusbarVisible :: WebWindowFeaturesClass self => Attr self BoolSource

Controls whether the statusbar should be visible for the window.

webWindowFeaturesToolbarVisible :: WebWindowFeaturesClass self => Attr self BoolSource

Controls whether the toolbar should be visible for the window.