Re: [gtk-list] Any docs on callback return value meanings?



>  Are there any docs available that describe what the meanings of returning
>  true/false from callbacks are?  For example, my configure callback returns
>  true while my expose callback returns false -- Why?

Event signals return a boolean value.  Gtk uses this value to decide
whether to propagate an event upwards from a child widget onto its
parent.  If an event handler returns true, it means that the event
"has been handled" and Gtk will not propagate it upwards.  If it
returns false, it means that the event "has not been handled" and will
be propagated.

  Federico



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