pub trait BinExt: IsA<Bin> + Sealed + 'static {
// Provided methods
fn add_child(
&self,
builder: &Builder,
child: &impl IsA<Object>,
type_: Option<&str>,
) { ... }
fn child(&self) -> Widget { ... }
fn set_child(&self, value: &impl IsA<Widget>) { ... }
fn connect_child_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
}Expand description
Trait containing all Bin methods.
§Implementors
AppBar, Avatar, Badge, Banner, Bin, BottomBar, ChipGroup, ContentBlockImageCluster, ContentBlockImage, ContentBlock, ContentList, Divider, EmptyPage, MiniContentBlock, ModifierBadge, NavigationRail, NavigationSection, OverlayButton, ProgressBar, SettingsList, SettingsPage, SideBar, Slider, SwitchBar, Switch, TabPage, TabSwitcher, Tab, Toast, ViewChooser, ViewMono, ViewSubTitle, ViewSwitcher, ViewTitle, WelcomeScreen
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>, )
fn child(&self) -> Widget
fn set_child(&self, value: &impl IsA<Widget>)
fn connect_child_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
Object Safety§
This trait is not object safe.