-
-
20 Nov 2020 11:36:21 UTC
- Distribution: Gtk3-WebKit2
- Module version: 0.013
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues
- Testers (24 / 12 / 0)
- Kwalitee
Bus factor: 2- % Coverage
- License: open_source
- Activity
24 month- Tools
- Download (27.19KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 3 contributors-
Jason Shaun Carty
-
Philipp Voglhofer
-
Philipp A. Lehner
- Dependencies
- Glib::Object::Introspection
- Gtk3
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
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.
Other
You will need to have GTK3 and Webkit2 installed to use this. A key package you will need is webkit2-gtk-devel.
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:
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.
Module Install Instructions
To install Gtk3::WebKit2, copy and paste the appropriate command in to your terminal.
cpanm Gtk3::WebKit2
perl -MCPAN -e shell install Gtk3::WebKit2
For more information on module installation, please visit the detailed CPAN module installation guide.