const Gkbd = imports.gi.Gkbd;
const Gtk = imports.gi.Gtk;

Gtk.init(null, 0);

let gl = new Gkbd.KeyboardDrawingGroupLevel();
gl.group = 1;
gl.level = 1;

let gkbd = Gkbd.KeyboardDrawing.new();

gkbd.set_groups_levels([gl, gl, gl, gl]);

gkbd.set_track_modifiers(true);

let win = new Gtk.Window();
win.connect("destroy", () => Gtk.main_quit());

win.add(gkbd);
win.show_all();

Gtk.main();
