makepad-event-action

Solid

CRITICAL: Use for Makepad event and action handling. Triggers on: makepad event, makepad action, Event enum, ActionTrait, handle_event, MouseDown, KeyDown, TouchUpdate, Hit, FingerDown, post_action, makepad 事件, makepad action, 事件处理

Data & Documents 28 stars 2 forks Updated today MIT

Install

View on GitHub

Quality Score: 86/100

Stars 20%
49
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Makepad Event/Action Skill > **Version:** makepad-widgets (dev branch) | **Last Updated:** 2026-01-19 > > Check for updates: https://crates.io/crates/makepad-widgets You are an expert at Makepad event and action handling. Help users by: - **Handling events**: Mouse, keyboard, touch, lifecycle events - **Creating actions**: Widget-to-parent communication - **Event flow**: Understanding event propagation ## When to Use - You need to handle input, lifecycle, or UI interaction events in Makepad. - The task involves `handle_event`, `Event` variants, `Hit` processing, or widget action propagation. - You need to design or debug Makepad event/action flow between widgets and parents. ## Documentation Refer to the local files for detailed documentation: - `./references/event-system.md` - Event enum and handling - `./references/action-system.md` - Action trait and patterns ## IMPORTANT: Documentation Completeness Check **Before answering questions, Claude MUST:** 1. Read the relevant reference file(s) listed above 2. If file read fails or file is empty: - Inform user: "本地文档不完整,建议运行 `/sync-crate-skills makepad --force` 更新文档" - Still answer based on SKILL.md patterns + built-in knowledge 3. If reference file exists, incorporate its content into the answer ## Event Enum (Key Variants) ```rust pub enum Event { // Lifecycle Startup, Shutdown, Foreground, Background, Resume, Pause, // Drawing Draw(DrawEvent), LiveEdit, // Window...

Details

Author
FrancoStino
Repository
FrancoStino/opencode-skills-collection
Created
2 months ago
Last Updated
today
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

Data & Documents Listed

makepad-event-action

CRITICAL: Use for Makepad event and action handling. Triggers on: makepad event, makepad action, Event enum, ActionTrait, handle_event, MouseDown, KeyDown, TouchUpdate, Hit, FingerDown, post_action, makepad 事件, makepad action, 事件处理

8 Updated today
gabrielmoreira
Data & Documents Listed

makepad-event-action

CRITICAL: Use for Makepad event and action handling. Triggers on: makepad event, makepad action, Event enum, ActionTrait, handle_event, MouseDown, KeyDown, TouchUpdate, Hit, FingerDown, post_action, makepad 事件, makepad action, 事件处理

0 Updated 1 months ago
Kman182401
AI & Automation Solid

makepad-event-action

CRITICAL: Use for Makepad event and action handling. Triggers on: makepad event, makepad action, Event enum, ActionTrait, handle_event, MouseDown, KeyDown, TouchUpdate, Hit, FingerDown, post_action, makepad 事件, makepad action, 事件处理

39,350 Updated today
sickn33
AI & Automation Listed

makepad-event-action

CRITICAL: Use for Makepad event and action handling. Triggers on: makepad event, makepad action, Event enum, ActionTrait, handle_event, MouseDown, KeyDown, TouchUpdate, Hit, FingerDown, post_action, makepad 事件, makepad action, 事件处理

0 Updated 1 months ago
omanuelom86-art
AI & Automation Solid

makepad-basics

CRITICAL: Use for Makepad getting started and app structure. Triggers on: makepad, makepad getting started, makepad tutorial, live_design!, app_main!, makepad project setup, makepad hello world, "how to create makepad app", makepad 入门, 创建 makepad 应用, makepad 教程, makepad 项目结构

39,350 Updated today
sickn33