- //this.popup_menu.connect( ( button, time) =>{
- this.button_press_event.connect( ( button) =>{
+ this.popup_menu.connect( ( button, time) =>{
+ //this.button_press_event.connect( ( ) =>{
//print(Array.prototype.slice.call(arguments).join(','));
print("menu activiate called\n");
//print(Array.prototype.slice.call(arguments).join(','));
print("menu activiate called\n");
//var g = { };
//var a = new Gdk.Rectangle();
// needs direction=inout setting in gir to work (in bugzilla @present)
//var g = { };
//var a = new Gdk.Rectangle();
// needs direction=inout setting in gir to work (in bugzilla @present)
// should check to see if @ top or bottom I guess..
//menu.el.get_toplevel().move(a.x, a.y +a.height);
//menu.el.get_toplevel().move(10,10);
// should check to see if @ top or bottom I guess..
//menu.el.get_toplevel().move(a.x, a.y +a.height);
//menu.el.get_toplevel().move(10,10);