I’m trying to build my first application with C++ and Gtk/Glib libraries.
I’ve chosen C++ as development language, because I want to learn this language and I think developing an application is a good way to get real experience with C++.
Currently, I’ve written some backend code to connect to my XMPP server. I’ve used the glibmm library to get bindings between c and c++ libraries and it works well .
On the frontend side, I’m currently just creating a Gtk::Window with gtkmm.
Now, I want to replace the default Gtk::HeaderBar by a HdyHeaderBar as I’ve just learned about libhandy.
My problem is that, currently, there’s no “libhandymm” library to use and I can’t directly use the Gtk::Window::set_titlebar with a HdyHeaderBar pointer.
Well, libhandy is just one example of issue with manual bindings done by glibmm/gtkmm community. I expect to have more and more issue like this in the near future.
I wanted to know if some of you tried the cppgir tool to create automatically bindings with GObject Introspection ?
I’ve tried last year, but I failed. I don’t remember exactly why, but it was too complex for me to understand the cppgir documentation (since last year, there was not many commits).
I’ve certainly not understand how to build and use bindings, if you have some hint, any help will be appreciated