Re: CList scrolling
- From: Ian Zimmerman <itz speakeasy org>
- To: gtk-app-devel-list gnome org
- Subject: Re: CList scrolling
- Date: 08 Sep 2002 08:33:07 -0700
Evan> The second way to use the scrolled window is useful with widgets
Evan> that lack the set_scroll_adjustments_signal. The GtkViewport
Evan> widget acts as a proxy, implementing scrollability for child
Evan> widgets that lack their own scrolling capabilities.
Evan> If a widget has native scrolling abilities, it can be added to
Evan> the GtkScrolledWindow with gtk_container_add(). If a widget does
Evan> not, you must first add the widget to a GtkViewport, then add
Evan> the GtkViewport to the scrolled window. The convenience function
Evan> gtk_scrolled_window_add_with_viewport() does exactly this, so
Evan> you can ignore the presence of the viewport.
I see. The doc for CList makes it seem that it doesn't have "native
scrolling capabilities". Thanks for the explanation.
--
Ian Zimmerman, Oakland, California, U.S.A.
GPG: 433BA087 9C0F 194F 203A 63F7 B1B8 6E5A 8CA3 27DB 433B A087
EngSoc adopts market economy: cheap is wasteful, efficient is expensive.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]