tray-examples

Examples for justjavac/tray.

tray
native
examples
moon add justjavac/tray-examples@0.1.1
Download zip
Author
Version
0.1.1
License
MIT
Last updated
last month
Downloads
17

Dependencies

README

#Examples

This directory contains standalone MoonBit example programs for justjavac/tray.

Run them from this directory:

moon run check_support moon run basic_lifecycle moon run application_loop moon run custom_icon moon run custom_icon -- path/to/icon.png "My tray tooltip"

Included programs:

  • check_support: probe the current platform and print the support result
  • basic_lifecycle: create a tray, show it, hide it, and destroy it cleanly
  • application_loop: demonstrate how to pump the tray backend from an app loop
  • custom_icon: pass a custom icon path and optional tooltip from the command line

Powered by MoonBit

Site sourceReport issuePackagesBuild queueSkillsStatistics

© 2026 mooncakes.io