Re: Need clarification about gtk_widget_set_events()



On Thu, Sep 28, 2006 at 04:31:51PM +0000, DC A wrote:
> Can anyone kindly clarify when to use gtk_widget_set_events() 
> routine?

Essentially never.  Use gtk_widget_add_events() to add
events.  Removing default events typically breaks widgets so
you rarely need it (and even then it should suffice to
prevent the particular event handler from running by
handling the event yourself).

Yeti


--
Whatever.



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