pike.ida.liu.se
Search for
Home > Docs > Pike reference

[Top]
GTK2
GTK2.AspectFrame

GTK2.AspectFrame

Description

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

 GTK2.AspectFrame("Title",0.5,0.5,0.4,0)->add( GTK2.Label("Wrong aspect"))->set_size_request(200,200)

Properties: int obey-child float ratio float xalign float yalign


Inherit Frame

inherit GTK2.Frame : Frame

Module reference for Pike v7.8 release 116, 2008-12-31