Re: Decorating scales
- From: "Matthias Clasen" <matthias clasen gmail com>
- To: gtk-devel-list <gtk-devel-list gnome org>
- Subject: Re: Decorating scales
- Date: Tue, 20 Jan 2009 00:20:53 -0500
On Tue, Jan 6, 2009 at 12:31 AM, Matthias Clasen
<matthias clasen gmail com> wrote:
>
> I'd like to get this functionality into 2.16, if nobody objects, but
> I'm not entirely sure that I have managed to come up with the best
> possible api for this yet:
To wrap up this discussion:
I just committed a slightly simplified version of my patch, leaving
out icons, and reducing the
api to just gtk_scale_add_mark + gtk_scale_clear_marks. I think the
'ticks at regular intervals' that several people brought up are
something different, and require another api, like
gtk_scale_set_ticks (GtkScale *scale,
GtkPositionType position,
gdouble major_tick_spacing,
gdouble minor_tick_spacing)
which is what e.g. Qt and Swing have. But I'm not going to tackle that
right now.
Matthias
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]