Struct webkit2gtk_sys::WebKitWebViewClass
source · #[repr(C)]pub struct WebKitWebViewClass {Show 29 fields
pub parent: WebKitWebViewBaseClass,
pub load_changed: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: WebKitLoadEvent)>,
pub load_failed: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: WebKitLoadEvent, _: *const c_char, _: *mut GError) -> gboolean>,
pub create: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitNavigationAction) -> *mut GtkWidget>,
pub ready_to_show: Option<unsafe extern "C" fn(_: *mut WebKitWebView)>,
pub run_as_modal: Option<unsafe extern "C" fn(_: *mut WebKitWebView)>,
pub close: Option<unsafe extern "C" fn(_: *mut WebKitWebView)>,
pub script_dialog: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitScriptDialog) -> gboolean>,
pub decide_policy: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitPolicyDecision, _: WebKitPolicyDecisionType) -> gboolean>,
pub permission_request: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitPermissionRequest) -> gboolean>,
pub mouse_target_changed: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitHitTestResult, _: c_uint)>,
pub print: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitPrintOperation) -> gboolean>,
pub resource_load_started: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitWebResource, _: *mut WebKitURIRequest)>,
pub enter_fullscreen: Option<unsafe extern "C" fn(_: *mut WebKitWebView) -> gboolean>,
pub leave_fullscreen: Option<unsafe extern "C" fn(_: *mut WebKitWebView) -> gboolean>,
pub run_file_chooser: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitFileChooserRequest) -> gboolean>,
pub context_menu: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitContextMenu, _: *mut GdkEvent, _: *mut WebKitHitTestResult) -> gboolean>,
pub context_menu_dismissed: Option<unsafe extern "C" fn(_: *mut WebKitWebView)>,
pub submit_form: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitFormSubmissionRequest)>,
pub insecure_content_detected: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: WebKitInsecureContentEvent)>,
pub web_process_crashed: Option<unsafe extern "C" fn(_: *mut WebKitWebView) -> gboolean>,
pub authenticate: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitAuthenticationRequest) -> gboolean>,
pub load_failed_with_tls_errors: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *const c_char, _: *mut GTlsCertificate, _: GTlsCertificateFlags) -> gboolean>,
pub show_notification: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitNotification) -> gboolean>,
pub run_color_chooser: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitColorChooserRequest) -> gboolean>,
pub show_option_menu: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitOptionMenu, _: *mut GdkEvent, _: *mut GdkRectangle) -> gboolean>,
pub web_process_terminated: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: WebKitWebProcessTerminationReason)>,
pub user_message_received: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitUserMessage) -> gboolean>,
pub query_permission_state: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitPermissionStateQuery) -> gboolean>,
}
Fields§
§parent: WebKitWebViewBaseClass
§load_changed: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: WebKitLoadEvent)>
§load_failed: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: WebKitLoadEvent, _: *const c_char, _: *mut GError) -> gboolean>
§create: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitNavigationAction) -> *mut GtkWidget>
§ready_to_show: Option<unsafe extern "C" fn(_: *mut WebKitWebView)>
§run_as_modal: Option<unsafe extern "C" fn(_: *mut WebKitWebView)>
§close: Option<unsafe extern "C" fn(_: *mut WebKitWebView)>
§script_dialog: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitScriptDialog) -> gboolean>
§decide_policy: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitPolicyDecision, _: WebKitPolicyDecisionType) -> gboolean>
§permission_request: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitPermissionRequest) -> gboolean>
§mouse_target_changed: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitHitTestResult, _: c_uint)>
§print: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitPrintOperation) -> gboolean>
§resource_load_started: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitWebResource, _: *mut WebKitURIRequest)>
§enter_fullscreen: Option<unsafe extern "C" fn(_: *mut WebKitWebView) -> gboolean>
§leave_fullscreen: Option<unsafe extern "C" fn(_: *mut WebKitWebView) -> gboolean>
§run_file_chooser: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitFileChooserRequest) -> gboolean>
§submit_form: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitFormSubmissionRequest)>
§insecure_content_detected: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: WebKitInsecureContentEvent)>
§web_process_crashed: Option<unsafe extern "C" fn(_: *mut WebKitWebView) -> gboolean>
§authenticate: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitAuthenticationRequest) -> gboolean>
§load_failed_with_tls_errors: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *const c_char, _: *mut GTlsCertificate, _: GTlsCertificateFlags) -> gboolean>
§show_notification: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitNotification) -> gboolean>
§run_color_chooser: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitColorChooserRequest) -> gboolean>
§web_process_terminated: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: WebKitWebProcessTerminationReason)>
§user_message_received: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitUserMessage) -> gboolean>
§query_permission_state: Option<unsafe extern "C" fn(_: *mut WebKitWebView, _: *mut WebKitPermissionStateQuery) -> gboolean>
Trait Implementations§
source§impl Clone for WebKitWebViewClass
impl Clone for WebKitWebViewClass
source§fn clone(&self) -> WebKitWebViewClass
fn clone(&self) -> WebKitWebViewClass
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for WebKitWebViewClass
impl Debug for WebKitWebViewClass
impl Copy for WebKitWebViewClass
Auto Trait Implementations§
impl RefUnwindSafe for WebKitWebViewClass
impl !Send for WebKitWebViewClass
impl !Sync for WebKitWebViewClass
impl Unpin for WebKitWebViewClass
impl UnwindSafe for WebKitWebViewClass
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more