Gtk3::WebKit(3)
π Gtk3::WebKit π
okay so bestie, this is Gtk3::WebKit β it's the Perl bindings for WebKit, the Gtk3 port. And it lives in the User Contributed Perl Documentation section of your man pages, section 3, iykyk. π¦
β¨ NAME β¨
Gtk3::WebKit β WebKit bindings for Perl. that's it, that's the whole name section. short king. π
πΈ SYNOPSIS πΈ
here's the whole vibe, copy-paste it and go:
use Gtk3 -init;
use Gtk3::WebKit;
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 WebKit widget
my $view = Gtk3::WebKit::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();
likeβ¦ we make a window, we make a WebView, we point it at a URL, we shove it in a ScrolledWindow, we pack it all, and then we hand the whole thing over to Gtk3->main() and let it cook. π₯
π DESCRIPTION π
this module gives you the Perl bindings for the Gtk3 port of WebKit. that's the whole description. no notes. periodt. β¨
π INSTALLATION π
π«Ά "Headless" Debian based systems (inc Ubuntu)
so if you're running an X Server (like, a desktop environment), you're literally fine, go off. π
but if you're trying to install this on a "headless" server? you're gonna need a framebuffer display to take the place of the X server. no X, no vibes, no install.
the xvfb-run command can do this for you. it's the main character of this section fr fr. π§
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-webkit-3.0
at which point everything should "just work". and honestly? iconic. π
π BUGS π
for any kind of help or support, simply send a mail to the gtk-perl mailing list (gtk-perl-list@gnome.org). don't be shy bestie, they're nice. π
π AUTHORS π
Emmanuel Rodriguez <potyl@cpan.org>. thank you for your service, legend. π«Ά
π 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. π« (so like, use it, love it, but nobody's promising anything.)
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.
okay that's the whole page bestie, you're fully caught up. this was Gtk3::WebKit(3), documented for perl v5.42.0 and dated 2025-07-25. stan a manpage that just works. mwah. π
ππ
π¦ where this page comes from
- fedora 43: perl-Gtk3-WebKit 0.06-34.fc43 Β· LGPL-2.1-only OR Artistic-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms