Webhosting and cheap domain registration service
  

 Home

GTK Classes
Prev GtkLayout Next

GtkLayout

Scrollable widget allowing multiple children in fixed positions.

Object Hierarchy

GtkObject
`-- GtkWidget
       `-- GtkContainer
              `-- GtkLayout

Description

A GtkLayout is a scrollable widget that provides a scrolling-aware backdrop for a child or children having fixed positions. It should be added directly to a GtkScrolledWindow.

Note that the scrolling does not work on win32 unless you program it to do so. There have been no such problems reported on other systems. The workaround under win32 is to connect the GtkScrolledWindow scrollbar adjustments' "value-changed" signals to a function that will force the GtkLayout to be redrawn. This can be queue_draw() in most situations, but the more complex child widgets will not respond to this alone and will need to have hide() and then show() called on the GtkLayout during the callback.

Note that GtkHtml is based on the GtkLayout class, and that similar redraw issues are seen with that widget.

Constructor

GtkLayout ( GtkAdjustment hadjustment , GtkAdjustment vadjustment );

-- Creates a scrollable backdrop whose children retain their positions.

Methods

put()
  Fixes a child widget at the given position.
move()
  Moves a child widget to a new position.
set_size()
  Sets the size of the layout.
get_hadjustment()
  Returns the horizontal adjustment object.
get_vadjustment()
  Returns the vertical adjustment object.
freeze()
  Freezes the display during an update.
thaw()
  Allows the display to be updated.


Prev Home Next
GtkLabel::parse_uline Up GtkLayout Constructor

 

  

Network sites:

Cheap domain registrar's cheap domain registration service

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

 
 
Quotes:
We confess our little faults to persuade people that we have no large ones.  
 
 

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