From 93227781cba8d09aa2ec77895fda6242acef0247 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 11 Nov 2010 14:15:38 +0800 Subject: [PATCH] Sample/Window.js --- Sample/Window.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Sample/Window.js b/Sample/Window.js index 483b36942..7d66a1244 100644 --- a/Sample/Window.js +++ b/Sample/Window.js @@ -2826,6 +2826,17 @@ Window=new XObject({ id : "AutoRedraw", label : "Auto Redraw On", pack : "pack_start,false,false,0" + }, + { + xtype: Gtk.Button, + listeners : { + clicked : function (self) { + this.get('/RightBrowser.view').redraws = 99; + this.get('/RightBrowser.view').renderJS(null,true); + } + }, + label : "Full Redraw", + pack : "pack_start,false,false,0" } ] }, -- 2.39.2