Re: GtkDrawingArea



Thomas Nemeth <tnemeth laas fr> writes:
> 
>         I'm looking for a way of drawing with the mouse in a
>         GtkDrawingArea.

Have you read the "scribble" example in the tutorial?

>     gtk_widget_set_events (widget, -1);

Maybe this function allows a -1 argument, but I haven't ever seen
anyone do that. Anyway, you probably want gtk_widget_add_events()
instead.

Havoc





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