gi-webkit2-4.0.23: WebKit2 bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (inaki@blueleaf.cc)
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.

Constructors

NavigationAction (ManagedPtr NavigationAction) 
Instances
BoxedObject NavigationAction Source # 
Instance details

Defined in GI.WebKit2.Structs.NavigationAction

Methods

boxedType :: NavigationAction -> IO GType

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