Re: range inversion
- From: Jay Cox <jaycox gimp org>
- To: gtk-devel-list gnome org
- Subject: Re: range inversion
- Date: Thu, 15 Feb 2001 21:10:16 -0800
Havoc Pennington wrote:
>
> Hi,
>
> To fix http://bugzilla.gnome.org/show_bug.cgi?id=50806
> I'm just adding a simple gtk_range_set_inverted() call.
> If anyone has thoughts on that, speak up.
>
It seems to me that inverted is only one of many mappings that
would be usefull in the range widget. There are many instances
where I would find a range widget that used a log or sqrt mapping
for the slider position usefull.
I would propose the function instead:
gtk_range_set_mapping(GtkRange *, GtkMappingType);
where GtkMappingType is one of:
GTK_MAPPING_NORMAL
GTK_MAPPING_INVERSE
GTK_MAPPING_LOG
GTK_MAPPING_INVERSE_LOG
GTK_MAPPING_SQRT
GTK_MAPPING_INVERSE_SQRT
I am probably asking for too much from the range widget (or more
accurately the scale widget), but I would also like the widget
to display some indication when it does not have a linear mapping.
Perhaps a triangular slider?
<gratuitous_feature_request>
Wouldn't it be nice if GtkRange widgets could display a marker
showing the original position of the slider while draging?
</gratuitous_feature_request>
Thanks,
Jay Cox
jaycox gimp org
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]