GtkScrolledWindow: add_with_viewport()

In the documentation, it says

If a widget has native scrolling abilities, it can be added to the
GtkScrolledWindow with gtk_container_add(). If a widget does not, you
must first add the widget to a GtkViewport, then add the GtkViewport to
the scrolled window. The convenience function
gtk_scrolled_window_add_with_viewport() does exactly this, so you can
ignore the presence of the viewport.

Is there any way to programatically determine whether the widget "has
native scrolling abilities"?

Murray Cumming
murrayc usa net

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