Re: GTK 3.20 Nim wrapper

2016-12-27 Thread vlad1777d
again I missed a book ) Stefan_Salewski, it's good news =) I had some work several days, so I'll try to test it as soon as possible =) Thank you all =)

Re: GTK 3.20 Nim wrapper

2016-12-22 Thread vlad1777d
@dom96, ok, I'll look there from time to time. @Stefan_Salewski, seems that RsvgHandle has not svg data it's nil instead... I have troubles with RSVG: [https://pp.vk.me/c638428/v638428447/163f4/kS8kbEjzctU.jpg](https://pp.vk.me/c638428/v638428447/163f4/kS8kbEjzctU.jpg) If I'll comment line 59

Re: GTK 3.20 Nim wrapper

2016-12-21 Thread vlad1777d
@dom96, ok, this is not very problem for me. I heard that learning second language (I know Python) is much easier than first one. So if there will be possibilitywish to receive the book - I'll do that, if no - no. I'm sure in myself =) @Stefan_Salewski, I started to make RSVG wrapper in the

Re: GTK 3.20 Nim wrapper

2016-12-21 Thread vlad1777d
Oh, I had missed a discussion about a book. @dom96, but maybe there is a way for me to pay you directly and receive a digital version of book ? Or this is illegal because of your contract with Manning ?

Re: GTK 3.20 Nim wrapper

2016-12-21 Thread vlad1777d
I'll ask about book than =) First success: [https://pp.vk.me/c638428/v638428447/15f63/8Bgg0dH70NQ.jpg](https://pp.vk.me/c638428/v638428447/15f63/8Bgg0dH70NQ.jpg) Thanks for your wrapper and explainings =)

Re: GTK 3.20 Nim wrapper

2016-12-19 Thread vlad1777d
I thought that you're talking about book =) Than I don't understand how I can buy book from someone in this forum. I understand that I'll somehow send him money, than he'll send me book and remove it from his PC? I don't know about copyright in this sphere, when I buy book, I must

Re: GTK 3.20 Nim wrapper

2016-12-18 Thread vlad1777d
Thank you. Do you mean the book, not the one? Because if you mean paper, I'm afraid that it'll be hardexpensive to send it into Ukraine. About cint, I thought, that int is automatically converted to cint for C-type procs, as it's for strings, in manual andor tutorials I have not found

Re: GTK 3.20 Nim wrapper

2016-12-16 Thread vlad1777d
Thank you. My intentions are to learn Nim and Gtk by rewriting chess from Python + Gtk into Nim + Gtk =) Now I try to build indie game with my friend and than want to pass it into Steam's Greenlight: [https://vk.com/open_oasis](https://vk.com/open_oasis) (it's it's blog in Russian, you can

Re: GTK 3.20 Nim wrapper

2016-12-15 Thread vlad1777d
Thanks, all went normally, but I stacked with creating pixbuf from image. I decided to use this: [https://pp.vk.me/c638428/v638428447/13ff8/5by3ijiErV4.jpg](https://pp.vk.me/c638428/v638428447/13ff8/5by3ijiErV4.jpg) function, but I got an error:

Re: unescape \n \r etc in string

2016-12-15 Thread vlad1777d
@Krux02, maybe this is a bug, you could post an issue on GitHub.

Re: GTK 3.20 Nim wrapper

2016-11-12 Thread vlad1777d
But do you know what to do with this error? [https://pp.vk.me/c638518/v638518447/8b77/4XL_Mn8aakE.jpg](https://pp.vk.me/c638518/v638518447/8b77/4XL_Mn8aakE.jpg)

Re: GTK 3.20 Nim wrapper

2016-11-03 Thread vlad1777d
Thank you, I'll try to buy the book some time. 20 dollars is really not much. If it would be in my language - I would even ask a digital version of it. But in English it's not really good to read it. I use translator through every 2-3 sentences. I had already read tutorials and manual, I

Re: GTK 3.20 Nim wrapper

2016-10-31 Thread vlad1777d
Not nice solution, but better than having crashes when you work on code =)

Import from parent directory

2016-10-31 Thread vlad1777d
Hello dear friends. I can import from subdirectories so: import subdir/some_module , or so: import subdir.some_module I can import from parent directory so: import ../some_module I can import from parent directory and it's subdirectory so: import ../subdir_of_parent/some_module But I can't

Re: GTK 3.20 Nim wrapper

2016-10-31 Thread vlad1777d
I took information from here: [http://nim-lang.org/docs/nimc.html](http://forum.nim-lang.org///nim-lang.org/docs/nimc.html) about path option and .cfg files, here:

Re: GTK 3.20 Nim wrapper

2016-10-31 Thread vlad1777d
I added gdk3.nim to the folder, where gtk3.nim was, it imported, now same error is while importing glib: """/home/vlad/Programs/programming/libraries/Nim/ngtk3/nim-gtk3/src/gdk3.nim(14, 6) Error: cannot open 'glib' """ Do I need to place them in one directory, or I can make some configure for

Re: GTK 3.20 Nim wrapper

2016-10-31 Thread vlad1777d
Thank you, I understood my error. I need links to all those libraries (i placed test file with gtk3.nim in one folder). But I have now such issue: """home/vlad/Programs/programming/libraries/Nim/ngtk3/nim-gtk3/src/gtk3.nim(14, 6) Error: cannot open 'gdk3'""" with your test file from one of

Re: GTK 3.20 Nim wrapper

2016-10-30 Thread vlad1777d
How to make it work? (I'm a newbie in this) test.nim(1, 8) Error: cannot open 'gtk3' I downloaded from github archive and tried to compile: nim c '/home/vlad/Programs/programming/libraries/Nim/nim-gtk3-master/test/test.nim'

Re: Tabulation symbols not allowed

2016-09-05 Thread vlad1777d
> With proportional fonts unfortunately 2 spaces generate a tiny indent step. > So I have to use 3 or 4 spaces, or finally a tab! I think I will do the later > with the replace command mentioned above. The only disadvantage is that > github puts 8 spaces for each tab, so I have to convert files