NavigationAction

Provides details about interaction resulting in a resource load.

Constructors

this
this(void* ptr, Flag!"Take" take)

Members

Functions

cPtr
void* cPtr(Flag!"Dup" dup)
copy
webkit.navigation_action.NavigationAction copy()

Make a copy of navigation.

getFrameName
string getFrameName()

Gets the navigation target frame name. For example if navigation was triggered by clicking a link with a target attribute equal to "_blank", this will return the value of that attribute. In all other cases this function will return null.

getModifiers
uint getModifiers()

Return the modifier keys.

getMouseButton
uint getMouseButton()

Return the number of the mouse button that triggered the navigation.

getNavigationType
webkit.types.NavigationType getNavigationType()

Return the type of action that triggered the navigation.

getRequest
webkit.urirequest.URIRequest getRequest()

Return the #WebKitURIRequest associated with the navigation action.

isRedirect
bool isRedirect()

Returns whether the navigation was redirected.

isUserGesture
bool isUserGesture()

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

self
NavigationAction self()

Returns this, for use in with statements.

Properties

gType
GType gType [@property getter]

Static functions

getGType
GType getGType()

Inherited Members

From Boxed

cInstancePtr
void* cInstancePtr;

Pointer to the C boxed value

getType
GType getType()

Get the GType of this boxed type.

gType
GType gType [@property getter]

Boxed GType property.

self
Boxed self()

Convenience method to return this cast to a type. For use in D with statements.

copy_
void* copy_()

Make a copy of the wrapped C boxed data.

boxedCopy
void* boxedCopy(void* cBoxed)

Copy a C boxed value using g_boxed_copy.

boxedFree
void boxedFree(void* cBoxed)

Free a C boxed value using g_boxed_free.