Gtk2::MozEmbed - (DEPRECATED) Perl interface to the Mozilla embedding widget
#!/usr/bin/perl use strict; use warnings; use Glib qw(TRUE FALSE); use Gtk2 -init; use Gtk2::MozEmbed; Gtk2::MozEmbed -> set_profile_path($ENV{ HOME } . "/.mybrowser", "MyBrowser"); my $window = Gtk2::Window -> new(); my $moz = Gtk2::MozEmbed -> new(); $window -> signal_connect(delete_event => sub { Gtk2 -> main_quit; return FALSE; }); $window -> set_title("MyBrowser"); $window -> set_default_size(600, 400); $window -> add($moz); $window -> show_all(); $moz -> load_url("http://gtk2-perl.sf.net"); Gtk2 -> main;
See examples/pumzilla in the source tarball for a more complete example.
DEPRECATED This module allows a Perl developer to use the Mozilla embedding widget.
NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE
This module has been deprecated by the Gtk-Perl project. This means that the module will no longer be updated with security patches, bug fixes, or when changes are made in the Perl ABI. The Git repo for this module has been archived (made read-only), it will no longer possible to submit new commits to it. You are more than welcome to ask about this module on the Gtk-Perl mailing list, but our priorities going forward will be maintaining Gtk-Perl modules that are supported and maintained upstream; this module is neither.
Since this module is licensed under the LGPL v2.1, you may also fork this module, if you wish, but you will need to use a different name for it on CPAN, and the Gtk-Perl team requests that you use your own resources (mailing list, Git repos, bug trackers, etc.) to maintain your fork going forward.
Perl URL: https://gitlab.gnome.org/GNOME/perl-gtk2-mozembed
Upstream URL: https://www-archive.mozilla.org/releases/mozilla1.7.13/
Last upstream version: 1.7.13
Last upstream release date: 2006-04-21
Migration path for this module: maybe Gtk3::WebKit?
Migration module URL: https://metacpan.org/pod/Gtk3::WebKit
Gtk2::MozEmbed::index(3pm), Gtk2(3pm), Gtk2::api(3pm).
Copyright (C) 2004-2011 by the gtk2-perl team
To install Gtk2::MozEmbed, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Gtk2::MozEmbed
CPAN shell
perl -MCPAN -e shell install Gtk2::MozEmbed
For more information on module installation, please visit the detailed CPAN module installation guide.