
from awesome-skills-cn78
Event and action handling patterns for Makepad widgets — guides handling Mouse/Touch/Keyboard events, Hit detection, action emission and parent capture.
Provides detailed guidance and examples for handling Makepad UI events and emitting/propagating widget actions. The skill documents the Event enum, Hit variants, common handle_event patterns, action emission (cx.action), and capturing child actions from parents. It includes Rust code snippets demonstrating idiomatic patterns.
Use this skill when designing, implementing, or debugging input handling and widget communication in Makepad-based UIs — e.g., mouse/touch handling, keyboard bindings, timers, or parent-child action flows. Also useful when porting widgets or implementing custom interaction logic.
Useful for agents assisting Rust/Makepad developers, or any assistant that answers UI event handling questions.
Pure documentation skill for Makepad (Rust UI framework) event/action handling. No scripts or executable code — just SKILL.md with Rust code examples covering Event enum, Hit detection, action emission, and widget action helpers. Well-structured reference material for a niche audience.
Clean, safe reference skill. No security concerns. Niche audience (Makepad developers). The 'IMPORTANT: Documentation Completeness Check' section instructs Claude to read local reference files that aren't bundled — this is a design gap, not a security issue.