1MozEmbed(3)           User Contributed Perl Documentation          MozEmbed(3)
2
3
4

NAME

6       Gtk2::MozEmbed - Perl interface to the Mozilla embedding widget
7

SYNOPSIS

9         #!/usr/bin/perl
10         use strict;
11         use warnings;
12         use Glib qw(TRUE FALSE);
13         use Gtk2 -init;
14         use Gtk2::MozEmbed;
15
16         Gtk2::MozEmbed -> set_profile_path($ENV{ HOME } . "/.mybrowser",
17                                            "MyBrowser");
18
19         my $window = Gtk2::Window -> new();
20         my $moz = Gtk2::MozEmbed -> new();
21
22         $window -> signal_connect(delete_event => sub {
23           Gtk2 -> main_quit;
24           return FALSE;
25         });
26
27         $window -> set_title("MyBrowser");
28         $window -> set_default_size(600, 400);
29         $window -> add($moz);
30         $window -> show_all();
31
32         $moz -> load_url("http://gtk2-perl.sf.net");
33
34         Gtk2 -> main;
35
36       See examples/pumzilla in the source tarball for a more complete
37       example.
38

ABSTRACT

40       This module allows a Perl developer to use the Mozilla embedding
41       widget.
42

SEE ALSO

44       Gtk2::MozEmbed::index(3pm), Gtk2(3pm), Gtk2::api(3pm).
45

AUTHORS

47       Torsten Schoenfeld <kaffeetisch at gmx dot de>
48       Scott Lanning <lannings at who dot int>
49
51       Copyright (C) 2004-2006 by the gtk2-perl team
52
53
54
55perl v5.12.4                      2008-08-25                       MozEmbed(3)
Impressum