This repository has been archived by the owner. It is now read-only.

webkitgtk.cr

WebKitGtk binding for Crystal language

webkitgtk

WebKitGtk binding for the Crystal language.

** Not for production use **

Installation

Add this to your application's shard.yml:

dependencies:
  webkitgtk:
    github: TechMagister/webkitgtk.cr

Usage

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

Contributing

  1. Fork it ( https://github.com/TechMagister/webkitgtk.cr/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

Repository

webkitgtk.cr

Owner
Statistic
  • 2
  • 0
  • 0
  • 0
  • 1
  • almost 8 years ago
  • June 21, 2016
License

MIT License

Links
Synced at

Wed, 15 May 2024 21:36:45 GMT

Languages