NiGui
NiGui copied to clipboard
Cross-platform desktop GUI toolkit written in Nim
Hi, I was wondering if it's possible to obtain the position of the cursor from a clickevent. Is there something like a `cursor` field? The `x` and `y` fields respectively...
Hi, You are defining a Color object, but Nim already defines a Color type in its standard library: [color.nim](https://github.com/nim-lang/Nim/blob/master/lib/pure/colors.nim) Wouldn't using that instead of redefining the type be possible ?...
I am trying to make it possible to draw on a window and change what the mouse uses for drawing between circles and rectangles. I am able to get it...
I separated out a version of the common implementation file nigui.nim. I did so by using logical modules such as "Control" or "Button" and included all relevant code for that...
All the examples use global vars to maintain state across controls. But this doesn't scale well or work well with large apps. Is is possible to subclass? I've tried: ```nim...
When I tried to compile `example_01_basic_app.nim` , it gave me runtime error ``` platform_impl.nim(373) init platform_impl.nim(173) pEnableVisualStyles platform_impl.nim(32) pRaiseLastOSError nigui.nim(935) raiseError Error: unhandled exception: An attempt to set the process...
Hey I noticed there was no way to control whether the user can resize/minimize/maximise a window, so I added appropriate getters and setters and implemented them for Win32. I'm having...
Keys on the numberpad with or without Numlock do not trigger any key.events. so pressing on the Enter key on the numpad of a full size keyboard would yield: ```...
Would this be a good starting point for adding Mac OS support? https://github.com/jangko/objc
When pressing the key "1" together with Shift, `KeyboardEvent.character` is "!" for the German keyboard layout. This works on Windows and Gtk, however `KeyboardEvent.key` is different on Windows and Gtk....