Hi, *I can do this:*
using Base.Graphics
using Cairo
using Tk
using Base.Graphics
using Cairo
using Tk
win = Toplevel("Test", 800, 600)
c = Canvas(win)
pack(c, expand=true, fill="both")
ctx = getgc(c)
for x = 0:800
for y = 0:600
set_coords(ctx, x, y, 1, 1, 0, 1, 0, 1)
set_source_rgb(ctx, x/800, y/600, 0)
paint(ctx)
end
end
reveal(c)
Tk.update()
But it is slow and not very nice.
Thanks
