Egui::Response
Inherits Reference < Object
egui Response::context_menu for a prebuilt ContextMenu — the
class-based twin of the block version in containers/menu.cr.
Constants
egui tooltip (containers/tooltip.rs): appears in the Tooltip layer at the pointer + offset, after the widget has been hovered for a short delay (hover-start time is per-widget system state).
Constructors
Instance methods
egui Response::mark_changed — widgets call this after mutating
the value they view.
egui Response::on_hover_and_drag_cursor — same, but also while
dragging (sliders, resize grips).
egui Response::on_hover_cursor — when hovered, use this icon
for the mouse cursor.
Bitmap-cursor twins of the two above (Context#set_cursor_image):
show a CustomCursorImage (e.g. a paint-bucket sprite) instead of
a standard icon while hovered / dragged.
egui focus highlight: a ring around the focused widget (upstream draws it in the widget's own stroke; a dedicated ring is simpler here). Widgets call this right after painting themselves.
Color widgets (ColorPicker) publish the picked color
(ui.color_edit32(color) { |c| … }).
Color widgets (ColorPicker) publish the picked color
(ui.color_edit32(color) { |c| … }).
Text widgets (TextEdit) publish the edited buffer the same way
(ui.text_edit_singleline(buf) { |new| … }).
Text widgets (TextEdit) publish the edited buffer the same way
(ui.text_edit_singleline(buf) { |new| … }).
Value widgets (Slider, DragValue) publish their freshly computed
value here so the Ui block-form helpers can hand it back to the
app (ui.slider(v, range) { |new_v| … }).
Value widgets (Slider, DragValue) publish their freshly computed
value here so the Ui block-form helpers can hand it back to the
app (ui.slider(v, range) { |new_v| … }).