const Gtk = imports.gi.Gtk;

Gtk.init(null, 0);

function on_scroll_event(widget, event) {
    var direction = event.get_scroll_direction();
    log("on_scroll", direction);
}

function on_activate(widget, event) {
    log("on_activate");
}

var icon = new Gtk.StatusIcon();
icon.connect("scroll-event", on_scroll_event);
icon.connect("activate", on_activate);
Gtk.main();


