Re: [gtk-list] grab mouse



Ionutz Borcoman wrote:
> How can I grab the mouse (make it send signals only to a certain widget)
> ? I want to make it emit  entry/leave events only when over certain
> widgets.

Solved on IRC thanks to <sterwill>.

The functions are: 

<sterwill>	void       gtk_grab_add            (GtkWidget         
*widget);
<sterwill>	void       gtk_grab_remove         (GtkWidget         
*widget);

Ionutz


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