-
Notifications
You must be signed in to change notification settings - Fork 98
Conversation
Great work! Have not looked at it thoroughly yet, but its really nice that we get a python integration that support c++11! |
…this after window constructor
This is getting very stable. The last few commits are adding menu elements and accels dynamically. The gtk bindings are working according to the api, and is slightly different from the gtkmm bindings. I've successfully tested stand-alone python apps as well, so people can write for instance gtk-windows to add gui to their plugins. The plugins provided are made on the fly, and might need some clean up from someone who knows python better than me. I'm keeping the old way of adding menu elements, to make sure we support plugins on systems where pygobject introspection isn't supported. This is my todo:
|
The latest commit makes this testable. Python handles packages through pip or the package repo. I used pacman on arch to install pygobject and python 3 and used the site_packages option in config.json to pont to it. The default value migth be sufficent. |
Great! Usually, maybe before documentation etc, one would want to clean up/reconstruct the source code once having a working version. Might be a good idea to spend some time on this, especially after so many changes, and when creating an API. Saying this before I have looked at the source though, but when you are happy with the source after considering cleanup/reconstruct I'll have a look at it:) |
I think it might be useful to rebase this pull request to get a better overview of the changes. This will also allow me to fine comb all the code to check for refactor needs. I have some time tomorrow to do this. I think most of the commits in this request are overwritten anyways. I think I can make this into more like 10 commits. |
Splendid, just remember to take your time on the refactor, its a great experience, and something that is not at all prioritised in businesses. This is one of the reasons why Open Source is such a success I belive:) |
Before I start. Are there any features you'd like to see? I think I might be able to make the bindings available for js, vala, lua and other script languages with some struggle. |
Python is fine for now I think:) Just keep it simple, but flexible and general. |
Features
python_api.cc
libjuci - Python API for juCi++
libjuci.
libjuci.terminal
libjuci.editor
Example plugins
Toolsplugin
Snippet
if -hotkey-> if () { }
Todo