[gtk-list] [patch] range controls...




  This patch includes the gtk-fortier-971222-0.patch which modifies
the behaviour (corrects a bug?) of the trough of a range control
(range/scale/scrollbar widgets).

  The default behaviour when you click on the background of a range 
widget (ie not on arrows or the slider) and keep the mouse button
pressed is to make the slider move in the original direction, even
if it's not the good direction anymore (the slider's gone too far).

Now the slider go in the direction of the mouse pointer and can stop
if the mouse pointer is on the slider. If you move the mouse (with
the button still pressed) the slider will go in the direction of the
mouse pointer even if it's now the opposite direction.



  I also added 2 new datas in the range class:
trough_xthickness & trough_ythickness
These will be use to implement the different look&feels (ie win95,
NeXT, Mui-amiga...) for range controls.
For example a win95 or NeXT scrollbar has no (width 0) shadow on
trough, but still has a shadow for arrows and slider.
I modified scrollbar and scale widgets to use these datas.



  The hscrollbar cannot be the focus anymore (it now has the same
behaviour as vscrollbar).

The patch was made against the 971201 version.

Patrice.



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