pub struct WebViewBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct WebView
objects.
Implementations§
Source§impl WebViewBuilder
impl WebViewBuilder
pub fn automation_presentation_type( self, automation_presentation_type: AutomationBrowsingContextPresentation, ) -> Self
Available on crate feature
v2_28
only.pub fn camera_capture_state( self, camera_capture_state: MediaCaptureState, ) -> Self
Available on crate feature
v2_34
only.pub fn default_content_security_policy( self, default_content_security_policy: impl Into<GString>, ) -> Self
Available on crate feature
v2_38
only.pub fn display_capture_state( self, display_capture_state: MediaCaptureState, ) -> Self
Available on crate feature
v2_34
only.pub fn editable(self, editable: bool) -> Self
Available on crate feature
v2_8
only.pub fn is_controlled_by_automation( self, is_controlled_by_automation: bool, ) -> Self
Available on crate feature
v2_18
only.pub fn is_ephemeral(self, is_ephemeral: bool) -> Self
Available on crate feature
v2_16
only.pub fn is_muted(self, is_muted: bool) -> Self
Available on crate feature
v2_30
only.pub fn microphone_capture_state( self, microphone_capture_state: MediaCaptureState, ) -> Self
Available on crate feature
v2_34
only.Available on crate feature
v2_4
only.pub fn settings(self, settings: &impl IsA<Settings>) -> Self
Available on crate feature
v2_6
only.pub fn user_content_manager( self, user_content_manager: &impl IsA<UserContentManager>, ) -> Self
Available on crate feature
v2_6
only.pub fn web_context(self, web_context: &impl IsA<WebContext>) -> Self
pub fn website_policies( self, website_policies: &impl IsA<WebsitePolicies>, ) -> Self
Available on crate features
v2_38
and v2_30
only.pub fn zoom_level(self, zoom_level: f64) -> Self
pub fn border_width(self, border_width: u32) -> Self
pub fn child(self, child: &impl IsA<Widget>) -> Self
pub fn app_paintable(self, app_paintable: bool) -> Self
pub fn can_default(self, can_default: bool) -> Self
pub fn can_focus(self, can_focus: bool) -> Self
pub fn has_default(self, has_default: bool) -> Self
Available on crate feature
gtk_v3
only.pub fn has_focus(self, has_focus: bool) -> Self
pub fn height_request(self, height_request: i32) -> Self
pub fn is_focus(self, is_focus: bool) -> Self
pub fn name(self, name: impl Into<GString>) -> Self
pub fn no_show_all(self, no_show_all: bool) -> Self
pub fn parent(self, parent: &impl IsA<Container>) -> Self
pub fn receives_default(self, receives_default: bool) -> Self
pub fn sensitive(self, sensitive: bool) -> Self
pub fn visible(self, visible: bool) -> Self
pub fn width_request(self, width_request: i32) -> Self
Auto Trait Implementations§
impl Freeze for WebViewBuilder
impl RefUnwindSafe for WebViewBuilder
impl !Send for WebViewBuilder
impl !Sync for WebViewBuilder
impl Unpin for WebViewBuilder
impl UnwindSafe for WebViewBuilder
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