Lines Matching refs:spin
122 static gint sp_dtw_zoom_input (GtkSpinButton *spin, gdouble *new_val, gpointer data);
123 static bool sp_dtw_zoom_output (GtkSpinButton *spin, gpointer data);
124 static void sp_dtw_zoom_value_changed (GtkSpinButton *spin, gpointer data);
1913 sp_dtw_zoom_input (GtkSpinButton *spin, gdouble *new_val, gpointer /*data*/)
1915 gdouble new_scrolled = gtk_spin_button_get_value (spin);
1916 const gchar *b = gtk_entry_get_text (GTK_ENTRY (spin));
1929 sp_dtw_zoom_output (GtkSpinButton *spin, gpointer /*data*/)
1932 double val = sp_dtw_zoom_value_to_display (gtk_spin_button_get_value (spin));
1938 gtk_entry_set_text (GTK_ENTRY (spin), b);
1943 sp_dtw_zoom_value_changed (GtkSpinButton *spin, gpointer data)
1945 double const zoom_factor = pow (2, gtk_spin_button_get_value (spin));
1951 g_signal_handler_block (spin, dtw->zoom_update);
1953 g_signal_handler_unblock (spin, dtw->zoom_update);
1955 spinbutton_defocus (GTK_WIDGET(spin));