Re:enter and notify events (gtkmain.c)



pks spiffykitty com writes:
 > 
 > I have written gtk 1.2.10 code that disables
 > a button when it is clicked ...
 > 
 > Is it best just to patch gtk_real_button_pressed() to
 > correct the GtkButton.in_button field?

maybe gtk_widget_set_sensitive() (when enabling widgets)
should find the widget under the mouse pointer and generate
a ENTER_NOTIFY_EVENT if its GTK_LEAVE_PENDING flag is clear.



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