Struct webkit2gtk::WebView
source · pub struct WebView { /* private fields */ }
Implementations§
source§impl WebView
impl WebView
pub const NONE: Option<&'static WebView> = None
pub fn new() -> WebView
pub fn with_context(context: &impl IsA<WebContext>) -> WebView
Available on crate feature
v2_4
only.pub fn with_settings(settings: &impl IsA<Settings>) -> WebView
Available on crate feature
v2_6
only.pub fn with_user_content_manager( user_content_manager: &impl IsA<UserContentManager> ) -> WebView
Available on crate feature
v2_6
only.sourcepub fn builder() -> WebViewBuilder
pub fn builder() -> WebViewBuilder
Creates a new builder-pattern struct instance to construct WebView
objects.
This method returns an instance of WebViewBuilder
which can be used to create WebView
objects.
Trait Implementations§
source§impl HasParamSpec for WebView
impl HasParamSpec for WebView
source§impl Ord for WebView
impl Ord for WebView
source§impl ParentClassIs for WebView
impl ParentClassIs for WebView
type Parent = WebViewBase
source§impl<OT: ObjectType> PartialEq<OT> for WebView
impl<OT: ObjectType> PartialEq<OT> for WebView
source§impl<OT: ObjectType> PartialOrd<OT> for WebView
impl<OT: ObjectType> PartialOrd<OT> for WebView
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl StaticType for WebView
impl StaticType for WebView
source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.impl Eq for WebView
impl IsA<Buildable> for WebView
impl IsA<Container> for WebView
impl IsA<WebViewBase> for WebView
impl IsA<Widget> for WebView
Auto Trait Implementations§
impl RefUnwindSafe for WebView
impl !Send for WebView
impl !Sync for WebView
impl Unpin for WebView
impl UnwindSafe for WebView
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
source§impl<O> BuildableExt for Owhere
O: IsA<Buildable>,
impl<O> BuildableExt for Owhere O: IsA<Buildable>,
fn add_child( &self, builder: &impl IsA<Builder>, child: &impl IsA<Object>, type_: Option<&str> )
fn construct_child( &self, builder: &impl IsA<Builder>, name: &str ) -> Option<Object>
fn internal_child( &self, builder: &impl IsA<Builder>, childname: &str ) -> Option<Object>
fn parser_finished(&self, builder: &impl IsA<Builder>)
fn set_buildable_property( &self, builder: &impl IsA<Builder>, name: &str, value: &Value )
source§impl<O> BuildableExtManual for Owhere
O: IsA<Buildable>,
impl<O> BuildableExtManual for Owhere O: IsA<Buildable>,
fn buildable_name(&self) -> Option<String>
fn set_buildable_name(&self, name: &str)
source§impl<T> Cast for Twhere
T: ObjectType,
impl<T> Cast for Twhere T: ObjectType,
source§fn upcast<T>(self) -> Twhere
T: ObjectType,
Self: IsA<T>,
fn upcast<T>(self) -> Twhere T: ObjectType, Self: IsA<T>,
Upcasts an object to a superclass or interface
T
. Read moresource§fn upcast_ref<T>(&self) -> &Twhere
T: ObjectType,
Self: IsA<T>,
fn upcast_ref<T>(&self) -> &Twhere T: ObjectType, Self: IsA<T>,
Upcasts an object to a reference of its superclass or interface
T
. Read moresource§fn downcast<T>(self) -> Result<T, Self>where
T: ObjectType,
Self: MayDowncastTo<T>,
fn downcast<T>(self) -> Result<T, Self>where T: ObjectType, Self: MayDowncastTo<T>,
Tries to downcast to a subclass or interface implementor
T
. Read moresource§fn downcast_ref<T>(&self) -> Option<&T>where
T: ObjectType,
Self: MayDowncastTo<T>,
fn downcast_ref<T>(&self) -> Option<&T>where T: ObjectType, Self: MayDowncastTo<T>,
Tries to downcast to a reference of its subclass or interface implementor
T
. Read moresource§fn dynamic_cast<T>(self) -> Result<T, Self>where
T: ObjectType,
fn dynamic_cast<T>(self) -> Result<T, Self>where T: ObjectType,
Tries to cast to an object of type
T
. This handles upcasting, downcasting
and casting between interface and interface implementors. All checks are performed at
runtime, while upcast
will do many checks at compile-time already. downcast
will
perform the same checks at runtime as dynamic_cast
, but will also ensure some amount of
compile-time safety. Read moresource§fn dynamic_cast_ref<T>(&self) -> Option<&T>where
T: ObjectType,
fn dynamic_cast_ref<T>(&self) -> Option<&T>where T: ObjectType,
Tries to cast to reference to an object of type
T
. This handles upcasting, downcasting
and casting between interface and interface implementors. All checks are performed at
runtime, while downcast
and upcast
will do many checks at compile-time already. Read moresource§unsafe fn unsafe_cast<T>(self) -> Twhere
T: ObjectType,
unsafe fn unsafe_cast<T>(self) -> Twhere T: ObjectType,
Casts to
T
unconditionally. Read moresource§unsafe fn unsafe_cast_ref<T>(&self) -> &Twhere
T: ObjectType,
unsafe fn unsafe_cast_ref<T>(&self) -> &Twhere T: ObjectType,
Casts to
&T
unconditionally. Read moresource§impl<O> ContainerExt for Owhere
O: IsA<Container>,
impl<O> ContainerExt for Owhere O: IsA<Container>,
fn add(&self, widget: &impl IsA<Widget>)
fn check_resize(&self)
fn child_notify(&self, child: &impl IsA<Widget>, child_property: &str)
fn child_notify_by_pspec( &self, child: &impl IsA<Widget>, pspec: impl AsRef<ParamSpec> )
fn child_type(&self) -> Type
fn forall<P>(&self, callback: P)where P: FnMut(&Widget),
fn foreach<P>(&self, callback: P)where P: FnMut(&Widget),
fn border_width(&self) -> u32
fn children(&self) -> Vec<Widget>
fn focus_child(&self) -> Option<Widget>
fn focus_hadjustment(&self) -> Option<Adjustment>
fn focus_vadjustment(&self) -> Option<Adjustment>
fn path_for_child(&self, child: &impl IsA<Widget>) -> Option<WidgetPath>
fn propagate_draw(&self, child: &impl IsA<Widget>, cr: &Context)
fn remove(&self, widget: &impl IsA<Widget>)
fn set_border_width(&self, border_width: u32)
fn set_focus_chain(&self, focusable_widgets: &[Widget])
fn set_focus_child(&self, child: Option<&impl IsA<Widget>>)
fn set_focus_hadjustment(&self, adjustment: &impl IsA<Adjustment>)
fn set_focus_vadjustment(&self, adjustment: &impl IsA<Adjustment>)
fn unset_focus_chain(&self)
fn set_child<P>(&self, child: Option<&P>)where P: IsA<Widget>,
fn resize_mode(&self) -> ResizeMode
fn set_resize_mode(&self, resize_mode: ResizeMode)
fn connect_add<F>(&self, f: F) -> SignalHandlerIdwhere F: Fn(&Self, &Widget) + 'static,
fn connect_check_resize<F>(&self, f: F) -> SignalHandlerIdwhere F: Fn(&Self) + 'static,
fn connect_remove<F>(&self, f: F) -> SignalHandlerIdwhere F: Fn(&Self, &Widget) + 'static,
fn connect_set_focus_child<F>(&self, f: F) -> SignalHandlerIdwhere F: Fn(&Self, &Widget) + 'static,
fn connect_border_width_notify<F>(&self, f: F) -> SignalHandlerIdwhere F: Fn(&Self) + 'static,
fn connect_child_notify<F>(&self, f: F) -> SignalHandlerIdwhere F: Fn(&Self) + 'static,
fn connect_resize_mode_notify<F>(&self, f: F) -> SignalHandlerIdwhere F: Fn(&Self) + 'static,
source§impl<O> ContainerExtManual for Owhere
O: IsA<Container>,
impl<O> ContainerExtManual for Owhere O: IsA<Container>,
fn child_property_value( &self, child: &impl IsA<Widget>, property_name: &str ) -> Value
fn child_property<V>(&self, child: &impl IsA<Widget>, property_name: &str) -> Vwhere V: for<'b> FromValue<'b> + 'static,
fn child_set_property( &self, child: &impl IsA<Widget>, property_name: &str, value: &dyn ToValue )
source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for Twhere T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GPtrArray> for Twhere T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for Twhere T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GPtrArray> for Twhere T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> IntoClosureReturnValue for Twhere
T: Into<Value>,
impl<T> IntoClosureReturnValue for Twhere T: Into<Value>,
fn into_closure_return_value(self) -> Option<Value>
source§impl<U> IsSubclassableExt for Uwhere
U: IsClass + ParentClassIs,
impl<U> IsSubclassableExt for Uwhere U: IsClass + ParentClassIs,
fn parent_class_init<T>(class: &mut Class<U>)where T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,
fn parent_instance_init<T>(instance: &mut InitializingObject<T>)where T: ObjectSubclass, <U as ParentClassIs>::Parent: IsSubclassable<T>,
source§impl<T> ObjectExt for Twhere
T: ObjectType,
impl<T> ObjectExt for Twhere T: ObjectType,
source§fn is<U>(&self) -> boolwhere
U: StaticType,
fn is<U>(&self) -> boolwhere U: StaticType,
Returns
true
if the object is an instance of (can be cast to) T
.source§fn object_class(&self) -> &Class<Object>
fn object_class(&self) -> &Class<Object>
Returns the
ObjectClass
of the object. Read moresource§fn class_of<U>(&self) -> Option<&Class<U>>where
U: IsClass,
fn class_of<U>(&self) -> Option<&Class<U>>where U: IsClass,
Returns the class of the object in the given type
T
. Read moresource§fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>where
U: IsInterface,
fn interface<U>(&self) -> Option<InterfaceRef<'_, U>>where U: IsInterface,
Returns the interface
T
of the object. Read moresource§fn set_property_from_value(&self, property_name: &str, value: &Value)
fn set_property_from_value(&self, property_name: &str, value: &Value)
source§fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])
fn set_properties(&self, property_values: &[(&str, &dyn ToValue)])
Sets multiple properties of the object at once. Read more
source§fn set_properties_from_value(&self, property_values: &[(&str, Value)])
fn set_properties_from_value(&self, property_values: &[(&str, Value)])
Sets multiple properties of the object at once. Read more
source§fn property<V>(&self, property_name: &str) -> Vwhere
V: for<'b> FromValue<'b> + 'static,
fn property<V>(&self, property_name: &str) -> Vwhere V: for<'b> FromValue<'b> + 'static,
Gets the property
property_name
of the object and cast it to the type V. Read moresource§fn property_value(&self, property_name: &str) -> Value
fn property_value(&self, property_name: &str) -> Value
Gets the property
property_name
of the object. Read moresource§fn property_type(&self, property_name: &str) -> Option<Type>
fn property_type(&self, property_name: &str) -> Option<Type>
Get the type of the property
property_name
of this object. Read moresource§fn find_property(&self, property_name: &str) -> Option<ParamSpec>
fn find_property(&self, property_name: &str) -> Option<ParamSpec>
Get the
ParamSpec
of the property property_name
of this object.source§fn list_properties(&self) -> PtrSlice<ParamSpec>
fn list_properties(&self) -> PtrSlice<ParamSpec>
Return all
ParamSpec
of the properties of this object.source§fn freeze_notify(&self) -> PropertyNotificationFreezeGuard
fn freeze_notify(&self) -> PropertyNotificationFreezeGuard
Freeze all property notifications until the return guard object is dropped. Read more
source§unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)where
QD: 'static,
unsafe fn set_qdata<QD>(&self, key: Quark, value: QD)where QD: 'static,
Set arbitrary data on this object with the given
key
. Read moresource§unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>where
QD: 'static,
unsafe fn qdata<QD>(&self, key: Quark) -> Option<NonNull<QD>>where QD: 'static,
Return previously set arbitrary data of this object with the given
key
. Read moresource§unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>where
QD: 'static,
unsafe fn steal_qdata<QD>(&self, key: Quark) -> Option<QD>where QD: 'static,
Retrieve previously set arbitrary data of this object with the given
key
. Read moresource§unsafe fn set_data<QD>(&self, key: &str, value: QD)where
QD: 'static,
unsafe fn set_data<QD>(&self, key: &str, value: QD)where QD: 'static,
Set arbitrary data on this object with the given
key
. Read moresource§unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>where
QD: 'static,
unsafe fn data<QD>(&self, key: &str) -> Option<NonNull<QD>>where QD: 'static,
Return previously set arbitrary data of this object with the given
key
. Read moresource§unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>where
QD: 'static,
unsafe fn steal_data<QD>(&self, key: &str) -> Option<QD>where QD: 'static,
Retrieve previously set arbitrary data of this object with the given
key
. Read moresource§fn block_signal(&self, handler_id: &SignalHandlerId)
fn block_signal(&self, handler_id: &SignalHandlerId)
Block a given signal handler. Read more
source§fn unblock_signal(&self, handler_id: &SignalHandlerId)
fn unblock_signal(&self, handler_id: &SignalHandlerId)
Unblock a given signal handler.
source§fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)
fn stop_signal_emission(&self, signal_id: SignalId, detail: Option<Quark>)
Stop emission of the currently emitted signal.
source§fn stop_signal_emission_by_name(&self, signal_name: &str)
fn stop_signal_emission_by_name(&self, signal_name: &str)
Stop emission of the currently emitted signal by the (possibly detailed) signal name.
source§fn connect<F>(
&self,
signal_name: &str,
after: bool,
callback: F
) -> SignalHandlerIdwhere
F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,
fn connect<F>( &self, signal_name: &str, after: bool, callback: F ) -> SignalHandlerIdwhere F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,
Connect to the signal
signal_name
on this object. Read moresource§fn connect_id<F>(
&self,
signal_id: SignalId,
details: Option<Quark>,
after: bool,
callback: F
) -> SignalHandlerIdwhere
F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,
fn connect_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F ) -> SignalHandlerIdwhere F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,
Connect to the signal
signal_id
on this object. Read moresource§fn connect_local<F>(
&self,
signal_name: &str,
after: bool,
callback: F
) -> SignalHandlerIdwhere
F: Fn(&[Value]) -> Option<Value> + 'static,
fn connect_local<F>( &self, signal_name: &str, after: bool, callback: F ) -> SignalHandlerIdwhere F: Fn(&[Value]) -> Option<Value> + 'static,
Connect to the signal
signal_name
on this object. Read moresource§fn connect_local_id<F>(
&self,
signal_id: SignalId,
details: Option<Quark>,
after: bool,
callback: F
) -> SignalHandlerIdwhere
F: Fn(&[Value]) -> Option<Value> + 'static,
fn connect_local_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F ) -> SignalHandlerIdwhere F: Fn(&[Value]) -> Option<Value> + 'static,
Connect to the signal
signal_id
on this object. Read moresource§unsafe fn connect_unsafe<F>(
&self,
signal_name: &str,
after: bool,
callback: F
) -> SignalHandlerIdwhere
F: Fn(&[Value]) -> Option<Value>,
unsafe fn connect_unsafe<F>( &self, signal_name: &str, after: bool, callback: F ) -> SignalHandlerIdwhere F: Fn(&[Value]) -> Option<Value>,
Connect to the signal
signal_name
on this object. Read moresource§unsafe fn connect_unsafe_id<F>(
&self,
signal_id: SignalId,
details: Option<Quark>,
after: bool,
callback: F
) -> SignalHandlerIdwhere
F: Fn(&[Value]) -> Option<Value>,
unsafe fn connect_unsafe_id<F>( &self, signal_id: SignalId, details: Option<Quark>, after: bool, callback: F ) -> SignalHandlerIdwhere F: Fn(&[Value]) -> Option<Value>,
Connect to the signal
signal_id
on this object. Read moresource§fn connect_closure(
&self,
signal_name: &str,
after: bool,
closure: RustClosure
) -> SignalHandlerId
fn connect_closure( &self, signal_name: &str, after: bool, closure: RustClosure ) -> SignalHandlerId
Connect a closure to the signal
signal_name
on this object. Read moresource§fn connect_closure_id(
&self,
signal_id: SignalId,
details: Option<Quark>,
after: bool,
closure: RustClosure
) -> SignalHandlerId
fn connect_closure_id( &self, signal_id: SignalId, details: Option<Quark>, after: bool, closure: RustClosure ) -> SignalHandlerId
Connect a closure to the signal
signal_id
on this object. Read moresource§fn watch_closure(&self, closure: &impl AsRef<Closure>)
fn watch_closure(&self, closure: &impl AsRef<Closure>)
Limits the lifetime of
closure
to the lifetime of the object. When
the object’s reference count drops to zero, the closure will be
invalidated. An invalidated closure will ignore any calls to
invoke_with_values
, or
invoke
when using Rust closures.source§fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> Rwhere
R: TryFromClosureReturnValue,
fn emit<R>(&self, signal_id: SignalId, args: &[&dyn ToValue]) -> Rwhere R: TryFromClosureReturnValue,
Emit signal by signal id. Read more
source§fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>
fn emit_with_values(&self, signal_id: SignalId, args: &[Value]) -> Option<Value>
Same as
Self::emit
but takes Value
for the arguments.source§fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> Rwhere
R: TryFromClosureReturnValue,
fn emit_by_name<R>(&self, signal_name: &str, args: &[&dyn ToValue]) -> Rwhere R: TryFromClosureReturnValue,
Emit signal by its name. Read more
source§fn emit_by_name_with_values(
&self,
signal_name: &str,
args: &[Value]
) -> Option<Value>
fn emit_by_name_with_values( &self, signal_name: &str, args: &[Value] ) -> Option<Value>
Emit signal by its name. Read more
source§fn emit_by_name_with_details<R>(
&self,
signal_name: &str,
details: Quark,
args: &[&dyn ToValue]
) -> Rwhere
R: TryFromClosureReturnValue,
fn emit_by_name_with_details<R>( &self, signal_name: &str, details: Quark, args: &[&dyn ToValue] ) -> Rwhere R: TryFromClosureReturnValue,
Emit signal by its name with details. Read more
source§fn emit_by_name_with_details_and_values(
&self,
signal_name: &str,
details: Quark,
args: &[Value]
) -> Option<Value>
fn emit_by_name_with_details_and_values( &self, signal_name: &str, details: Quark, args: &[Value] ) -> Option<Value>
Emit signal by its name with details. Read more
source§fn emit_with_details<R>(
&self,
signal_id: SignalId,
details: Quark,
args: &[&dyn ToValue]
) -> Rwhere
R: TryFromClosureReturnValue,
fn emit_with_details<R>( &self, signal_id: SignalId, details: Quark, args: &[&dyn ToValue] ) -> Rwhere R: TryFromClosureReturnValue,
Emit signal by signal id with details. Read more
source§fn emit_with_details_and_values(
&self,
signal_id: SignalId,
details: Quark,
args: &[Value]
) -> Option<Value>
fn emit_with_details_and_values( &self, signal_id: SignalId, details: Quark, args: &[Value] ) -> Option<Value>
Emit signal by signal id with details. Read more
source§fn disconnect(&self, handler_id: SignalHandlerId)
fn disconnect(&self, handler_id: SignalHandlerId)
Disconnect a previously connected signal handler.
source§fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerIdwhere
F: Fn(&T, &ParamSpec) + Send + Sync + 'static,
fn connect_notify<F>(&self, name: Option<&str>, f: F) -> SignalHandlerIdwhere F: Fn(&T, &ParamSpec) + Send + Sync + 'static,
Connect to the
notify
signal of the object. Read moresource§fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerIdwhere
F: Fn(&T, &ParamSpec) + 'static,
fn connect_notify_local<F>(&self, name: Option<&str>, f: F) -> SignalHandlerIdwhere F: Fn(&T, &ParamSpec) + 'static,
Connect to the
notify
signal of the object. Read moresource§unsafe fn connect_notify_unsafe<F>(
&self,
name: Option<&str>,
f: F
) -> SignalHandlerIdwhere
F: Fn(&T, &ParamSpec),
unsafe fn connect_notify_unsafe<F>( &self, name: Option<&str>, f: F ) -> SignalHandlerIdwhere F: Fn(&T, &ParamSpec),
Connect to the
notify
signal of the object. Read moresource§fn notify(&self, property_name: &str)
fn notify(&self, property_name: &str)
Notify that the given property has changed its value. Read more
source§fn notify_by_pspec(&self, pspec: &ParamSpec)
fn notify_by_pspec(&self, pspec: &ParamSpec)
Notify that the given property has changed its value. Read more
source§fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>where
F: FnOnce() + Send + 'static,
fn add_weak_ref_notify<F>(&self, f: F) -> WeakRefNotify<T>where F: FnOnce() + Send + 'static,
Add a callback to be notified when the Object is disposed.
source§fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>where
F: FnOnce() + 'static,
fn add_weak_ref_notify_local<F>(&self, f: F) -> WeakRefNotify<T>where F: FnOnce() + 'static,
Add a callback to be notified when the Object is disposed. Read more
source§fn bind_property<'f, 't, O, 'a>(
&'a self,
source_property: &'a str,
target: &'a O,
target_property: &'a str
) -> BindingBuilder<'a, 'f, 't>where
O: ObjectType,
fn bind_property<'f, 't, O, 'a>( &'a self, source_property: &'a str, target: &'a O, target_property: &'a str ) -> BindingBuilder<'a, 'f, 't>where O: ObjectType,
source§unsafe fn run_dispose(&self)
unsafe fn run_dispose(&self)
Runs the dispose mechanism of the object. Read more
source§impl<T> PropertyGet for Twhere
T: HasParamSpec,
impl<T> PropertyGet for Twhere T: HasParamSpec,
source§impl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere T: StaticType,
source§fn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.
source§impl<T> TransparentType for Twhere
T: TransparentPtrType,
impl<T> TransparentType for Twhere T: TransparentPtrType,
type GlibType = <T as GlibPtrDefault>::GlibType
source§impl<T> TryFromClosureReturnValue for Twhere
T: for<'a> FromValue<'a> + StaticType + 'static,
impl<T> TryFromClosureReturnValue for Twhere T: for<'a> FromValue<'a> + StaticType + 'static,
source§impl<O> WebViewExt for Owhere
O: IsA<WebView>,
impl<O> WebViewExt for Owhere O: IsA<WebView>,
source§fn call_async_javascript_function<P: FnOnce(Result<Value, Error>) + 'static>(
&self,
body: &str,
arguments: Option<&Variant>,
world_name: Option<&str>,
source_uri: Option<&str>,
cancellable: Option<&impl IsA<Cancellable>>,
callback: P
)
fn call_async_javascript_function<P: FnOnce(Result<Value, Error>) + 'static>( &self, body: &str, arguments: Option<&Variant>, world_name: Option<&str>, source_uri: Option<&str>, cancellable: Option<&impl IsA<Cancellable>>, callback: P )
Available on crate feature
v2_40
only.source§fn call_async_javascript_function_future(
&self,
body: &str,
arguments: Option<&Variant>,
world_name: Option<&str>,
source_uri: Option<&str>
) -> Pin<Box_<dyn Future<Output = Result<Value, Error>> + 'static>>
fn call_async_javascript_function_future( &self, body: &str, arguments: Option<&Variant>, world_name: Option<&str>, source_uri: Option<&str> ) -> Pin<Box_<dyn Future<Output = Result<Value, Error>> + 'static>>
Available on crate feature
v2_40
only.fn can_execute_editing_command<P: FnOnce(Result<(), Error>) + 'static>( &self, command: &str, cancellable: Option<&impl IsA<Cancellable>>, callback: P )
fn can_execute_editing_command_future( &self, command: &str ) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>>
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>
source§fn evaluate_javascript<P: FnOnce(Result<Value, Error>) + 'static>(
&self,
script: &str,
world_name: Option<&str>,
source_uri: Option<&str>,
cancellable: Option<&impl IsA<Cancellable>>,
callback: P
)
fn evaluate_javascript<P: FnOnce(Result<Value, Error>) + 'static>( &self, script: &str, world_name: Option<&str>, source_uri: Option<&str>, cancellable: Option<&impl IsA<Cancellable>>, callback: P )
Available on crate feature
v2_40
only.source§fn evaluate_javascript_future(
&self,
script: &str,
world_name: Option<&str>,
source_uri: Option<&str>
) -> Pin<Box_<dyn Future<Output = Result<Value, Error>> + 'static>>
fn evaluate_javascript_future( &self, script: &str, world_name: Option<&str>, source_uri: Option<&str> ) -> Pin<Box_<dyn Future<Output = Result<Value, Error>> + 'static>>
Available on crate feature
v2_40
only.fn execute_editing_command(&self, command: &str)
source§fn execute_editing_command_with_argument(&self, command: &str, argument: &str)
fn execute_editing_command_with_argument(&self, command: &str, argument: &str)
Available on crate feature
v2_10
only.source§fn automation_presentation_type(&self) -> AutomationBrowsingContextPresentation
fn automation_presentation_type(&self) -> AutomationBrowsingContextPresentation
Available on crate feature
v2_28
only.fn back_forward_list(&self) -> Option<BackForwardList>
source§fn background_color(&self) -> RGBA
fn background_color(&self) -> RGBA
Available on crate feature
v2_8
only.source§fn camera_capture_state(&self) -> MediaCaptureState
fn camera_capture_state(&self) -> MediaCaptureState
Available on crate feature
v2_34
only.fn context(&self) -> Option<WebContext>
fn custom_charset(&self) -> Option<GString>
source§fn default_content_security_policy(&self) -> Option<GString>
fn default_content_security_policy(&self) -> Option<GString>
Available on crate feature
v2_38
only.source§fn display_capture_state(&self) -> MediaCaptureState
fn display_capture_state(&self) -> MediaCaptureState
Available on crate feature
v2_34
only.source§fn editor_state(&self) -> Option<EditorState>
fn editor_state(&self) -> Option<EditorState>
Available on crate feature
v2_10
only.fn estimated_load_progress(&self) -> f64
fn favicon(&self) -> Option<Surface>
fn find_controller(&self) -> Option<FindController>
source§fn input_method_context(&self) -> Option<InputMethodContext>
fn input_method_context(&self) -> Option<InputMethodContext>
Available on crate feature
v2_28
only.fn inspector(&self) -> Option<WebInspector>
source§fn is_web_process_responsive(&self) -> bool
fn is_web_process_responsive(&self) -> bool
Available on crate feature
v2_34
only.fn main_resource(&self) -> Option<WebResource>
source§fn microphone_capture_state(&self) -> MediaCaptureState
fn microphone_capture_state(&self) -> MediaCaptureState
Available on crate feature
v2_34
only.fn page_id(&self) -> u64
source§fn session_state(&self) -> Option<WebViewSessionState>
fn session_state(&self) -> Option<WebViewSessionState>
Available on crate feature
v2_12
only.fn settings(&self) -> Option<Settings>
fn snapshot<P: FnOnce(Result<Surface, Error>) + 'static>( &self, region: SnapshotRegion, options: SnapshotOptions, cancellable: Option<&impl IsA<Cancellable>>, callback: P )
fn snapshot_future( &self, region: SnapshotRegion, options: SnapshotOptions ) -> Pin<Box_<dyn Future<Output = Result<Surface, Error>> + 'static>>
fn title(&self) -> Option<GString>
fn tls_info(&self) -> Option<(TlsCertificate, TlsCertificateFlags)>
fn uri(&self) -> Option<GString>
source§fn user_content_manager(&self) -> Option<UserContentManager>
fn user_content_manager(&self) -> Option<UserContentManager>
Available on crate feature
v2_6
only.source§fn website_data_manager(&self) -> Option<WebsiteDataManager>
fn website_data_manager(&self) -> Option<WebsiteDataManager>
Available on crate feature
v2_16
only.source§fn website_policies(&self) -> Option<WebsitePolicies>
fn website_policies(&self) -> Option<WebsitePolicies>
Available on crate feature
v2_30
only.fn window_properties(&self) -> Option<WindowProperties>
fn zoom_level(&self) -> f64
fn go_back(&self)
fn go_forward(&self)
fn go_to_back_forward_list_item( &self, list_item: &impl IsA<BackForwardListItem> )
source§fn is_controlled_by_automation(&self) -> bool
fn is_controlled_by_automation(&self) -> bool
Available on crate feature
v2_18
only.source§fn is_editable(&self) -> bool
fn is_editable(&self) -> bool
Available on crate feature
v2_8
only.source§fn is_ephemeral(&self) -> bool
fn is_ephemeral(&self) -> bool
Available on crate feature
v2_16
only.fn is_loading(&self) -> bool
source§fn is_playing_audio(&self) -> bool
fn is_playing_audio(&self) -> bool
Available on crate feature
v2_8
only.fn load_alternate_html( &self, content: &str, content_uri: &str, base_uri: Option<&str> )
source§fn load_bytes(
&self,
bytes: &Bytes,
mime_type: Option<&str>,
encoding: Option<&str>,
base_uri: Option<&str>
)
fn load_bytes( &self, bytes: &Bytes, mime_type: Option<&str>, encoding: Option<&str>, base_uri: Option<&str> )
Available on crate feature
v2_6
only.fn load_html(&self, content: &str, base_uri: Option<&str>)
fn load_plain_text(&self, plain_text: &str)
fn load_request(&self, request: &impl IsA<URIRequest>)
fn load_uri(&self, uri: &str)
fn reload(&self)
fn reload_bypass_cache(&self)
source§fn restore_session_state(&self, state: &WebViewSessionState)
fn restore_session_state(&self, state: &WebViewSessionState)
Available on crate feature
v2_12
only.source§fn run_javascript<P: FnOnce(Result<JavascriptResult, Error>) + 'static>(
&self,
script: &str,
cancellable: Option<&impl IsA<Cancellable>>,
callback: P
)
fn run_javascript<P: FnOnce(Result<JavascriptResult, Error>) + 'static>( &self, script: &str, cancellable: Option<&impl IsA<Cancellable>>, callback: P )
👎Deprecated: Since 2.40
source§fn run_javascript_future(
&self,
script: &str
) -> Pin<Box_<dyn Future<Output = Result<JavascriptResult, Error>> + 'static>>
fn run_javascript_future( &self, script: &str ) -> Pin<Box_<dyn Future<Output = Result<JavascriptResult, Error>> + 'static>>
👎Deprecated: Since 2.40
source§fn run_javascript_from_gresource<P: FnOnce(Result<JavascriptResult, Error>) + 'static>(
&self,
resource: &str,
cancellable: Option<&impl IsA<Cancellable>>,
callback: P
)
fn run_javascript_from_gresource<P: FnOnce(Result<JavascriptResult, Error>) + 'static>( &self, resource: &str, cancellable: Option<&impl IsA<Cancellable>>, callback: P )
👎Deprecated: Since 2.40
source§fn run_javascript_from_gresource_future(
&self,
resource: &str
) -> Pin<Box_<dyn Future<Output = Result<JavascriptResult, Error>> + 'static>>
fn run_javascript_from_gresource_future( &self, resource: &str ) -> Pin<Box_<dyn Future<Output = Result<JavascriptResult, Error>> + 'static>>
👎Deprecated: Since 2.40
source§fn run_javascript_in_world<P: FnOnce(Result<JavascriptResult, Error>) + 'static>(
&self,
script: &str,
world_name: &str,
cancellable: Option<&impl IsA<Cancellable>>,
callback: P
)
fn run_javascript_in_world<P: FnOnce(Result<JavascriptResult, Error>) + 'static>( &self, script: &str, world_name: &str, cancellable: Option<&impl IsA<Cancellable>>, callback: P )
👎Deprecated: Since 2.40
Available on crate feature
v2_22
only.source§fn run_javascript_in_world_future(
&self,
script: &str,
world_name: &str
) -> Pin<Box_<dyn Future<Output = Result<JavascriptResult, Error>> + 'static>>
fn run_javascript_in_world_future( &self, script: &str, world_name: &str ) -> Pin<Box_<dyn Future<Output = Result<JavascriptResult, Error>> + 'static>>
👎Deprecated: Since 2.40
Available on crate feature
v2_22
only.fn save<P: FnOnce(Result<InputStream, Error>) + 'static>( &self, save_mode: SaveMode, cancellable: Option<&impl IsA<Cancellable>>, callback: P )
fn save_future( &self, save_mode: SaveMode ) -> Pin<Box_<dyn Future<Output = Result<InputStream, Error>> + 'static>>
fn save_to_file<P: FnOnce(Result<(), Error>) + 'static>( &self, file: &impl IsA<File>, save_mode: SaveMode, cancellable: Option<&impl IsA<Cancellable>>, callback: P )
fn save_to_file_future( &self, file: &(impl IsA<File> + Clone + 'static), save_mode: SaveMode ) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>>
source§fn send_message_to_page<P: FnOnce(Result<UserMessage, Error>) + 'static>(
&self,
message: &impl IsA<UserMessage>,
cancellable: Option<&impl IsA<Cancellable>>,
callback: P
)
fn send_message_to_page<P: FnOnce(Result<UserMessage, Error>) + 'static>( &self, message: &impl IsA<UserMessage>, cancellable: Option<&impl IsA<Cancellable>>, callback: P )
Available on crate feature
v2_28
only.source§fn send_message_to_page_future(
&self,
message: &(impl IsA<UserMessage> + Clone + 'static)
) -> Pin<Box_<dyn Future<Output = Result<UserMessage, Error>> + 'static>>
fn send_message_to_page_future( &self, message: &(impl IsA<UserMessage> + Clone + 'static) ) -> Pin<Box_<dyn Future<Output = Result<UserMessage, Error>> + 'static>>
Available on crate feature
v2_28
only.source§fn set_background_color(&self, rgba: &RGBA)
fn set_background_color(&self, rgba: &RGBA)
Available on crate feature
v2_8
only.source§fn set_camera_capture_state(&self, state: MediaCaptureState)
fn set_camera_capture_state(&self, state: MediaCaptureState)
Available on crate feature
v2_34
only.source§fn set_cors_allowlist(&self, allowlist: &[&str])
fn set_cors_allowlist(&self, allowlist: &[&str])
Available on crate feature
v2_34
only.fn set_custom_charset(&self, charset: Option<&str>)
source§fn set_display_capture_state(&self, state: MediaCaptureState)
fn set_display_capture_state(&self, state: MediaCaptureState)
Available on crate feature
v2_34
only.source§fn set_editable(&self, editable: bool)
fn set_editable(&self, editable: bool)
Available on crate feature
v2_8
only.source§fn set_input_method_context(
&self,
context: Option<&impl IsA<InputMethodContext>>
)
fn set_input_method_context( &self, context: Option<&impl IsA<InputMethodContext>> )
Available on crate feature
v2_28
only.source§fn set_is_muted(&self, muted: bool)
fn set_is_muted(&self, muted: bool)
Available on crate feature
v2_30
only.source§fn set_microphone_capture_state(&self, state: MediaCaptureState)
fn set_microphone_capture_state(&self, state: MediaCaptureState)
Available on crate feature
v2_34
only.fn set_settings(&self, settings: &impl IsA<Settings>)
fn set_zoom_level(&self, zoom_level: f64)
fn stop_loading(&self)
source§fn terminate_web_process(&self)
fn terminate_web_process(&self)
Available on crate feature
v2_34
only.fn web_context(&self) -> Option<WebContext>
source§fn connect_authenticate<F: Fn(&Self, &AuthenticationRequest) -> bool + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_authenticate<F: Fn(&Self, &AuthenticationRequest) -> bool + 'static>( &self, f: F ) -> SignalHandlerId
Available on crate feature
v2_2
only.fn connect_close<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
source§fn connect_create<F: Fn(&Self, &NavigationAction) -> Option<Widget> + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_create<F: Fn(&Self, &NavigationAction) -> Option<Widget> + 'static>( &self, f: F ) -> SignalHandlerId
Available on crate feature
v2_6
only.fn connect_decide_policy<F: Fn(&Self, &PolicyDecision, PolicyDecisionType) -> bool + 'static>( &self, f: F ) -> SignalHandlerId
fn connect_enter_fullscreen<F: Fn(&Self) -> bool + 'static>( &self, f: F ) -> SignalHandlerId
fn connect_insecure_content_detected<F: Fn(&Self, InsecureContentEvent) + 'static>( &self, f: F ) -> SignalHandlerId
fn connect_leave_fullscreen<F: Fn(&Self) -> bool + 'static>( &self, f: F ) -> SignalHandlerId
fn connect_load_changed<F: Fn(&Self, LoadEvent) + 'static>( &self, f: F ) -> SignalHandlerId
fn connect_load_failed<F: Fn(&Self, LoadEvent, &str, &Error) -> bool + 'static>( &self, f: F ) -> SignalHandlerId
source§fn connect_load_failed_with_tls_errors<F: Fn(&Self, &str, &TlsCertificate, TlsCertificateFlags) -> bool + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_load_failed_with_tls_errors<F: Fn(&Self, &str, &TlsCertificate, TlsCertificateFlags) -> bool + 'static>( &self, f: F ) -> SignalHandlerId
Available on crate feature
v2_6
only.fn connect_mouse_target_changed<F: Fn(&Self, &HitTestResult, u32) + 'static>( &self, f: F ) -> SignalHandlerId
fn connect_permission_request<F: Fn(&Self, &PermissionRequest) -> bool + 'static>( &self, f: F ) -> SignalHandlerId
fn connect_print<F: Fn(&Self, &PrintOperation) -> bool + 'static>( &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
fn connect_run_as_modal<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
source§fn connect_run_color_chooser<F: Fn(&Self, &ColorChooserRequest) -> bool + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_run_color_chooser<F: Fn(&Self, &ColorChooserRequest) -> bool + 'static>( &self, f: F ) -> SignalHandlerId
Available on crate feature
v2_8
only.fn connect_run_file_chooser<F: Fn(&Self, &FileChooserRequest) -> bool + 'static>( &self, f: F ) -> SignalHandlerId
source§fn connect_script_dialog<F: Fn(&Self, &ScriptDialog) -> bool + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_script_dialog<F: Fn(&Self, &ScriptDialog) -> bool + 'static>( &self, f: F ) -> SignalHandlerId
Available on crate feature
v2_24
only.source§fn connect_show_notification<F: Fn(&Self, &Notification) -> bool + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_show_notification<F: Fn(&Self, &Notification) -> bool + 'static>( &self, f: F ) -> SignalHandlerId
Available on crate feature
v2_8
only.Available on crate feature
v2_18
only.fn connect_submit_form<F: Fn(&Self, &FormSubmissionRequest) + 'static>( &self, f: F ) -> SignalHandlerId
source§fn connect_user_message_received<F: Fn(&Self, &UserMessage) -> bool + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_user_message_received<F: Fn(&Self, &UserMessage) -> bool + 'static>( &self, f: F ) -> SignalHandlerId
Available on crate feature
v2_28
only.source§fn connect_web_process_crashed<F: Fn(&Self) -> bool + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_web_process_crashed<F: Fn(&Self) -> bool + 'static>( &self, f: F ) -> SignalHandlerId
👎Deprecated: Since 2.20
source§fn connect_web_process_terminated<F: Fn(&Self, WebProcessTerminationReason) + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_web_process_terminated<F: Fn(&Self, WebProcessTerminationReason) + 'static>( &self, f: F ) -> SignalHandlerId
Available on crate feature
v2_20
only.source§fn connect_camera_capture_state_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_camera_capture_state_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId
Available on crate feature
v2_34
only.source§fn connect_display_capture_state_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_display_capture_state_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId
Available on crate feature
v2_34
only.source§fn connect_editable_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_editable_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId
Available on crate feature
v2_8
only.fn connect_estimated_load_progress_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId
fn connect_favicon_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId
fn connect_is_loading_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId
source§fn connect_is_muted_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_is_muted_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId
Available on crate feature
v2_30
only.source§fn connect_is_playing_audio_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_is_playing_audio_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId
Available on crate feature
v2_8
only.source§fn connect_is_web_process_responsive_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_is_web_process_responsive_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId
Available on crate feature
v2_34
only.source§fn connect_microphone_capture_state_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_microphone_capture_state_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId
Available on crate feature
v2_34
only.source§fn connect_page_id_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_page_id_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId
Available on crate feature
v2_28
only.source§fn connect_settings_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_settings_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId
Available on crate feature
v2_6
only.