GTK_SCROLL_PAGE_LEFT which key?
- From: Hazael Maldonado Torres <gtk-development itxolutions com>
- To: gtk-app-devel-list gnome org
- Subject: GTK_SCROLL_PAGE_LEFT which key?
- Date: Wed, 02 Feb 2005 12:26:04 +0000
Hi guys, I am doing some program using GTK+ 2.4 I saw that the GtkHScale
and GtkVScale do not property manage the page-increment property when
you press PagUp or PagDown key. It is worth to say I am using it on a
Mac using the standard apple Keyboard. I noticed this is not the same
with GtkSpinButton. The window has two scale widgets (one V and one H)
and one spin button, the three share the same GtkAdjustment.
g_signal_connect(v_slider, "move-slider",
G_CALLBACK(my_move_slider), NULL);
I connected an extra callback to the "move-slider" signal and printed
the value of GtkScrollType. Every time I press the PagUp key the new
callback is called twice one with the enum value of GTK_SCROLL_PAGE_LEFT
and one with GTK_SCROLL_PAGE_UP. The problem is that the scale modifies
its value twice the value of page-increment.
Any advice?
Best regards.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]