Extracted from Pike v7.3 release 53 at 2002-09-10.
pike.ida.liu.se
[Top]
GTK
GTK.AspectFrame

Class GTK.AspectFrame

Inherits
  • GTK.Frame
Description

A W(Frame) widget that always maintain a specified ratio between width and height. width/height == ratio

 GTK.Aspect_frame("Title",0.5,0.5,0.4,0)->add( GTK.Label("Wrong aspect"))->set_usize(200,200)