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.
No?
On Wed, Nov 26, 2008 at 2:22 PM, Demetris Zavorotnic
On Wed, Nov 26, 2008 at 1:22 PM, Demetris Zavorotnichenko
<[EMAIL PROTECTED]> 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
> w
Tnx Guys, I have it working now :)
I appreciate all the help
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
Ok, I got the scrolling window to scroll from my mouse.
But I have another problem now.
I need to set the vadhustment on the window as soon as I create it, so the
window is in the center and not in the beginning.
But when I do :
Gtk_adjustment *adj = gtk_scrolled_window_get_vadjustment
(GTK_SCR
> -Original Message-
> From: Demetris Zavorotnichenko
>
> Ok, I got the scrolling window to scroll from my mouse.
>
> But I have another problem now.
>
> I need to set the vadhustment on the window as soon as I create it, so
> the window is in the center and not in the beginning.
>
> Bu
To: gtk-list@gnome.org
Subject: RE: List Scrolling
> -Original Message-
> From: Demetris Zavorotnichenko
>
> Ok, I got the scrolling window to scroll from my mouse.
>
> But I have another problem now.
>
> I need to set the vadhustment on the window as soon