webkit-0.13.0.0: Binding to the Webkit library.

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

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 WebWindowFeatures Source

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 Bool Source

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

Attributes

webWindowFeaturesFullscreen :: WebWindowFeaturesClass self => Attr self Bool Source

Controls whether window will be displayed fullscreen.

webWindowFeaturesHeight :: WebWindowFeaturesClass self => Attr self Int Source

The height of the window on the screen.

webWindowFeaturesWidth :: WebWindowFeaturesClass self => Attr self Int Source

The width of the window on the screen.

webWindowFeaturesX :: WebWindowFeaturesClass self => Attr self Int Source

The starting x position of the window on the screen.

webWindowFeaturesY :: WebWindowFeaturesClass self => Attr self Int Source

The starting y position of the window on the screen.

webWindowFeaturesLocationbarVisible :: WebWindowFeaturesClass self => Attr self Bool Source

Controls whether the locationbar should be visible for the window.

webWindowFeaturesMenubarVisible :: WebWindowFeaturesClass self => Attr self Bool Source

Controls whether the menubar should be visible for the window.

webWindowFeaturesScrollbarVisible :: WebWindowFeaturesClass self => Attr self Bool Source

Controls whether the scrollbar should be visible for the window.

webWindowFeaturesStatusbarVisible :: WebWindowFeaturesClass self => Attr self Bool Source

Controls whether the statusbar should be visible for the window.

webWindowFeaturesToolbarVisible :: WebWindowFeaturesClass self => Attr self Bool Source

Controls whether the toolbar should be visible for the window.