Re: GtkRange inversion



Carsten Burstedde <bursted iam uni-bonn de> writes:

> Hi,
> 
> I wrote a little patch to add a function to GtkRange with which you can
> toggle the connection between the adjustment and the widget: From
> default (left/top is adj->lower, right/bottom is adj->upper-page_size)
> to inverted (left/top is adj->upper-page_size, right/bottom is
> adj->lower). GtkScale and GtkScrollbar don't need to be changed.
> 
> Anyone interested, or is this functionality already provided somewhere?

2001-02-15  Havoc Pennington  <hp redhat com>

	* gtk/gtkrange.c (gtk_range_set_inverted): new function to fix 
	#50806

void           gtk_range_set_inverted      (GtkRange      *range,
                                            gboolean       setting);
gboolean       gtk_range_get_inverted      (GtkRange      *range);

:-)

Regards,
                                        Owen




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]