Re: GtkScrolledWindow: add_with_viewport()
- From: James Henstridge <james daa com au>
- To: murrayc usa net
- Cc: gtk-devel-list <gtk-devel-list gnome org>
- Subject: Re: GtkScrolledWindow: add_with_viewport()
- Date: Thu, 21 Mar 2002 19:36:49 +0800
Murray Cumming wrote:
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"?
(GTK_WIDGET_GET_CLASS(widget)->set_scroll_adjustments_signal != 0)
James.
--
Email: james daa com au
WWW: http://www.daa.com.au/~james/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]