Re: Can "enter-notify-event" be used on a GtkImage ?



2008/4/3, Gregory Hosler <ghosler redhat com>:
[...]
>  | This holds true to for any "no window" widget and any signal (at least
>  | from GtkWidget) with the suffix "-event". It is true that GtkWidget
>  | description probably should mention this (though I don't expect it to
>  | be a logical place to look at for people wondering about this
>  | particular problem),
[...]
> So it DOES make sense to refer to parent classes to find out the complete
> set of signals that may be available to a widget... (I'm using "may" instead
> of "should" because of the above! :)

Oh yes, of course. I just doubt that while searching for signals,
people would necessarily read the Description section of the parent
widget (which would explain why some of them are not available in
specific child widgets).

Maybe it would be worth it to include "only available for widgets with
gdkwindows" to all -event signals. Or better yet, some system to list
(meaningful) derived properties of an object (signals, properties) in
the documentation.

-- 
Kalle Vahlman, zuh iki fi
Powered by http://movial.fi
Interesting stuff at http://syslog.movial.fi


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