Skip to content
Projekte

yglukhov/nimx has 1,192 GitHub stars and 78 forks. GitHot measured 0 in 7 days. Last checked 2026-11-10 22:22 UTC. Last push 2026-07-25.

So werden diese Zahlen gemessen

GUI library

Gemessener Sternzuwachs

in 24h
Aktualisierung verzögert
in 7 days
0
in 15 days
Aktualisierung verzögert
in 1 month
Aktualisierung verzögert

Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.

README.md

Original

nimx Build Status nimble

Cross-platform GUI framework in Nim. This is a development (version 2) version, a lot of upcoming breaking changes are expected. For the old version see v1 branch.

Live demo in WebGL

Sample Screenshot


Usage

# File: main.nim
import nimx/[window, text_field, layout]

proc startApp() =
  # First create a window. Window is the root of view hierarchy.
  var wnd = newWindow(newRect(40, 40, 800, 600))
  wnd.makeLayout:
    # Create a static text field, that occupies all the window
    - Label:
      frame == super
      text: "Hello, world!"

# Run the app
runApplication:
  startApp()

Running

nim c -r --threads:on main.nim

Supported target platforms

Nimx officially supports Linux, MacOS, Windows, Android, iOS and WebAssembly.

Troubleshooting

Nimx is tested only against the latest devel version of Nim compiler. Before reporting any issues please verify that your Nim is as fresh as possible.

Running nimx samples

  git clone https://github.com/yglukhov/nimx
  cd nimx
  nimble install -dy
  nake # Build and run on the current platform

Reference

See the docs for more information.

Ähnliche Projekte entdecken