Hello colleagues,
i was actually a little bit surprised that this
using Gtk
w = Gtk.@GtkWindow("a1",400,300)
c = Gtk.@GtkCanvas(2300,2800);
w2 = Gtk.@GtkScrolledWindow(c);
push!(w,w2)
show(w)
show(c)
show(w2)
using Cairo
move_to(c.backcc,10,10)
line_to(c.backcc,1200,1300)
stroke(c.backcc)
reveal(c)
worked out-of-the-box. Opens a small window, puts Scrolled window with a
large canvas inside. Shows up on desktop as window with scroll bars and
drawing to the canvas just work and the scrolling works also.
This was done on a 0.4dev installation in ubuntu 15.04 from julia nightlies.