Re: How can I scroll my gtk application window programmically?
- From: Paul Davis <paul linuxaudiosystems com>
- To: ying lcs <yinglcs gmail com>
- Cc: gtk-list gnome org
- Subject: Re: How can I scroll my gtk application window programmically?
- Date: Sun, 11 Nov 2007 10:00:24 -0500
On Sat, 2007-11-10 at 20:53 -0600, ying lcs wrote:
> Hi,
>
> 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);
read the docs for GtkScrolledWindow, its more likely to be what you
want.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]