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 GdkRectangle, _: *mut WebKitOptionMenu) -> 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 _webkit_reserved0: Option<unsafe extern "C" fn()>,
}
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>
_webkit_reserved0: Option<unsafe extern "C" fn()>
Trait Implementations
sourceimpl Clone for WebKitWebViewClass
impl Clone for WebKitWebViewClass
sourcefn clone(&self) -> WebKitWebViewClass
fn clone(&self) -> WebKitWebViewClass
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more