std1.0.0-beta-7 SafeC docs

std :: gui::gui_widget

Type alias std::WidgetCustomEventFn

#include <std/gui/gui_widget.h> source

typedef fn int(&Widget, &GuiEvent) WidgetCustomEventFn

Custom event(widget, event) -> 1 if handled (stops the event from reaching this widget's parent/siblings), 0 to let normal dispatch (hover/press/click detection) continue.