appcui/ui/dropdownlist/events.rs
1use std::any::TypeId;
2use crate::{system::Handle, ui::common::traits::EventProcessStatus};
3
4pub trait GenericDropDownListEvents {
5 fn on_selection_changed(&mut self, _handle: Handle<()>, _type_id: TypeId) -> EventProcessStatus {
6 EventProcessStatus::Ignored
7 }
8}
9#[derive(Copy, Clone)]
10pub(crate) struct EventData {
11 pub(crate) type_id: std::any::TypeId
12}