{"action":"created","issue":{"url":"https://api.github.com/repos/StefanSalewski/nim-gtk3/issues/2","labels_url":"https://api.github.com/repos/StefanSalewski/nim-gtk3/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/StefanSalewski/nim-gtk3/issues/2/comments","events_url":"https://api.github.com/repos/StefanSalewski/nim-gtk3/issues/2/events","html_url":"https://github.com/StefanSalewski/nim-gtk3/issues/2","id":90762387,"number":2,"title":"Development progress nim-gtk3","user":{"login":"thalesrodolfo","id":10382097,"avatar_url":"https://avatars.githubusercontent.com/u/10382097?v=3","gravatar_id":"","url":"https://api.github.com/users/thalesrodolfo","html_url":"https://github.com/thalesrodolfo","followers_url":"https://api.github.com/users/thalesrodolfo/followers","following_url":"https://api.github.com/users/thalesrodolfo/following{/other_user}","gists_url":"https://api.github.com/users/thalesrodolfo/gists{/gist_id}","starred_url":"https://api.github.com/users/thalesrodolfo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thalesrodolfo/subscriptions","organizations_url":"https://api.github.com/users/thalesrodolfo/orgs","repos_url":"https://api.github.com/users/thalesrodolfo/repos","events_url":"https://api.github.com/users/thalesrodolfo/events{/privacy}","received_events_url":"https://api.github.com/users/thalesrodolfo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-24T19:19:05Z","updated_at":"2015-06-25T11:07:35Z","closed_at":null,"body":"Hi, I've started to learn nim and I'm liking a lot. But one of the things I miss the most it is the GTK3 support. I'm working on a project with python-gtk3 and I would like to port it to nim. So I would like to know how are the development of this port you're doing. It is usable right now? Do you have the intent of continue developing it?\r\n\r\n* Sorry if this is not the right place to ask."},"comment":{"url":"https://api.github.com/repos/StefanSalewski/nim-gtk3/issues/comments/115211758","html_url":"https://github.com/StefanSalewski/nim-gtk3/issues/2#issuecomment-115211758","issue_url":"https://api.github.com/repos/StefanSalewski/nim-gtk3/issues/2","id":115211758,"user":{"login":"StefanSalewski","id":9699960,"avatar_url":"https://avatars.githubusercontent.com/u/9699960?v=3","gravatar_id":"","url":"https://api.github.com/users/StefanSalewski","html_url":"https://github.com/StefanSalewski","followers_url":"https://api.github.com/users/StefanSalewski/followers","following_url":"https://api.github.com/users/StefanSalewski/following{/other_user}","gists_url":"https://api.github.com/users/StefanSalewski/gists{/gist_id}","starred_url":"https://api.github.com/users/StefanSalewski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StefanSalewski/subscriptions","organizations_url":"https://api.github.com/users/StefanSalewski/orgs","repos_url":"https://api.github.com/users/StefanSalewski/repos","events_url":"https://api.github.com/users/StefanSalewski/events{/privacy}","received_events_url":"https://api.github.com/users/StefanSalewski/received_events","type":"User","site_admin":false},"created_at":"2015-06-25T11:07:35Z","updated_at":"2015-06-25T11:07:35Z","body":"GTK3 for Nim is in good shape of course -- the wrapper fully supports\r\n3.15.xx which should be identical from API with 3.16. All related stuff\r\nlike cairo and pango is available. Nimble install is not supported\r\ncurrently, because I am fearing name conflicts with the old legacy GTK2\r\nwrappers. But manually installing is not so much work. Garbage-Collector\r\nsupport is still missing, but that is generally not a big problem,\r\nbecause GTK's ref counting does most of the work fine. A Aporia port is\r\navailable as a test, and the GTkSourceView package contains another\r\nlarger test program working fine. Each package contains at lest one\r\nminimal test too. (Aporia-GTK3 is not for working with it, GtkSourceView\r\nhas changed much from version 2 to 3, so some work would be necessary.)\r\n\r\nThe only remaining problem is, that nearly no one is really interested\r\nin GTK3 for Nim currently, so testing does not really take place. And\r\ntesting is necessary for fine tuning. I myself have still to finish my\r\nRuby version of my schematics editor before I can think about porting it\r\nto Nim, and I have currently not the time and motivation to write a\r\nNim-GTK tutorial. (on my todo list is still changing some GTK flags from\r\nenums to sets to make its use more clean. Adding GC support is not very\r\nmuch work, but there is not really much benefit, and I am still waiting\r\nif some one is going to to add expr argument support to converters -- we\r\nrecently discussed that in the forum, Andreas said that it would be not\r\nhard, and it would make GC interfacing possible with very few lines of\r\ncode.)\r\n\r\nFor people already familiar with GTK using the Nim wrapper should be\r\nreally no problem, using it is very similar as from Ruby or Python. For\r\npeople without any GTK experience it is not easy. I would recommend\r\nstarting with a Python or Ruby tutorial, or maybe fully ignoring GTK.\r\n"}}