PHP-GTK
Friday, July 25, 2014 
download | documentation | applications | faq | changelog | resources 


search for in the  


previousGtkArrow::shadow_type
GtkAspectFrame Constructornext

Last updated: Sun, 12 May 2013
view this page in English

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: Sun, 12 May 2013
view this page in English


credits 

PHP  Copyright © 2001-2014 The PHP Group
 All rights reserved.
Last updated: Sun May 12 20:50:56 2013 CEST