Re: CustomItem not displaying on mouse click
- From: Damon Chaplin <damon karuna eclipse co uk>
- To: Shashank Bandari <mail shashank-bandari in>
- Cc: goocanvas-list gnome org, shashank bandari ieee org
- Subject: Re: CustomItem not displaying on mouse click
- Date: Wed, 22 Dec 2010 21:52:45 +0000
On Wed, 2010-12-22 at 20:13 +0100, Shashank Bandari wrote:
> Hi Damon,
> I have checked it by adding a print statement in the
> canvas_move_up() function and it is being called on mouse release
> event. The sample code along with the glade file is attached for
> further reference. The issue is that I can see the item on canvas if I
> minimize and then maximize the window.
If I create a simple ellipse item instead of your custom item it works
fine. So it looks like a problem with your custom item - probably the
bounds are being set incorrectly.
Damon
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]