usesuper::disableable::Disableable;usegpui::{App, ClickEvent, Window};/// Trait for elements that can be clicked.
////// This trait extends `Disableable` since clickable elements typically
/// need to support being disabled to prevent interaction.
pubtraitClickable: Disableable {/// Set the click handler.
////// The handler will be called when the element is clicked,
/// unless the element is disabled.
fnon_click(self, handler: impl Fn(&ClickEvent, &mutWindow, &mutApp) + 'static)->Self;}