Re: GTKPerl don't execute
- From: Paolo Molaro <lupus ximian com>
- To: gtk-perl-list gnome org
- Subject: Re: GTKPerl don't execute
- Date: Sat, 17 Nov 2001 20:09:28 +0100
On 11/10/01 Sebastiao Santos wrote:
[root draken gtkperl]# ./gtk.pl
Can't locate object method "create_menus" via package "Gnome::App" at
./gtk.pl line 54
Script:
---- cut here
#!/usr/bin/perl -w
use strict;
use Gnome;
my $NAME = 'gCookBook';
my $VERSION = '0.1';
init Gnome $NAME;
my $app = new Gnome::App $NAME, $NAME;
signal_connect $app 'delete_event',
sub { Gtk->main_quit; return 0 };
$app->create_menus(
{
type => 'subtree',
label => '_File',
subtree => [
{
[...]
You probably have a very old version of the Gnome module: your sample
program works fine here.
The latest release is 0.7008.
lupus
--
-----------------------------------------------------------------
lupus debian org debian/rules
lupus ximian com Monkeys do it better
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]