Re: CustomItem not displaying on mouse click



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]