I couldn't find this in the archives, but I assume it's a common thing.
How do I force a GtkScrolledWindow to scroll?
Using the C API, I have a drawing area widget that I put into a scrolled
window. I can scroll the image as expected by dragging the scrollbars.
Now, I want to first, force the
On Mon, Jan 11, 2010 at 01:51:06PM -0500, Tim Corio wrote:
I couldn't find this in the archives, but I assume it's a common thing.
How do I force a GtkScrolledWindow to scroll?
You can either use gtk_range_set_value() on the scrollbar obtained with
GTK+ 2.19.3 is now available for download at:
ftp://ftp.gtk.org/pub/gtk/2.19/
http://download.gnome.org/sources/gtk+/2.19/
md5 sums:
d5e74c3cff193e1e8e1ac8f0857ea1d4 gtk+-2.19.3.tar.bz2
05702fd5ae0ecf231b815241bbdd201c gtk+-2.19.3.tar.gz
sha1 sums:
326e028b081d6d757a6ad855ecea1831c1b98516
Then I want to implement a drag scrolling. The user will click and drag the
image to make it scroll.
To write drag code in GTK you basically need to handle signals
button_press_event and motion_notify_event, as exemplified below.
Essentially drag operations depend of the difference
GTK+ 2.18.6 is now available for download at:
ftp://ftp.gtk.org/pub/gtk/2.18/
http://download.gnome.org/sources/gtk+/2.18/
md5 sums:
3b32073cf1fad755f7c2b2db71aebe90 gtk+-2.18.6.tar.bz2
f98617af9f6be3065f64248f78dae2b7 gtk+-2.18.6.tar.gz
sha1 sums:
6190838c6c5e5cd3b0499d2a59ae06e517598bc9
hi,guys
How can i put a regular button in a GtkTreeView ?
Thanks!
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list