webkit-0.11.1: Binding to the Webkit library.

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

Graphics.UI.Gtk.WebKit.WebNavigationAction

Contents

Description

Access to the WebKit NavigationAction

Synopsis

Types

Enums

Methods

webNavigationActionGetButton :: WebNavigationActionClass self => self -> IO IntSource

Returns the DOM identifier for the mouse button used to click. DOM button values are 0, 1 and 2 for left, middle and right buttons. If the action was not initiated by a mouse click, returns -1.

webNavigationActionGetModifierState :: WebNavigationActionClass self => self -> IO IntSource

Returns a bitmask with the the state of the modifier keys.

webNavigationActionGetOriginalUri :: WebNavigationActionClass self => self -> IO StringSource

Returns the URI that was originally requested. This may differ from the navigation target, for instance because of a redirect.

webNavigationActionSetOriginalUri :: WebNavigationActionClass self => self -> String -> IO ()Source

Sets the URI that was originally requested. This may differ from the navigation target, for instance because of a redirect.

webNavigationActionGetReason :: WebNavigationActionClass self => self -> IO NavigationReasonSource

Returns the reason why WebKit is requesting a navigation.

webNavigationActionSetReason :: WebNavigationActionClass self => self -> NavigationReason -> IO ()Source

Sets the reason why WebKit is requesting a navigation.

webNavigationActionGetTargetFrame :: WebNavigationActionClass self => self -> IO StringSource

Returns the target frame of the action.