Re: Graphing development - question

Le mer 17/12/2003 à 22:15, Emmanuel Pacaud a écrit :

I'm currently trying to implement single element formatting in the
graphing engine of gnumeric (like changing drawing attributes of a pie 

To do so, I need to track mouse events in the chart area, at the
gog_control_foocanvas level, which is the way user will select a serie
element. What I've done is to override the event function.

Seems logical.

The problem is that as soon as a button click occur over the
chart area, the chart is selected and no more mouse events are transmitted 
to gog_control_foocanvas.

That is very strange. I have implemented anolog things elsewhere and
they work ((using GnomeCanvas, but it should be the samething with
foocanvas). Could you provide some sample code?

In fact, I need the exact opposite behaviour, I want to handle mouse
event only when chart is selected.

Any idea on how to enable transmission of mouse events to a foocanvas_item when 
it's selected ?


gnumeric-list mailing list
gnumeric-list gnome org

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