GtkAspectFrame
A frame that constrains its child to a particular aspect ratio.
对象层次
描述
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.
构造函数
GtkAspectFrame ([string label = null [, double xalign = 0.5 [, double yalign = 0.5 [, double ratio = 1.0 [, bool obey_child = true]]]]]);-- Creates a new GtkAspectFrame
方法
set() Sets parameters for an existing GtkAspectFrame