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


search for in the  


previousGtkArrow::shadow_type
GtkAspectFrame Constructornext

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

GtkAspectFrame

A frame that constrains its child to a particular aspect ratio.

Object Hierarchy

Description

GtkAspectFrame is useful whenever you want t allow the user to change the size of a widget but still maintain its aspect ratio. As an example, you might be displaying a small preview of a larger image.

Constructors

GtkAspectFrame ([string label = null [, double xalign = 0.5 [, double yalign = 0.5 [, double ratio = 1.0 [, bool obey_child = true]]]]]);

-- Creates a new GtkAspectFrame

Methods

set()
  Sets parameters for an existing GtkAspectFrame


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


previousGtkArrow::shadow_type
GtkAspectFrame 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:29 2007 UTC