Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Gtk+ mouse pointer leave-area event

I need to detect when the mouse pointer leaves an area in a GtkNotebook. Normally this is possible with the motion_notify event, but if the pointer is moved fast enough, the event is not triggered. Because this is a certain area of pixels in a GtkNotebook, it is not possible to use a GtkEventBox. What is the proper way to do this?

like image 536
c4757p Avatar asked Nov 23 '25 21:11

c4757p


1 Answers

You should use enter-notify-event and leave-notify-event signals.

like image 146
dmitry_vk Avatar answered Nov 26 '25 15:11

dmitry_vk



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!