Le 17.07.01, Thomas Nemeth a tapot� :

|         Hi,
|
|         I'm looking for a way of drawing with the mouse in a
|         GtkDrawingArea.

        I forgot to say that my problem is for grabbing mouse events...


|         So I added a function attached to an event :
|
|     gtk_signal_connect (GTK_OBJECT (drawing_area), "realize",
|                         GTK_SIGNAL_FUNC (set_events_da),
|                         NULL);

        I also tried to use :

    gtk_signal_connect (GTK_OBJECT (drawing_area), "configure-event",
                        GTK_SIGNAL_FUNC (set_events_da),
                        NULL);

        But nothing seems to happen...


-- 
 Sur frg �a se passe bien car les gens qui n'ont pas le permis sont
 assez tol�rents entre eux sur les fautes de conduite, sur fufe �a
 tourne au massacre car les dino ne laissent pas les neuneus faire.
 -+- GR In Guide du G�n�alogiste Ereint� : Le choc des g�n�rations -+-


_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to