Trait gpui2::FocusableView

source ·
pub trait FocusableView: 'static + Render {
    // Required method
    fn focus_handle(&self, cx: &AppContext) -> FocusHandle;
}
Expand description

FocusableView allows users of your view to easily focus it (using cx.focus_view(view))

Required Methods§

Implementors§