Skip to content

Parse GObject gir and produce C++ class hierarchy

License

Notifications You must be signed in to change notification settings

sakhnik/gir2cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C++ wrappers generator from GObject introspection

This project was inspired by the brilliant idea in cppgir. And because I wasn't able to figure out how to get text from a Gtk entry. It wasn't obvious indeed that instead of the conventional

auto t = entry.get_text();

one should know in beforehand that GtkEntry implements Editable:

auto t = gtk_editable_get_text(GTK_EDITABLE(entry));

The wrappers are mainly generated for the other sandbox project sakhnik/nvim-ui.

About

Parse GObject gir and produce C++ class hierarchy

Resources

License

Stars

Watchers

Forks

Packages

No packages published