#=
Using Julia v1.2.0 with Gtk v0.17.0, running Win10 or Mac v10.14.6
A window holding a grid,
holding a notebook,
holding a canvas
generates 5 assertions like:
(:47666): Gdk-CRITICAL **: 11:53:46.732:
gdk_window_get_scale_factor: assertion ‘GDK_IS_WINDOW (window)’ failed
Why? How can I fix it? Do I just have to live with it?
=#
using Gtk
#= build gtk widgets =#
canvas = GtkCanvas()
notebook = GtkNotebook()
push!(notebook, canvas, “my canvas”)
#= layout gtk widgets =#
grid = GtkGrid()
grid[1,1] = notebook
#= create window =#
win = GtkWindow(“my window”)
push!(win, grid)
showall(win)