Trait makepad_widgets::widget::WidgetDrawApi
source · pub trait WidgetDrawApi {
// Required methods
fn is_done(&self) -> bool;
fn is_hook(&self) -> bool;
fn hook_widget(self) -> Option<WidgetRef>;
// Provided methods
fn done() -> WidgetDraw { ... }
fn hook(arg: WidgetRef) -> WidgetDraw { ... }
fn hook_above() -> WidgetDraw { ... }
}