Re: is there a signal for typing at bottom of window?



 
Hi Doug, 

Try getting the vertical adjustment of the scrolled window and connect to "value-changed". See if that will 
work. Something like

...
static void value_changed(GtkAdjustment *v_adjust, gpointer user_data)
  {
  }
...
GtkWidget *scroll=gtk_scrolled_window_new(NULL, NULL);
GtkAdjustment *v_adjust=gtk_scrolled_window_get_vadjustment(GTK_SCROLLED_WINDOW(scroll));
g_signal_connect(v_adjust, "value-changed", G_CALLBACK(value_changed), NULL);
...

Eric 
 
 



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