PHP-GTK
Monday, October 06, 2008 
download | documentation | applications | faq | changelog | resources 


search for in the  


previousGtkFileSelection::selection_text
GtkFixed Constructornext

Last updated: Sat, 15 Dec 2007
view this page in English | Bulgarian | Japanese | Brazilian | Simplified Chinese

GtkFixed

A container that allows for precise placement of widgets.

Object Hierarchy

Direct Subclasses

Description

A GtkFixed container performs no automatic layout management, as it is left to the programmer to provide the placement and size of all child widgets, in pixels, through the put() and move() methods. The add() method should not be used with GtkFixed.

Although this container allows for a fine grain of control over the exact layout of a program, it is should not be used for most applications. One reason for this recommendation is that it requires great care and effort to prevent display bugs (such as truncated text or overlapping widgets), and makes it troublesome to add or remove widgets, as probably many others will have to be rearranged. It has some other limitations, particularly when it comes to tranlating text and handling right-to-left languages. It is also harder to maintain layout consistency, especially in applications with complex and/or multiple windows.

See also:GtkTable, GtkBox.

Constructors

-- Creates a new GtkFixed container.

Methods

get_has_window()
  Gets whether the GtkFixed has its own GdkWindow.
move()
  Moves child to new position.
put()
  Sets initial position of child.
set_has_window()
  Defines whether a separate window should be created.


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


previousGtkFileSelection::selection_text
GtkFixed Constructornext

Last updated: Sat, 15 Dec 2007
view this page in English | Bulgarian | Japanese | Brazilian | Simplified Chinese


credits 

PHP  Copyright © 2001-2008 The PHP Group
 All rights reserved.
Last updated: Sat Dec 15 02:46:30 2007 UTC