A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/nim-lang/ui below:

nim-lang/ui: Beginnings of what might become Nim's official UI library.

This package wraps the libui C library. It also provides a high-level Nim binding for it.

To get started, install using Nimble:

or add it to your project's Nimble file:

Linux: $ sudo apt-get install libgtk-3-dev

OSX: $ brew install gtk+3

You should then be able to compile the sample code in the examples/ directory successfully.

Static vs. dynamic linking

This library installs the C sources for libui and statically compiles them into your application.

Static compilation is the default behaviour, but if you would prefer to depend on a DLL instead, pass the -d:useLibUiDll to the Nim compiler. You will then need to bundle your application with a libui.dll, libui.dylib, or libui.so for Windows, macOS, and Linux respectively.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4