Struct tuix_internal::ScrollContainerH [−][src]
pub struct ScrollContainerH {
pub scroll: Scroll,
// some fields omitted
}
Fields
scroll: Scroll
Implementations
pub fn on_scroll<F>(self, callback: F) -> ScrollContainerH where
F: 'static + Fn(&mut ScrollContainerH, &mut State, Entity),
Trait Implementations
pub fn on_update(
&mut self,
state: &mut State,
_entity: Entity,
data: &<ScrollContainerH as Widget>::Data
)
Adds the widget into state and returns the associated type Ret - an entity id or a tuple of entity ids