NiGui
NiGui copied to clipboard
Cross-platform desktop GUI toolkit written in Nim
Is there anyway to load from a byte seq for images etc? I'm wanting to bundling in the assets and instead of doing writing and removing from where I want...
```nim button_switchMode.onClick = proc(event: ClickEvent) = bMode = if bMode == ENCODE: button_switchMode.canvas.areaColor = rgb(255, 0, 0) button_switchMode.text = $DECODE DECODE else: button_switchMode.canvas.areaColor = rgb(0, 255, 0) button_switchMode.text = $ENCODE...
I do something like this: ```nim # setup for queryButton var queryButton = newButton(" Run Query ") queryButton.fontSize = 18 queryButton.textColor = rgb(30,144,255) # color ok queryButton.backGroundcolor = rgb(0,255,0) #...
```nim procProcess(filePaths).apply( proc (x: string) = textArea.addText(x) textArea.addText(longLineBreak) ) ``` Actions like these only work, if the `TextArea` is not "full" from the user's perspective. If the whole area is...
I already asked this question on [stackoverflow link](https://stackoverflow.com/questions/72423748/realign-controls-inside-a-layout-in-nigui). How can I change order of controls inside a container without rebuilding entire layout with new order? since that controls are saved...
The nigui.nim file is 2750 lines of code. Portions of the file would be easy to abstract away (into another file). I believe this would help code organization and make...
Simple API Reference needed with the procedures available for buttons, labels, text areas, etc.
If so, can you give an example of how to do this?
I was wondering if there is way to handle a z-index for a layout? I'm attempting to do a more tradition menu. I have labels for say "File", "Edit", "View",...
Just looking through the examples and noticed the nice pop-up for unhandled exceptions. It would be really helpful if this box either had a "Copy to clipboard" button, or if...