PHP-GTK
Wednesday, July 23, 2014 
download | documentation | applications | faq | changelog | resources 


search for in the  


previousGtkScrolledWindow Constructor
GtkScrolledWindow::get_hadjustmentnext

Last updated: Sun, 12 May 2013
view this page in English

GtkScrolledWindow::add_with_viewport

Used to add children without native scrolling capabilities. This is simply a convenience function; it is equivalent to adding the unscrollable child to a viewport, then adding the viewport to the scrolled window. If a child has native scrolling, use add() instead of this function.

The viewport scrolls the child by moving its GdkWindow, and takes the size of the child to be the size of its toplevel GdkWindow. This will be very wrong for most widgets that support native scrolling; for example, if you add a widget such as GtkTreeView with a viewport, the whole widget will scroll, including the column headings. Thus, widgets with native scrolling support should not be used with the GtkViewport proxy.


User Contributed Notes
gtk.gtkscrolledwindow.method.add_with_viewport.php
add a note about notes
There are no user contributed notes for this page.


previousGtkScrolledWindow Constructor
GtkScrolledWindow::get_hadjustmentnext

Last updated: Sun, 12 May 2013
view this page in English


credits 

PHP  Copyright © 2001-2014 The PHP Group
 All rights reserved.
Last updated: Sun May 12 20:51:00 2013 CEST