pub trait ViewExt: IsA<View> + Sealed + 'static {
Show 14 methods
// Provided methods
fn add_child(
&self,
builder: &Builder,
child: &impl IsA<Object>,
type_: Option<&str>,
) { ... }
fn add(&self, widget: &impl IsA<Widget>) { ... }
fn title(&self) -> GString { ... }
fn set_title(&self, value: &str) { ... }
fn stack(&self) -> Stack { ... }
fn set_stack(&self, value: &Stack) { ... }
fn subtitle(&self) -> GString { ... }
fn set_subtitle(&self, value: &str) { ... }
fn has_margins(&self) -> bool { ... }
fn set_has_margins(&self, value: bool) { ... }
fn connect_title_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_stack_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_subtitle_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_has_margins_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
}
Provided Methods§
sourcefn add_child(
&self,
builder: &Builder,
child: &impl IsA<Object>,
type_: Option<&str>,
)
fn add_child( &self, builder: &Builder, child: &impl IsA<Object>, type_: Option<&str>, )
sourcefn add(&self, widget: &impl IsA<Widget>)
fn add(&self, widget: &impl IsA<Widget>)
Since: 1.0
fn title(&self) -> GString
fn set_title(&self, value: &str)
fn stack(&self) -> Stack
fn set_stack(&self, value: &Stack)
fn subtitle(&self) -> GString
fn set_subtitle(&self, value: &str)
fn has_margins(&self) -> bool
fn set_has_margins(&self, value: bool)
fn connect_title_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_stack_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_subtitle_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_has_margins_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
Object Safety§
This trait is not object safe.