Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Basic Example

A minimal Nemo application demonstrating the core structure: a window with a label, a panel, a button, and an HTTP data source.

Screenshot

Run

cargo run -- --app-config examples/basic/app.xml

What It Shows

  • app block with window title, header bar, and theme configuration
  • layout block with a vertical stack containing a label and a panel
  • A button with an on_click handler that calls a RHAI function
  • An HTTP data source that polls an API endpoint every 30 seconds
  • A RHAI script (scripts/handlers.rhai) with event handler functions