Writing a Perl GNOME Panel Applet



I'm trying to make a little panel applet using Ximian's Gtk-Perl
package.  However I'm not sure if it includes support for Panel Applet's
or not.  I can't get it to initialize.  I've tried:



init Gnome::Applet "Menu.pl";
init Gnome::Panel::Applet "Menu.pl";
init Gnome::Panel::AppletWidget "Menu.pl";
init Gnome::AppletWidget "Menu.pl";

They all say that I'm missing the module, but the Gtk-Perl package looks
like it has something:

/usr/lib/perl5/site_perl/5.6.1/i386-linux/Gnome/Applet
/usr/lib/perl5/site_perl/5.6.1/i386-linux/Gnome/Applet.pm
/usr/lib/perl5/site_perl/5.6.1/i386-linux/Gnome/Applet/Install
/usr/lib/perl5/site_perl/5.6.1/i386-linux/Gnome/Applet/Install/Files.pm
/usr/lib/perl5/site_perl/5.6.1/i386-linux/Gnome/Applet/Install/GnomeAppletDefs.h
/usr/lib/perl5/site_perl/5.6.1/i386-linux/Gnome/Applet/Install/GnomeAppletTypemap
/usr/lib/perl5/site_perl/5.6.1/i386-linux/Gnome/Applet/Install/PerlGnomeAppletInt.h
/usr/lib/perl5/site_perl/5.6.1/i386-linux/Gnome/Applet/Install/pkg.typemap
/usr/lib/perl5/site_perl/5.6.1/i386-linux/Gnome/Applet/Types.pm

Any ideas on what I'm doing wrong?

Thanks!!



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]