pub trait DOMDOMWindowExt: 'static {
Show 110 methods fn alert(&self, message: &str); fn blur(&self); fn capture_events(&self); fn close(&self); fn confirm(&self, message: &str) -> bool; fn find(
        &self,
        string: &str,
        caseSensitive: bool,
        backwards: bool,
        wrap: bool,
        wholeWord: bool,
        searchInFrames: bool,
        showDialog: bool
    ) -> bool; fn focus(&self); fn is_closed(&self) -> bool; fn computed_style(
        &self,
        element: &impl IsA<DOMElement>,
        pseudoElement: Option<&str>
    ) -> Option<DOMCSSStyleDeclaration>; fn default_status(&self) -> Option<GString>; fn device_pixel_ratio(&self) -> f64; fn document(&self) -> Option<DOMDocument>; fn frame_element(&self) -> Option<DOMElement>; fn frames(&self) -> Option<DOMDOMWindow>; fn inner_height(&self) -> c_long; fn inner_width(&self) -> c_long; fn length(&self) -> c_ulong; fn name(&self) -> Option<GString>; fn is_offscreen_buffering(&self) -> bool; fn opener(&self) -> Option<DOMDOMWindow>; fn orientation(&self) -> c_long; fn outer_height(&self) -> c_long; fn outer_width(&self) -> c_long; fn page_x_offset(&self) -> c_long; fn page_y_offset(&self) -> c_long; fn parent(&self) -> Option<DOMDOMWindow>; fn screen_left(&self) -> c_long; fn screen_top(&self) -> c_long; fn screen_x(&self) -> c_long; fn screen_y(&self) -> c_long; fn scroll_x(&self) -> c_long; fn scroll_y(&self) -> c_long; fn selection(&self) -> Option<DOMDOMSelection>; fn self_(&self) -> Option<DOMDOMWindow>; fn status(&self) -> Option<GString>; fn top(&self) -> Option<DOMDOMWindow>; fn window(&self) -> Option<DOMDOMWindow>; fn move_by(&self, x: f32, y: f32); fn move_to(&self, x: f32, y: f32); fn print(&self); fn prompt(&self, message: &str, defaultValue: &str) -> Option<GString>; fn release_events(&self); fn resize_by(&self, x: f32, y: f32); fn resize_to(&self, width: f32, height: f32); fn scroll_by(&self, x: f64, y: f64); fn scroll_to(&self, x: f64, y: f64); fn set_default_status(&self, value: &str); fn set_name(&self, value: &str); fn set_status(&self, value: &str); fn stop(&self); fn webkit_message_handlers_post_message(
        &self,
        handler: &str,
        message: &str
    ) -> bool; fn get_property_closed(&self) -> bool; fn get_property_default_status(&self) -> Option<GString>; fn set_property_default_status(&self, default_status: Option<&str>); fn get_property_device_pixel_ratio(&self) -> f64; fn get_property_document(&self) -> Option<DOMDocument>; fn get_property_frame_element(&self) -> Option<DOMElement>; fn get_property_frames(&self) -> Option<DOMDOMWindow>; fn get_property_inner_height(&self) -> c_long; fn get_property_inner_width(&self) -> c_long; fn get_property_length(&self) -> c_ulong; fn get_property_name(&self) -> Option<GString>; fn set_property_name(&self, name: Option<&str>); fn get_property_offscreen_buffering(&self) -> bool; fn get_property_opener(&self) -> Option<DOMDOMWindow>; fn get_property_orientation(&self) -> c_long; fn get_property_outer_height(&self) -> c_long; fn get_property_outer_width(&self) -> c_long; fn get_property_page_x_offset(&self) -> c_long; fn get_property_page_y_offset(&self) -> c_long; fn get_property_parent(&self) -> Option<DOMDOMWindow>; fn get_property_screen_left(&self) -> c_long; fn get_property_screen_top(&self) -> c_long; fn get_property_screen_x(&self) -> c_long; fn get_property_screen_y(&self) -> c_long; fn get_property_scroll_x(&self) -> c_long; fn get_property_scroll_y(&self) -> c_long; fn get_property_self(&self) -> Option<DOMDOMWindow>; fn get_property_status(&self) -> Option<GString>; fn set_property_status(&self, status: Option<&str>); fn get_property_top(&self) -> Option<DOMDOMWindow>; fn get_property_window(&self) -> Option<DOMDOMWindow>; fn connect_closed_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_default_status_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_device_pixel_ratio_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_document_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_frame_element_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_frames_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_inner_height_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_inner_width_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_length_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_name_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_offscreen_buffering_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_opener_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_orientation_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_outer_height_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_outer_width_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_page_x_offset_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_page_y_offset_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_parent_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_screen_left_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_screen_top_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_screen_x_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_screen_y_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_scroll_x_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_scroll_y_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_self_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_status_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_top_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId; fn connect_window_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
}
Expand description

Trait containing all DOMDOMWindow methods.

Implementors

DOMDOMWindow

Required Methods

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

message

A gchar

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

message

A gchar

Returns

A gboolean

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

string

A gchar

caseSensitive

A gboolean

backwards

A gboolean

wrap

A gboolean

wholeWord

A gboolean

searchInFrames

A gboolean

showDialog

A gboolean

Returns

A gboolean

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A gboolean

Available on crate feature v2_16 only.
Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A gchar

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A gdouble

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A DOMDocument

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A DOMElement

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A DOMDOMWindow

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A glong

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A glong

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A gulong

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A gchar

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A gboolean

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A DOMDOMWindow

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A glong

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A glong

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A glong

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A glong

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A glong

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A DOMDOMWindow

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A glong

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A glong

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A glong

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A glong

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A glong

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A glong

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A DOMDOMSelection

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A DOMDOMWindow

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A gchar

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A DOMDOMWindow

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A DOMDOMWindow

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

x

A gfloat

y

A gfloat

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

x

A gfloat

y

A gfloat

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

message

A gchar

defaultValue

A gchar

Returns

A gchar

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

x

A gfloat

y

A gfloat

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

width

A gfloat

height

A gfloat

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

x

A gdouble

y

A gdouble

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

x

A gdouble

y

A gdouble

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

value

A gchar

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

value

A gchar

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

value

A gchar

Available on crate feature v2_16 only.
Deprecated since 2.22

Use JavaScriptCore API instead

source

fn webkit_message_handlers_post_message(
    &self,
    handler: &str,
    message: &str
) -> bool

Implementors