WebKitGtk binding for the Crystal language.
** Not for production use **
Add this to your application's shard.yml
:
dependencies:
webkitgtk:
github: TechMagister/webkitgtk.cr
See samples folder.
require "webkitgtk/webkitgtk"
require "gobject/gtk"
window = Gtk::Window.new
window.title = "Hello World!"
window.connect "destroy", &->Gtk.main_quit
window.border_width = 10
window.resize(800,600)
view = WebKitGTK::WebKitWebView.new
view.load_uri "http://www.google.fr"
window.add(view)
window.show_all
- Fork it ( https://github.com/TechMagister/webkitgtk.cr/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
- TechMagister - creator, maintainer