RecurLoop/ Documentation
Gui/APIv0.2.12

Gui:TooltipQuery

Compile a typed function.

Tooltip callback receiving widget-local coordinates. Set the tooltip text and return nonzero to display it.

Syntax

recurloop
[<name:id>] "(" <parameters:raw> ")" "->" <result:qualified-id> [<body:block>]

Example

recurloop
fn add(a:i64, b:i64) -> i64 { return a + b }

Arguments

  • —
  • : —
  • body — Statements in braces. return supplies the result.
  • parameters — Comma-separated name:type pairs; leave empty for no parameters.
  • result — Return type; use void when no value is returned.