Re: perl modules for SuSe : gtk, gnome and gladexml



On Tue, 2003-08-12 at 07:59, Pascal wrote:
 --- muppet <scott asofyet org> a écrit : > 
unlike gtk2-perl, gtk-perl is an all-in-one style package, including  
Gnome, Gtk::GladeXML, Gtk::Gdk::Imlib, Gtk::Gdk::Imlib, etc etc.

according to rpm -qilp on the rpm you pointed to, all that stuff is in  
there.

then, i don't get it... how can she get :

that all sounds like things you see when you don't "use Gtk '-init';" or
the gnome app equivalent.

ms sp97:~/pers/prg/movixmaker-0.5.2-1> ./movixmaker.pl --devel

** WARNING **: unknown widget class 'GnomeApp'

** WARNING **: unknown widget class 'GnomeAbout'

** WARNING **: unknown widget class 'GnomeFileEntry'

perhaps the gnome perl stuff installed without the gonme C, provided the
rpm was built right then i don't know how that would have happened, but
perhaps it wasn't. i'm still sticking with my last guess.

Gtk-WARNING **: invalid cast from `GtkLabel' to `GtkContainer'

Gtk-CRITICAL **: file gtkcontainer.c: line 696 (gtk_container_set_border_width): assertion 
`GTK_IS_CONTAINER (container)' failed.

Gtk-WARNING **: gtk_signal_connect(): could not find signal "close" in the `GtkLabel' class 
ancestry
Can't locate object method "set_title" via package "Gtk::Label" at ./movixmaker.pl line 469

these three look like possible problems with the program itself, but
could just be a result of the above.

----
Doesn't the unknown widget messages indicate that something is wrong with Gnome.pm ?

yeah, but probably not that the perl bindings have a problem, you'd
likely see perl complaining about can't find method new on Gtk::xxx etc.
if the bindings where the problem. it looks like a gnome app so make
sure that gnome has been initialized failing that make sure that gnome's
c stuff is installed.

-rm




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