Re: Vscale



On Mon, Feb 12, 2001 at 05:09:06PM +0100, manuel op de coul eon-benelux com wrote:
> How do I set a GtkVScale to having low values downside and high
> values upside, instead of the default opposite way?

With a negative increment value?
GtkObject * adjustment;
GtkWidget *vscale

adjustment = gtk_adjustment_new( 1.5, 2.0, 1.0, -0.01, -0.1, 1);
vscale = gtk_vscale_new(adjustment);

At least, I think that'll work...

> Manuel Op de Coul

Cheers,
Dave.

-- 
  .------------------------------.
 /          David Neary,          \
|     E-Mail dneary eircom net     | 
 \     Phone +353-1-872-0654      /
  `------------------------------'




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