Trait libhelium::prelude::BottomSheetExt

source ·
pub trait BottomSheetExt: IsA<BottomSheet> + Sealed + 'static {
Show 25 methods // Provided methods fn sheet(&self) -> Option<Widget> { ... } fn set_sheet(&self, value: Option<&impl IsA<Widget>>) { ... } fn sheet_stack(&self) -> Option<Stack> { ... } fn set_sheet_stack(&self, value: Option<&Stack>) { ... } fn button(&self) -> Option<Widget> { ... } fn set_button(&self, value: Option<&impl IsA<Widget>>) { ... } fn title(&self) -> Option<GString> { ... } fn set_title(&self, value: Option<&str>) { ... } fn shows_sheet(&self) -> bool { ... } fn set_show_sheet(&self, value: bool) { ... } fn is_modal(&self) -> bool { ... } fn set_modal(&self, value: bool) { ... } fn shows_handle(&self) -> bool { ... } fn set_show_handle(&self, value: bool) { ... } fn preferred_sheet_height(&self) -> i32 { ... } fn set_preferred_sheet_height(&self, value: i32) { ... } fn connect_hidden<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId { ... } fn connect_sheet_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_sheet_stack_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_button_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_title_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_show_sheet_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_modal_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_show_handle_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_preferred_sheet_height_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... }
}
Expand description

Trait containing all BottomSheet methods.

§Implementors

BottomSheet

Provided Methods§

source

fn sheet(&self) -> Option<Widget>

source

fn set_sheet(&self, value: Option<&impl IsA<Widget>>)

source

fn sheet_stack(&self) -> Option<Stack>

source

fn set_sheet_stack(&self, value: Option<&Stack>)

source

fn button(&self) -> Option<Widget>

source

fn set_button(&self, value: Option<&impl IsA<Widget>>)

source

fn title(&self) -> Option<GString>

source

fn set_title(&self, value: Option<&str>)

source

fn shows_sheet(&self) -> bool

source

fn set_show_sheet(&self, value: bool)

source

fn is_modal(&self) -> bool

source

fn set_modal(&self, value: bool)

source

fn shows_handle(&self) -> bool

source

fn set_show_handle(&self, value: bool)

source

fn preferred_sheet_height(&self) -> i32

source

fn set_preferred_sheet_height(&self, value: i32)

source

fn connect_hidden<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

The hidden signal fires when the sheet is hidden.

source

fn connect_sheet_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

source

fn connect_sheet_stack_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_button_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

source

fn connect_title_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

source

fn connect_show_sheet_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_modal_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

source

fn connect_show_handle_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_preferred_sheet_height_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Object Safety§

This trait is not object safe.

Implementors§