Re: Can "enter-notify-event" be used on a GtkImage ?
- From: Gregory Hosler <ghosler redhat com>
- To: zuh iki fi
- Cc: gtk-devel-list gnome org
- Subject: Re: Can "enter-notify-event" be used on a GtkImage ?
- Date: Thu, 03 Apr 2008 20:26:34 +0800
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Kalle Vahlman wrote:
| 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.
I think that the latter would be the best soln. When I look up a widget (e.g.
GtkToggleButton), it would be *MOST* useful for the devhelp page to list all possible
signals that are applicable for that widget.
I imagine that this might be a lot of work though, and I don't know if the devhelp pages
support #include (to lessen the reduncancy)... But I think it would be Really Useful...
- -G
- --
+---------------------------------------------------------------------+
Please also check the log file at "/dev/null" for additional information.
(from /var/log/Xorg.setup.log)
| Greg Hosler ghosler redhat com |
+---------------------------------------------------------------------+
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
iD8DBQFH9Mz4404fl/0CV/QRAl+gAJ9sWRoh46N+8PSsNLcc4bnYc890ogCgsWsu
ilmAt/C+Gl4K+kRBM9Zi2K8=
=nzxp
-----END PGP SIGNATURE-----
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]