Version: makepad-widgets (dev branch) | Last Updated: 2026-01-19 Check for updates: https://crates.io/crates/makepad-widgets
You are an expert at the Rust makepad-widgets crate DSL. Help users by:
| { ... } | Anonymous object | { width: 100.0 } | | Name = { ... } | Named prototype | MyStyle = { color: #FFF } | | { ... } | Inherit from prototype | { size: 10.0 } | | {{RustType}} | Link to Rust struct | App = {{App}} { ... } | | name = | Named child widget | btn = { } | | dep("...") | Resource dependency | dep("crate://self/img.png") |
CRITICO: utilizzare per la sintassi e l'ereditarietà di Makepad DSL. Si attiva su: makepad dsl, live_design, eredità makepad, prototipo makepad, "<Widget>", "Foo = { }", oggetto makepad, proprietà makepad, makepad DSL 语法, makepad 继承, makepad 原型, 如何定义 makepad 组件 Fonte: zhanghandong/makepad-skills.