Trait libhelium::prelude::ViewDualExt

source ·
pub trait ViewDualExt: IsA<ViewDual> + Sealed + 'static {
    // Provided methods
    fn orientation(&self) -> Orientation { ... }
    fn set_orientation(&self, value: Orientation) { ... }
    fn shows_handle(&self) -> bool { ... }
    fn set_show_handle(&self, value: bool) { ... }
    fn child_start(&self) -> Option<Widget> { ... }
    fn set_child_start(&self, value: Option<&impl IsA<Widget>>) { ... }
    fn child_end(&self) -> Option<Widget> { ... }
    fn set_child_end(&self, value: Option<&impl IsA<Widget>>) { ... }
    fn connect_orientation_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
    fn connect_show_handle_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
    fn connect_child_start_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
    fn connect_child_end_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
}
Expand description

Trait containing all ViewDual methods.

§Implementors

ViewDual

Provided Methods§

source

fn orientation(&self) -> Orientation

source

fn set_orientation(&self, value: Orientation)

source

fn shows_handle(&self) -> bool

source

fn set_show_handle(&self, value: bool)

source

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

source

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

source

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

source

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

source

fn connect_orientation_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_child_start_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

source

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

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<O: IsA<ViewDual>> ViewDualExt for O