Re: GtkDrawingArea



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 -+-





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