Re: List Scrolling

Something like you take the coordinates at press, and on subsequent motion events you take the coordinates again,
with the velocity depending on the position/distance from the original coordinates. On "unpress" (release) you
stop the scroll.

On Wed, Nov 26, 2008 at 2:22 PM, Demetris Zavorotnichenko <fgcity4652 cytanet com cy> wrote:
Hi to all.

I have a Tree View on a scrolling window. I need to be able to scroll it by
pressing on the tree and dragging it.

I need this since the application runs on a Touchscreen device so I don't
want to Drag the window Up and Down from the scroll bars but by pressing on
it and dragging.

How would I do this? I mean, if I take an event->y then I don't know the
direction. So how would this be done ?

Please help out guys.

gtk-list mailing list
gtk-list gnome org

Please note that according to the German law on data retention,
information on every electronic information exchange with me is
retained for a period of six months.
[Bitte beachten Sie, dass dem Gesetz zur Vorratsdatenspeicherung zufolge
jeder elektronische Kontakt mit mir sechs Monate lang gespeichert wird.]

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