Re: How to scroll my gtk application window programmically
- From: "Alan M. Evans" <gtkappdevellist alanevans org>
- To: gtk-app-devel-list gnome org
- Subject: Re: How to scroll my gtk application window programmically
- Date: Thu, 15 Nov 2007 10:07:19 -0800
On Sat, 2007-11-10 at 20:48 -0600, ying lcs wrote:
I would like to know how can I scroll my gtk application window programmically?
I have tried this, but the scroll bar does not make and the content of
the window did not get refresh?
GtkWidget* topLevelWindow;
GdkWindow* win = topLevelWindow->window;
gdk_window_scroll (win, 1, 880);
Is your top level window scrollable? My guess is that you actually have
a scrollable widget (GtkTextView in a GtkScrolledWindow, or whatever)
embedded somewhere in your top-level, and that's the thing you want to
scroll.
-Alan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]