GtkPaned (was Re: Patch to GtkPaned.)



On Tuesday, February 13, 2001 at 03:33, Christopher James Lahey wrote:
> This patch adds two things to GtkPaned. 

Speaking about the GtkPaned widget... It would be nice if one
could use the whole bar to drag, not just the knob. (Similar
to panning bars in Windoze.) This would make it possible to
use a smaller bar (say 4-6 pixels wide/high). Has this been
considiered, done already, or is it a theme issue?

Another thing (which is probably extremely hard to implement
right now) is that while the bar is N pixels wide/high
visually, it should still be possible to drag the bar by
clicking within N+2 (or even N+4) pixels. Like an invisible
(but sensible) border around the bar.

       Clickable  Area
------+---+-------+---+-----
      |   |<.....>|   |
      |   |<.....>|   |
      |   |<.....>|   |
--------+ |<.....>|   |
Button  | |<.....>|   |
        | |<.....>|   |
        | |<.....>|   |
        | |<.....>|   |
        | |<.....>|   |
--------+ |<.....>|   |
      |   |<.....>|   |
------+---+-------+---+-----
          VisualBar

As this picture shows, the clickable area surrounds the visual portion
of the bar. A button overlaps part of the clickable area.
(In this case, the button's clickable area would be considered above
the clickable area of the bar.)

Oskar Liljeblad (osk hem passagen se)




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