Re: [gtk-list] Re: Scrollbar issue
- From: Owen Taylor <otaylor redhat com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: Scrollbar issue
- Date: 03 Jan 2000 13:00:38 -0500
"Emmanuel DELOGET" <logout@free.fr> writes:
> Wrong - there is no "motion" signal in GtkRange (at least, not
> in the version I'm using - which is cvs). The motion you probablty
> saw is just a private entry in the GtkRange VTable.
>
> Assuming that you want to know when the user moves the
> scroll bar, you should try to use the "value_changed" signal
> of the adjustement, which is emitted in response to a call
> of range_klass->motion().
>
> By the way, it should be better to avoid those
> GtkXxxClass *class in gtkrange.c (and replace them with
> GtkXxxClass *klass, as (not, but should be) everywhere else :)
Only header files need to be compatible with C++. There is no
reason to s/class/klass/ inside the .c files.
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]