Skip Menu |

This queue is for tickets about the Gtk2-WebKit CPAN distribution.

Report information
The Basics
Id: 37447
Status: resolved
Priority: 0/
Queue: Gtk2-WebKit

People
Owner: Nobody in particular
Requestors: alex.vasilevsky [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: a bug in the example code
Date: Sat, 5 Jul 2008 22:41:10 -0700
To: bug-Gtk2-WebKit [...] rt.cpan.org
From: "Alex Vasilevsky" <alex.vasilevsky [...] gmail.com>
The example is missing a call to: $window->show_all; It should before Gtk2->main; method call. Here is the fully working example: use Gtk2 -init; use Gtk2::WebKit; my $window = Gtk2::Window->new; my $sw = Gtk2::ScrolledWindow->new; my $view = Gtk2::WebKit::WebView->new; $sw->add($view); $window->add($sw); $view->open('http://perldition.org'); $window->show_all; Gtk2->main; -Alex V.