---
name: "Gtk2::MozEmbed"
section: "3pm"
platform: "linux"
package: "libgtk2-mozembed-perl"
version: "0.08-4"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/Gtk2::MozEmbed"
---

# Gtk2::MozEmbed(3pm)

Perl interface to the Mozilla embedding widget

## NAME

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

## SYNOPSIS

```
  #!/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.

## ABSTRACT

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

## SEE ALSO

[Gtk2::MozEmbed::index(3pm)](/Gtk2::MozEmbed::index/3pm.md), [Gtk2(3pm)](/Gtk2/3pm.md), [Gtk2::api(3pm)](/Gtk2::api/3pm.md).

## AUTHORS

- Torsten Schoenfeld \<kaffeetisch at gmx dot de\>

  - Scott Lanning \<lannings at who dot int\>

  ## COPYRIGHT AND LICENSE

Copyright (C) 2004-2006 by the gtk2-perl team
