Jason Carty
and 3 contributors

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.

BUGS

For any kind of help or support simply send a mail to the gtk-perl mailing list (gtk-perl-list@gnome.org).

AUTHORS

Jason Shaun Carty <jc@atikon.com>, Philipp Voglhofer <pv@atikon.com>, Philipp A. Lehner <pl@atikon.com>

COPYRIGHT AND LICENSE

Copyright (C) 2020 by Jason Shaun Carty, Philipp Voglhofer and Philipp A. Lehner

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.