Hey all,
I have two Nim GUI programs running and would like to know the easiest way to
get them to communicate
Gui 1. Is 3d physics environment using opengl, all wrapped in nim, I have the
mainloop
Gui 2. Is a nim IUP gui (uses nim IUP nimble package) with panels, buttons etc
I would like the
I work with multiple nim packages, and wrote a tiny shell script that turned
out to be very useful for me. I just thought I might share it here, if anyone
cares:
function niminstall {
if [[ -e ~/proj/nim/$1 ]]; then
pushd -q ~/proj/nim/$1
yes | nimble
For your last question:
grep WindowObj src/gtk3.nim
Window* = ptr WindowObj
WindowPtr* = ptr WindowObj
WindowObj* = object of BinObj
In Nim as in many other OOP languages we can use hyrachical object structures,
by using the "object of" notation. In C GTK related struct