gtk.DrawingArea + Cairo
Rafael Barbolo Lopes
barbolo at gmail.com
Wed Apr 18 08:10:41 EDT 2007
Is it difficult to implement Hippo_Canvas?
Where can I find some written code in Sugar?
On 4/18/07, Marco Pesenti Gritti <mpg at redhat.com> wrote:
> On Wed, 2007-04-18 at 08:49 -0300, Rafael Barbolo Lopes wrote:
> > Hi, I was wondering if it is possible to receive signal events when
> > mouse moves over a cairo painting inside a gtk.DrawingArea.
> > I am trying to develop a grid widget. So the grid background is a
> > gtk.DrawingArea and the grid's lines are cairo lines.
> > I am trying to create an event that permits me to receive a signal
> > when the mouse is over the lines.
> Nope, there is no way with just gtk. You probably want to use a canvas
> for this. What we are using in sugar is:
> Unfortunately there is no documentation about it yet.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Devel