Extracted from as of .
   

Class GTK2.AspectFrame

Inheritance graph
GTK2.G.Object GTK2.Object GTK2.Widget GTK2.Container GTK2.Bin GTK2.Frame 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