pub trait ViewExt: 'static {
Show 14 methods
fn title(&self) -> Option<GString>;
fn set_title(&self, value: &str);
fn stack(&self) -> Option<Stack>;
fn set_stack(&self, value: &Stack);
fn subtitle(&self) -> Option<GString>;
fn set_subtitle(&self, value: &str);
fn has_margins(&self) -> bool;
fn set_has_margins(&self, value: bool);
fn add_child(
&self,
builder: &Builder,
child: &impl IsA<Object>,
type_: Option<&str>
);
fn add(&self, widget: &impl IsA<Widget>);
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;
}
Expand description