How to capture the scroll event of the scrolled window?
- From: heavenscape <masonduan1 sina com>
- To: gtk-list gnome org
- Subject: How to capture the scroll event of the scrolled window?
- Date: Mon, 19 Jun 2006 23:45:54 -0700 (PDT)
I need to track the scroll events of the GtkScrolledWindow, and i use
following code:
GtkWidget* w = lookup_widget(MainWnd,"scrolledwindow1");
gtk_widget_add_events (w, GDK_SCROLL_MASK);
and I mapped the scroll child event with glade, but it does not work.
Anyone knows why?
--
View this message in context: http://www.nabble.com/How-to-capture-the-scroll-event-of-the-scrolled-window--t1815899.html#a4950061
Sent from the Gtk+ - General forum at Nabble.com.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]