Webhosting and cheap domain registration service
  

 Home

GTK Classes
Prev GtkScrolledWindow Next

GtkScrolledWindow

Adds scrollbars to its child widget.

Object Hierarchy

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

Description

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.

Constructor

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

-- Creates a scrolling window.

Methods

get_hadjustment()
  Returns the horizontal adjustment object.
get_vadjustment()
  Returns the vertical adjustment object.
set_policy()
  Sets scrollbar visibility policies.
set_placement()
  Sets scrollbar positions.
add_with_viewport()
  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 

 
 
Quotes:
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