Webhosting and cheap domain registration service


GTK Classes
Prev GtkScrolledWindow Next


Adds scrollbars to its child widget.

Object Hierarchy

`-- GtkWidget
       `-- GtkContainer
              `-- GtkBin
                     `-- GtkScrolledWindow


A GtkScrolledWindow is a window that can supply a scrollable child widget with scrollbars.

The scrollbars take their adjustment settings from the child widget and do not need adjustment configuration. Children that are not scrollable therefore need to be packed into a widget that has scrolling awareness. GtkViewport is one such widget, and can be added and configured automatically using the convenience method add_with_viewport() . The other widget that can be used for this purpose is GtkLayout, which allows multiple children to be given fixed positions and provides scrollbars.

The scrolling-aware widgets are: GtkCList, GtkCTree, GtkLayout, GtkScrolledWindow, GtkText and the catch-all GtkViewport.

Note that any scroll key bindings are taken from the child widget in the GtkScrolledWindow, and not from the scrollbars themselves.


GtkScrolledWindow ([ GtkAdjustment hadjustment = NULL , [ GtkAdjustment vadjustment = NULL ]]);

-- Creates a scrolling window.


  Returns the horizontal adjustment object.
  Returns the vertical adjustment object.
  Sets scrollbar visibility policies.
  Sets scrollbar positions.
  Convenience method for adding non-scrolling widgets.

Prev Home Next
GtkScrollbar Up GtkScrolledWindow Constructor



Network sites:

Cheap domain registrar's cheap domain registration service

$8.95 domain registration : Buy domain name or register domain name 

Nobody gets to live life backward. Look ahead-that's where your future lies.  

Disclaimer: This documentation is provided only for the benefits of our webhosting customers.
For authoritative source of the documentation, please refer to http://gtk.php.net/docs.php