gi-webkit2-4.0.19: WebKit2 bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.WebKit2.Structs.NavigationAction

Contents

Description

No description available in the introspection data.

Synopsis

Exported types

newtype NavigationAction Source #

Memory-managed wrapper type.

Methods

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 navigation URIRequest

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