Re: gtk_image_get_pixel
- From: Olexiy Avramchenko <ath beast stu cn ua>
- To: clock atrey karlin mff cuni cz
- Cc: gtk-list gnome org
- Subject: Re: gtk_image_get_pixel
- Date: Fri, 13 Sep 2002 18:13:10 +0300
clock atrey karlin mff cuni cz wrote:
gdk_image_get_pixel has not documented if the caller is permitted to
input pixels out of the range of the image.
gdk_image_put_pixel has undocumented the same.
Both will segfault with X library, cause it doesn't check coords.
So will be with linux-fb, cause gdk code doesn't check coords (isn't
this a bug ?).
In Win32 code has checking, so it'll safe return with no warnings
in case you get out of image (this's probably the weird situation,
cause you will not know if you'll fail).
Hmm, win32 code looks very very very very *BAD*.
GtkSpinButton has undocumented which signals it generates. I had to try
various word in gtk_signal_connect until I stroke "changed" which is
what I want.
It has "input", "output", "value_changed", "change_value" signals. It's
easy to
look inside "gtkspinbutton.c".
Olexiy
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]