Re: Button events not working

Esteban Quijano Vincenzi <Esteban Quijano artinsoft com> writes: 
> - Both button-press-event and button-release-event are not responding at all
> when clicking over the window.

Windows don't have button events by default. Try 
gtk_widget_add_events (widget, GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK)

> - key-release-event is not responding either.


> - When I press a key without releasing it, the window starts calling
> key_press_event(...) many, many times.

Key repeat. So if you hold down a key in a text editor or the like, 
it repeats.


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