messaging - or communicating between GUI's

2016-11-13 Thread god
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

script of the day, to work with multiple nim packages

2016-11-13 Thread Krux02
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

Re: GTK 3.20 Nim wrapper

2016-11-13 Thread Stefan_Salewski
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