DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=MP6enUiLLEJuAMglKk29B5QatGznsi9xKy2sL7SEXVeBGKpytoTdjBVp7KMDrfcTgGdnvbMwnKBm5Sqj02Vg9sqcC1FkzPHti0fjYlhBpW+1qpnLJ83CL+y8hUROhuuL3DkLow2A+WSLJmTkn4FYc8jcweW5pQH5PKxDPs4877Q= Message-ID: Date: Fri, 8 Sep 2006 16:28:01 +0200 From: Henri To: lablgtk at math.nagoya-u.ac.jp Subject: Two GMisc.drawing_area questions MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Length: 1016 Hi list, I am trying to use a GMisc.drawing_area widget within a GBin.event_box and there's two things that I can't do in a simple way. 1) The first thing is have a simple freeze / thaw on the widget to use double buffering. I tried several things to freeze : first #misc#set_double_buffered true then before modifications, - #misc#set_app_paintable false ; - #misc#freeze_notify () ; - #misc#hide () ; and respectively after the modifications, - #misc#set_app_paintable true - #misc#thaw_notify () ; - #misc#show () None of these work. I noticed in the timer.ml example that a new pixmap is used each time and all operations are drawn in this pixmap. I tried this, which works, but is slower. Is this the only way to go? 2) The second thing is to track the mouse moves over the widget but without any click... (ebox#event#connect#motion_notify seems to call back only when mouse button is pressed). Which event did I miss? Thank you by advance for your answers and go lablgtk (and lablgl!). Henri