From: Tool69 Date: 2006-01-03T23:57:58+09:00 Subject: mouse coordinates in a gnome2 canvas Hi, I want to show the mouse coordinates inside a label in a gnome2 application if my mouse is on a canvas. How to procede ? I' ve found no documentation on the canvas on ruby gnome2 API. rbbr is not working on my ubuntu (no description at all), so you're my last chance... In fact, it's not really a canvas problem but more a gtk one. I've tried something like : @ecran = Gdk::Display.default canvas.signal_connect("event") do pos = @ecran.window_at_pointer @label1.set_text("x=#{pos[1]}") @label2.set_text("y=#{pos[2]}") end ....but then all my drawings disappear. Thanks in advance : 6TooL9