pub trait StatefulInteractiveElement: InteractiveElement {
    // Provided methods
    fn focusable(self) -> Focusable<Self> { ... }
    fn overflow_scroll(self) -> Self { ... }
    fn overflow_x_scroll(self) -> Self { ... }
    fn overflow_y_scroll(self) -> Self { ... }
    fn active(self, f: impl FnOnce(StyleRefinement) -> StyleRefinement) -> Self
       where Self: Sized { ... }
    fn group_active(
        self,
        group_name: impl Into<SharedString>,
        f: impl FnOnce(StyleRefinement) -> StyleRefinement
    ) -> Self
       where Self: Sized { ... }
    fn on_click(
        self,
        listener: impl Fn(&ClickEvent, &mut WindowContext<'_>) + 'static
    ) -> Self
       where Self: Sized { ... }
    fn on_drag<W>(
        self,
        listener: impl Fn(&mut WindowContext<'_>) -> View<W> + 'static
    ) -> Self
       where Self: Sized,
             W: 'static + Render { ... }
    fn on_hover(
        self,
        listener: impl Fn(&bool, &mut WindowContext<'_>) + 'static
    ) -> Self
       where Self: Sized { ... }
    fn tooltip(
        self,
        build_tooltip: impl Fn(&mut WindowContext<'_>) -> AnyView + 'static
    ) -> Self
       where Self: Sized { ... }
}

Provided Methods§

source

fn focusable(self) -> Focusable<Self>

source

fn overflow_scroll(self) -> Self

source

fn overflow_x_scroll(self) -> Self

source

fn overflow_y_scroll(self) -> Self

source

fn active(self, f: impl FnOnce(StyleRefinement) -> StyleRefinement) -> Selfwhere Self: Sized,

source

fn group_active( self, group_name: impl Into<SharedString>, f: impl FnOnce(StyleRefinement) -> StyleRefinement ) -> Selfwhere Self: Sized,

source

fn on_click( self, listener: impl Fn(&ClickEvent, &mut WindowContext<'_>) + 'static ) -> Selfwhere Self: Sized,

source

fn on_drag<W>( self, listener: impl Fn(&mut WindowContext<'_>) -> View<W> + 'static ) -> Selfwhere Self: Sized, W: 'static + Render,

source

fn on_hover( self, listener: impl Fn(&bool, &mut WindowContext<'_>) + 'static ) -> Selfwhere Self: Sized,

source

fn tooltip( self, build_tooltip: impl Fn(&mut WindowContext<'_>) -> AnyView + 'static ) -> Selfwhere Self: Sized,

Implementors§