gi-webkit2-4.0.28: WebKit2 bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.WebKit2.Structs.NavigationAction

Description

No description available in the introspection data.

Synopsis

Exported types

Methods

Click to display all available methods, including inherited ones

Expand

Methods

copy, free, isRedirect, isUserGesture.

Getters

getModifiers, getMouseButton, getNavigationType, getRequest.

Setters

None.

copy

navigationActionCopy Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> NavigationAction

navigation: a NavigationAction

-> m NavigationAction

Returns: A copy of passed in NavigationAction

Make a copy of navigation.

Since: 2.6

free

navigationActionFree Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> NavigationAction

navigation: a NavigationAction

-> m () 

Free the NavigationAction

Since: 2.6

getModifiers

navigationActionGetModifiers Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> NavigationAction

navigation: a NavigationAction

-> m Word32

Returns: the modifier keys

Return a bitmask of ModifierType values describing the modifier keys that were in effect when the navigation was requested

Since: 2.6

getMouseButton

navigationActionGetMouseButton Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> NavigationAction

navigation: a NavigationAction

-> m Word32

Returns: the mouse button number or 0

Return the number of the mouse button that triggered the navigation, or 0 if the navigation was not started by a mouse event.

Since: 2.6

getNavigationType

navigationActionGetNavigationType Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> NavigationAction

navigation: a NavigationAction

-> m NavigationType

Returns: a NavigationType

Return the type of action that triggered the navigation.

Since: 2.6

getRequest

navigationActionGetRequest Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> NavigationAction

navigation: a NavigationAction

-> m URIRequest

Returns: a URIRequest

Return the URIRequest associated with the navigation action. Modifications to the returned object are <emphasis>not</emphasis> taken into account when the request is sent over the network, and is intended only to aid in evaluating whether a navigation action should be taken or not. To modify requests before they are sent over the network the WebKitPage::send-request signal can be used instead.

Since: 2.6

isRedirect

navigationActionIsRedirect Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> NavigationAction

navigation: a NavigationAction

-> m Bool

Returns: True if the original navigation was redirected, False otherwise.

Returns whether the navigation was redirected.

Since: 2.20

isUserGesture

navigationActionIsUserGesture Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> NavigationAction

navigation: a NavigationAction

-> m Bool

Returns: whether navigation action is a user gesture

Return whether the navigation was triggered by a user gesture like a mouse click.

Since: 2.6