Mozilla::Mechanize::Browser::Gtk2MozEmbed - Mozilla::Mechanize::Browser::Gtk2MozEmbed documentation


Mozilla-Mechanize documentation Contained in the Mozilla-Mechanize distribution.

Index


Code Index:

COPYRIGHT AND LICENSE

Top


Mozilla-Mechanize documentation Contained in the Mozilla-Mechanize distribution.

package Mozilla::Mechanize::Browser::Gtk2MozEmbed;

use strict;
use warnings;

use Gtk2;
use Gtk2::MozEmbed;

use Glib::Object::Subclass Gtk2::Window::;

sub INIT_INSTANCE {
    my $self = shift;

    $self->set_title('Mozilla::Mechanize');
    Gtk2::MozEmbed->set_profile_path("$ENV{HOME}/.mozilla-mechanize", 'Mozilla::Mechanize');

    my $embed = Gtk2::MozEmbed->new();
    $self->add($embed);
    $self->{embed} = $embed;
}


1;

__END__