Builder3/Window.js
authorAlan Knowles <alan@roojs.com>
Wed, 22 Jan 2014 07:23:36 +0000 (15:23 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 22 Jan 2014 07:23:36 +0000 (15:23 +0800)
Builder3/Window.js

index e97d020..a4279c2 100644 (file)
@@ -359,9 +359,13 @@ Window=new XObject({
                                                         clicked : function(self) {
                                                             print("Click");
                                                             
+                                                        },
+                                                        pressed : function(self) {
+                                                            print("Pressed");
+                                                            
                                                         },
                                                         enter_notify_event : function (self, event) {
-                                                            return true;
+                                                            return false;
                                                              this.el.expanded = !this.el.expanded;
                                                         //if (this.el.expanded ) {
                                                             this.listeners.activate.call(this);