M0: WIT package, MoonBit components, JS host, docs, CI (#1)
CI / test (push) Successful in 19s
CI / test (push) Successful in 19s
This commit was merged in pull request #1.
This commit is contained in:
1 parent
e5548fc067
commit
880ecd4102
141 files changed
+9681
-1
No files matched your search
@@ -0,0 +1,44 @@
|
||||
// Generated using `moon info`, DON'T EDIT IT
|
||||
package "moonplasma/desktop/lib/launcher"
|
||||
|
||||
import {
|
||||
"moonplasma/desktop/interface/moonplasma/desktop/theme",
|
||||
"moonplasma/desktop/interface/moonplasma/desktop/types",
|
||||
}
|
||||
|
||||
// Values
|
||||
pub fn close(State) -> Unit
|
||||
|
||||
pub fn filter(Array[@types.AppEntry], String) -> Array[@types.AppEntry]
|
||||
|
||||
pub fn handle_event(Array[@types.AppEntry], State, Target, @types.InputEvent, (String) -> Result[Unit, String]) -> Bool
|
||||
|
||||
pub fn popup_size(Array[@types.AppEntry], State) -> @types.Size
|
||||
|
||||
pub let popup_w : Int32
|
||||
|
||||
pub fn render_button(@types.Size, @theme.Tokens, State) -> Array[@types.DrawOp]
|
||||
|
||||
pub fn render_popup(Array[@types.AppEntry], @theme.Tokens, State) -> Array[@types.DrawOp]
|
||||
|
||||
pub fn row_at(Array[@types.AppEntry], State, @types.Point) -> Int32
|
||||
|
||||
// Errors
|
||||
|
||||
// Types and methods
|
||||
pub struct State {
|
||||
mut open : Bool
|
||||
mut query : String
|
||||
mut hover : Int32
|
||||
mut error : String
|
||||
}
|
||||
pub fn State::new() -> Self
|
||||
|
||||
pub(all) enum Target {
|
||||
Widget
|
||||
Popup
|
||||
}
|
||||
|
||||
// Type aliases
|
||||
|
||||
// Traits
|
||||
Reference in new issue
Block a user