NavigationAction

Constructors

this
this(WebKitNavigationAction* webKitNavigationAction, bool ownedRef)

Sets our main struct and passes it to the parent class.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

copy
NavigationAction copy()

Make a copy of @navigation.

free
void free()

Free the #WebKitNavigationAction

getModifiers
uint getModifiers()

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

getMouseButton
uint getMouseButton()

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

getNavigationActionStruct
WebKitNavigationAction* getNavigationActionStruct(bool transferOwnership)

Get the main Gtk struct

getNavigationType
WebKitNavigationType getNavigationType()

Return the type of action that triggered the navigation.

getRequest
URIRequest getRequest()

Return the #WebKitURIRequest 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.

getStruct
void* getStruct()

the main Gtk struct as a void*

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.

Static functions

getType
GType getType()

Variables

ownedRef
bool ownedRef;
Undocumented in source.
webKitNavigationAction
WebKitNavigationAction* webKitNavigationAction;

the main Gtk struct

Meta