pub trait NavigationPolicyDecisionExt: 'static {
    fn frame_name(&self) -> Option<GString>;
    fn modifiers(&self) -> u32;
    fn mouse_button(&self) -> u32;
    fn navigation_action(&self) -> Option<NavigationAction>;
    fn navigation_type(&self) -> NavigationType;
    fn request(&self) -> Option<URIRequest>;
    fn connect_frame_name_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_modifiers_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_mouse_button_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_navigation_action_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_navigation_type_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_request_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }
Expand description

Required Methods

Gets the value of the property::NavigationPolicyDecision::frame-name property.

Returns

The name of the new frame this navigation action targets or None

👎Deprecated: Since 2.6

Gets the value of the property::NavigationPolicyDecision::modifiers property.

Deprecated since 2.6

Use navigation_action() instead.

Returns

The modifiers active if this decision was triggered by a mouse event

👎Deprecated: Since 2.6

Gets the value of the property::NavigationPolicyDecision::mouse-button property.

Deprecated since 2.6

Use navigation_action() instead.

Returns

The mouse button used if this decision was triggered by a mouse event or 0 otherwise

Available on crate feature v2_6 only.

Gets the value of the property::NavigationPolicyDecision::navigation-action property.

Returns

The NavigationAction triggering this policy decision.

👎Deprecated: Since 2.6

Gets the value of the property::NavigationPolicyDecision::navigation-type property.

Deprecated since 2.6

Use navigation_action() instead.

Returns

The type of navigation triggering this policy decision.

👎Deprecated: Since 2.6

Gets the value of the property::NavigationPolicyDecision::request property.

Deprecated since 2.6

Use navigation_action() instead.

Returns

The URI request that is associated with this navigation

👎Deprecated: Since 2.6
👎Deprecated: Since 2.6
Available on crate feature v2_6 only.
👎Deprecated: Since 2.6
👎Deprecated: Since 2.6

Implementors