Provided by: libgtk3-webkit2-perl_0.06-3_all
NAME
Gtk3::WebKit2 - WebKit2 bindings for Perl
SYNOPSIS
use Gtk3 -init; use Gtk3::WebKit2; my ($url) = shift @ARGV || 'http://search.cpan.org/'; my $window = Gtk3::Window->new('toplevel'); $window->set_default_size(800, 600); $window->signal_connect(destroy => sub { Gtk3->main_quit() }); # Create a WebKit2 widget my $view = Gtk3::WebKit2::WebView->new(); # Load a page $view->load_uri($url); # Pack the widgets together my $scrolls = Gtk3::ScrolledWindow->new(); $scrolls->add($view); $window->add($scrolls); $window->show_all(); Gtk3->main();
DESCRIPTION
This module provides the Perl bindings for the Gtk3 port of WebKit2.
INSTALLATION
"Headless" Debian based systems (inc Ubuntu) If you are running an X Server (desktop environment) then you should be fine. If you are trying to install this on a "headless" server, then you will need a framebuffer display to take the place of the X server. The xvfb-run command can do this for you. With Ubuntu 12.04 LTS, you'll need these (or more recent) extra deb packages: xvfb libgirepository1.0-dev pkg-config libgtk-3-dev libglib2.0-dev libglib2.0-0 gir1.2-webkit2-4.0 At which point everything should "just work".
BUGS
For any kind of help or support simply send a mail to the gtk-perl mailing list (gtk-perl-list@gnome.org).
AUTHORS
Emmanuel Rodriguez <potyl@cpan.org>.
COPYRIGHT AND LICENSE
Copyright (C) 2011, 2012 by Emmanuel Rodriguez. This library is free software; you can redistribute it and/or modify it under the same terms of: the GNU Lesser General Public License, version 2.1; or the Artistic License, version 2.0. This module is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. You should have received a copy of the GNU Library General Public License along with this module; if not, see <http://www.gnu.org/licenses/>. For the terms of The Artistic License, see perlartistic.