NiGui icon indicating copy to clipboard operation
NiGui copied to clipboard

Cross-platform desktop GUI toolkit written in Nim

Results 67 NiGui issues
Sort by recently updated
recently updated
newest added

Quoting from FAQ: _Sizes of "example_01_basic_app": Linux x64 binary: 608 kB_ However, with a little bit of optimization and stripping, I get 127KB for a x64 Linux binary. For example_02_controls,...

I'm quite new with Nim and NiGui was my first choice for GUI framework. I gotta say that I love it to bits - it's maybe not perfectly documented, but...

feature

Error with ram still exists I checked and on Ubuntu and Arch code: import nigui app.init() var window = newWindow("Test") window.width = 600.scaleToDpi window.height = 400.scaleToDpi var container = newLayoutContainer(Layout_Vertical)...

bug
Gtk-specific

By polling the global dispatcher from the queueMain hook I can successfully implement async logic in GUI thread. This works nicely on linux with GTK, but on windows native the...

bug
Windows-specific

OS: Nobara linux 37 The code: ```nim import nigui app.init() var window = newWindow("window") window.width = 350.scaleToDpi window.height = 200.scaleToDpi var baseContainer = newLayoutContainer(Layout_Vertical) baseContainer.widthMode = WidthMode_Expand baseContainer.xAlign = XAlign_Center...

Adding an icon to a messagebox window.onCloseClick = proc(event: CloseClickEvent) = case window.msgBox("Message Box Text", "Message Box Title", "assets/icon.png", "OK", "Cancel", "No") of 1: window.dispose() of 2: window.minimize() else: discard

Is there a way to make windows with fixed sizes or ratios?

feature

Running Windows 10. When choosing a Font Family, which is naturally large, without any modification, compared to other Font Families, then app sizing becomes wonky. Every message box starts getting...

Running Windows 10. Providing an invalid default Font Family for the app makes it freeze & crash on the first draw event, without giving any clue on what's happened. ###...

On a m2 mac air it compiles fine but this is the error it gives when ran `dlopen(libgtk-3.0.dylib, 0x0002): tried: 'libgtk-3.0.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibgtk-3.0.dylib' (no such file), '/usr/lib/libgtk-3.0.dylib' (no...

macOS-specific