Re: [gtk-list] Gtk::Gdk::Image
- From: Paolo Molaro <lupus lettere unipd it>
- To: "gtk-list redhat com" <gtk-list redhat com>
- Subject: Re: [gtk-list] Gtk::Gdk::Image
- Date: Fri, 20 Aug 1999 11:00:32 +0200
On Thu, Aug 19, 1999 at 05:06:27PM +0000, Dermot Musgrove wrote:
> When calling (Perl/Gtk - gnome-perl CVS 0.5121 17 Aug 1999):
> Gnome->init;
You should use something like Gnome->init('myapp');
> ...
> $widget = new Gtk::Gdk::Image('normal', 'system', '100', '100' );
The second param to new Gtk::Gdk::Image is a Gtk::Gdk::Visual. Try
with something like:
$image = new Gtk::Gdk::Image('normal', best Gtk::Gdk::Visual, '100', '100' );
There is actually a bug in that it shouldn't accept 'system' as a
visual: will look into it more later...
> I get Signal SEGV
>
> gdb --core=core gives:
>
> Core was generated by `perl -d test.pl'.
> Program terminated with signal 6, Aborted.
> #0 0x40064781 in ?? ()
You'll get more meaningful stack traces if you use debugperl in gdb.
lupus
--
-----------------------------------------------------------------
lupus@debian.org debian/rules
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]