Hello colleague,
for your first example: set_from_file is not a gtk property, but a function
call.
your second example: the small white box with a red cross is somehow gtks
marker, if an image could not displayed. In your case, check if the
filename and path is readable.
This example works for me:
_
_ _ _(_)_ | A fresh approach to technical computing
(_) | (_) (_) | Documentation: http://docs.julialang.org
_ _ _| |_ __ _ | Type "help()" for help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 0.3.1 (2014-09-21 21:30 UTC)
_/ |\__'_|_|_|\__'_| |
|__/ | i686-linux-gnu
julia> using Gtk
julia> i = Gtk.@GtkImage("../.julia/v0.3/Cairo/samples/data/mulberry.png");
julia> w = Gtk.@GtkWindow(i,"title");
julia> show(i);
The image shows up only with the show(i).
Hope that helps.