GTK+ 3.x manual wrapper for V
This is a manual wrapper for gtk3
for V.
The advantage compared to using C.<function>
directly is that vgtk3
uses V structs and does it best to have a good V style when "translating" gtk3
to V.
This is mostly why the functions aren't auto-generated, as this doesn't create any helpful structures nor does it splits the files, because it doesn't know what a container is, this wrapper knows it and offers a Container
interface ready for use.
Notes: We are still combining everything together here, will be separated after everything is finished
module main
import gtk
fn main() {
window := gtk.new_window()
window.set_title('Window Title')
window.set_default_size(500, 600)
window.set_position(.center)
window.show()
gtk.main()
}
Please checkout the examples folder. To compile all examples, simply run make examples
command.
Gtk is available under the MIT License, please refer to it.