E
Eric C.
Hi:
64bit Ubuntu 10.04
I'm running this code:
x = Gtk:ixbuf.new "folder_brown.png"
And it says:
uninitialized constant Gtk:ixbuf (NameError)
I try to catch this error like this:
begin
x = Gtk:ixbuf.new "folder_brown.png"
rescue NameError => err
puts err.name
puts $!
end
And it says this:
Pixbuf
uninitialized constant Gtk:ixbuf
So the NameError is in reference to the Name "Pixbuf" not my file?
Aparently, there is an "uninitialized constant" in gtk's class? Named
Pixbuf? The strange thing is that in Ruby-Gnome's site they mention
that Nautilus
(file browser that I use) uses the same gtk widgets, so the Pixbuf class
must work because my file browser shows all of its icons.
What gives?
Thanks!
64bit Ubuntu 10.04
I'm running this code:
x = Gtk:ixbuf.new "folder_brown.png"
And it says:
uninitialized constant Gtk:ixbuf (NameError)
I try to catch this error like this:
begin
x = Gtk:ixbuf.new "folder_brown.png"
rescue NameError => err
puts err.name
puts $!
end
And it says this:
Pixbuf
uninitialized constant Gtk:ixbuf
So the NameError is in reference to the Name "Pixbuf" not my file?
Aparently, there is an "uninitialized constant" in gtk's class? Named
Pixbuf? The strange thing is that in Ruby-Gnome's site they mention
that Nautilus
(file browser that I use) uses the same gtk widgets, so the Pixbuf class
must work because my file browser shows all of its icons.
What gives?
Thanks!