Re: Implementing gnome canvas items


You can probably borrow gnome-canvas-acetate item from Gill (or sodipodi,
which has already borrowed it from Gill).

As it is usable item, what about merging it into libgnomeui?

The alternative (which seems better to me) would be modifying canvas so,
that all unhandled events can be picked from root group.


On Wed, 2 Feb 2000, Jean-Marc Valin wrote:

> HI,
> I'm trying to implement a "background item" for the canvas which is invisible,
> but catches all events on the background. I need it so I can change the
> behaviour of the normal canvas event handling (which is to catch all events,
> whether or not they are caught by an item). Unfortunatly, my new item doesn't
> catch any event. I can't figure out why. I just took the image item and stripped
> out all the rendering code... while making my new item "infinite". I'm sending
> the code in attachment. Does anyone have an idea of what I did wrong?
> Thanks, 
> -- 
> Jean-Marc Valin
> Universite de Sherbrooke - Genie Electrique

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]