messed up scrollbar initialization - 0.99.7



With gtk+ 0.99.7, I observe this behavior:

/* create an adjustment */
ad = gtk_adjustment_new(0.0, 0.0, 256.0, 1.0. 8.0, 1.0);
/* make a scrollbar with it */
gtk_hscrollbar_new(GTK_ADJUSTMENT(ad));

When the scrollbar pops up, the bar is at the far right instead of the
far left. The code worked perfectly in 0.99.3.

Plus, why does the initialization described above give me a scrollbar
from 0..255 instead 0..256 like it looks like it should?

Thanks!
Nathan



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