I’m trying load an image in Gtk, so far I found GdkPixbuf()
function in the source, that accepts filename as argument but I couldn’t make it work. I think image loading is not supported yet.
using Gtk
win = GtkWindow("Loading Image..", 400, 200)
x = GdkPixbuf(filename="b1.jpg")
push!(win, x)
showall(win)
Is there any other way to load an image in Gtk?
EDIT: I just found this. But it doesn’t work for me, @GtkImage is not defined.