[−][src]Trait webkit2gtk::WebViewExt
Required methods
fn can_execute_editing_command<P: IsA<Cancellable>, Q: FnOnce(Result<(), Error>) + Send + 'static>(
&self,
command: &str,
cancellable: Option<&P>,
callback: Q
)
&self,
command: &str,
cancellable: Option<&P>,
callback: Q
)
fn can_go_back(&self) -> bool
fn can_go_forward(&self) -> bool
fn can_show_mime_type(&self, mime_type: &str) -> bool
fn download_uri(&self, uri: &str) -> Option<Download>
fn execute_editing_command(&self, command: &str)
fn get_back_forward_list(&self) -> Option<BackForwardList>
fn get_context(&self) -> Option<WebContext>
fn get_custom_charset(&self) -> Option<GString>
fn get_estimated_load_progress(&self) -> f64
fn get_favicon(&self) -> Option<Surface>
fn get_find_controller(&self) -> Option<FindController>
fn get_inspector(&self) -> Option<WebInspector>
fn get_javascript_global_context(&self) -> Option<GlobalContextRef>
fn get_main_resource(&self) -> Option<WebResource>
fn get_page_id(&self) -> u64
fn get_settings(&self) -> Option<Settings>
fn get_snapshot<P: IsA<Cancellable>, Q: FnOnce(Result<Surface, Error>) + Send + 'static>(
&self,
region: SnapshotRegion,
options: SnapshotOptions,
cancellable: Option<&P>,
callback: Q
)
&self,
region: SnapshotRegion,
options: SnapshotOptions,
cancellable: Option<&P>,
callback: Q
)
fn get_title(&self) -> Option<GString>
fn get_tls_info(&self) -> Option<(TlsCertificate, TlsCertificateFlags)>
fn get_uri(&self) -> Option<GString>
fn get_window_properties(&self) -> Option<WindowProperties>
fn get_zoom_level(&self) -> f64
fn go_back(&self)
fn go_forward(&self)
fn go_to_back_forward_list_item<P: IsA<BackForwardListItem>>(
&self,
list_item: &P
)
&self,
list_item: &P
)
fn is_editable(&self) -> bool
fn is_loading(&self) -> bool
fn load_alternate_html(
&self,
content: &str,
content_uri: &str,
base_uri: Option<&str>
)
&self,
content: &str,
content_uri: &str,
base_uri: Option<&str>
)
fn load_html(&self, content: &str, base_uri: Option<&str>)
fn load_plain_text(&self, plain_text: &str)
fn load_request<P: IsA<URIRequest>>(&self, request: &P)
fn load_uri(&self, uri: &str)
fn reload(&self)
fn reload_bypass_cache(&self)
fn run_javascript<P: IsA<Cancellable>, Q: FnOnce(Result<JavascriptResult, Error>) + Send + 'static>(
&self,
script: &str,
cancellable: Option<&P>,
callback: Q
)
&self,
script: &str,
cancellable: Option<&P>,
callback: Q
)
fn run_javascript_from_gresource<P: IsA<Cancellable>, Q: FnOnce(Result<JavascriptResult, Error>) + Send + 'static>(
&self,
resource: &str,
cancellable: Option<&P>,
callback: Q
)
&self,
resource: &str,
cancellable: Option<&P>,
callback: Q
)
fn set_custom_charset(&self, charset: Option<&str>)
fn set_settings<P: IsA<Settings>>(&self, settings: &P)
fn set_zoom_level(&self, zoom_level: f64)
fn stop_loading(&self)
fn get_property_is_loading(&self) -> bool
fn get_property_web_context(&self) -> Option<WebContext>
fn connect_close<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_context_menu<F: Fn(&Self, &ContextMenu, &Event, &HitTestResult) -> bool + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_context_menu_dismissed<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_decide_policy<F: Fn(&Self, &PolicyDecision, PolicyDecisionType) -> bool + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_enter_fullscreen<F: Fn(&Self) -> bool + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_insecure_content_detected<F: Fn(&Self, InsecureContentEvent) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_leave_fullscreen<F: Fn(&Self) -> bool + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_load_changed<F: Fn(&Self, LoadEvent) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_load_failed<F: Fn(&Self, LoadEvent, &str, &Error) -> bool + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_mouse_target_changed<F: Fn(&Self, &HitTestResult, u32) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_permission_request<F: Fn(&Self, &PermissionRequest) -> bool + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_print<F: Fn(&Self, &PrintOperation) -> bool + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_ready_to_show<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_resource_load_started<F: Fn(&Self, &WebResource, &URIRequest) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_run_as_modal<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_run_file_chooser<F: Fn(&Self, &FileChooserRequest) -> bool + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_script_dialog<F: Fn(&Self, &ScriptDialog) -> bool + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_submit_form<F: Fn(&Self, &FormSubmissionRequest) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_web_process_crashed<F: Fn(&Self) -> bool + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_estimated_load_progress_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_favicon_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_is_loading_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_title_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_uri_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_zoom_level_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: IsA<WebView>> WebViewExt for O
[src]
fn can_execute_editing_command<P: IsA<Cancellable>, Q: FnOnce(Result<(), Error>) + Send + 'static>(
&self,
command: &str,
cancellable: Option<&P>,
callback: Q
)
[src]
&self,
command: &str,
cancellable: Option<&P>,
callback: Q
)
fn can_go_back(&self) -> bool
[src]
fn can_go_forward(&self) -> bool
[src]
fn can_show_mime_type(&self, mime_type: &str) -> bool
[src]
fn download_uri(&self, uri: &str) -> Option<Download>
[src]
fn execute_editing_command(&self, command: &str)
[src]
fn get_back_forward_list(&self) -> Option<BackForwardList>
[src]
fn get_context(&self) -> Option<WebContext>
[src]
fn get_custom_charset(&self) -> Option<GString>
[src]
fn get_estimated_load_progress(&self) -> f64
[src]
fn get_favicon(&self) -> Option<Surface>
[src]
fn get_find_controller(&self) -> Option<FindController>
[src]
fn get_inspector(&self) -> Option<WebInspector>
[src]
fn get_javascript_global_context(&self) -> Option<GlobalContextRef>
[src]
fn get_main_resource(&self) -> Option<WebResource>
[src]
fn get_page_id(&self) -> u64
[src]
fn get_settings(&self) -> Option<Settings>
[src]
fn get_snapshot<P: IsA<Cancellable>, Q: FnOnce(Result<Surface, Error>) + Send + 'static>(
&self,
region: SnapshotRegion,
options: SnapshotOptions,
cancellable: Option<&P>,
callback: Q
)
[src]
&self,
region: SnapshotRegion,
options: SnapshotOptions,
cancellable: Option<&P>,
callback: Q
)
fn get_title(&self) -> Option<GString>
[src]
fn get_tls_info(&self) -> Option<(TlsCertificate, TlsCertificateFlags)>
[src]
fn get_uri(&self) -> Option<GString>
[src]
fn get_window_properties(&self) -> Option<WindowProperties>
[src]
fn get_zoom_level(&self) -> f64
[src]
fn go_back(&self)
[src]
fn go_forward(&self)
[src]
fn go_to_back_forward_list_item<P: IsA<BackForwardListItem>>(
&self,
list_item: &P
)
[src]
&self,
list_item: &P
)
fn is_editable(&self) -> bool
[src]
fn is_loading(&self) -> bool
[src]
fn load_alternate_html(
&self,
content: &str,
content_uri: &str,
base_uri: Option<&str>
)
[src]
&self,
content: &str,
content_uri: &str,
base_uri: Option<&str>
)
fn load_html(&self, content: &str, base_uri: Option<&str>)
[src]
fn load_plain_text(&self, plain_text: &str)
[src]
fn load_request<P: IsA<URIRequest>>(&self, request: &P)
[src]
fn load_uri(&self, uri: &str)
[src]
fn reload(&self)
[src]
fn reload_bypass_cache(&self)
[src]
fn run_javascript<P: IsA<Cancellable>, Q: FnOnce(Result<JavascriptResult, Error>) + Send + 'static>(
&self,
script: &str,
cancellable: Option<&P>,
callback: Q
)
[src]
&self,
script: &str,
cancellable: Option<&P>,
callback: Q
)
fn run_javascript_from_gresource<P: IsA<Cancellable>, Q: FnOnce(Result<JavascriptResult, Error>) + Send + 'static>(
&self,
resource: &str,
cancellable: Option<&P>,
callback: Q
)
[src]
&self,
resource: &str,
cancellable: Option<&P>,
callback: Q
)
fn set_custom_charset(&self, charset: Option<&str>)
[src]
fn set_settings<P: IsA<Settings>>(&self, settings: &P)
[src]
fn set_zoom_level(&self, zoom_level: f64)
[src]
fn stop_loading(&self)
[src]
fn get_property_is_loading(&self) -> bool
[src]
fn get_property_web_context(&self) -> Option<WebContext>
[src]
fn connect_close<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
[src]
fn connect_context_menu<F: Fn(&Self, &ContextMenu, &Event, &HitTestResult) -> bool + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_context_menu_dismissed<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_decide_policy<F: Fn(&Self, &PolicyDecision, PolicyDecisionType) -> bool + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_enter_fullscreen<F: Fn(&Self) -> bool + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_insecure_content_detected<F: Fn(&Self, InsecureContentEvent) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_leave_fullscreen<F: Fn(&Self) -> bool + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_load_changed<F: Fn(&Self, LoadEvent) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_load_failed<F: Fn(&Self, LoadEvent, &str, &Error) -> bool + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_mouse_target_changed<F: Fn(&Self, &HitTestResult, u32) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_permission_request<F: Fn(&Self, &PermissionRequest) -> bool + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_print<F: Fn(&Self, &PrintOperation) -> bool + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_ready_to_show<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
[src]
fn connect_resource_load_started<F: Fn(&Self, &WebResource, &URIRequest) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_run_as_modal<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
[src]
fn connect_run_file_chooser<F: Fn(&Self, &FileChooserRequest) -> bool + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_script_dialog<F: Fn(&Self, &ScriptDialog) -> bool + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_submit_form<F: Fn(&Self, &FormSubmissionRequest) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_web_process_crashed<F: Fn(&Self) -> bool + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_estimated_load_progress_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_favicon_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_is_loading_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_title_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_uri_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_zoom_level_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId