AspectFrame
Description:
[ CCode ( has_construct_function = false , type = "GtkWidget*" ) ]
public AspectFrame (string? label, float xalign, float yalign, float ratio, bool obey_child)
public AspectFrame (string? label, float xalign, float yalign, float ratio, bool obey_child)
Create a new AspectFrame.
Parameters:
label |
Label text. |
xalign |
Horizontal alignment of the child within the allocation of the AspectFrame. This ranges from 0.0 (left aligned) to 1.0 (right aligned) |
yalign |
Vertical alignment of the child within the allocation of the AspectFrame. This ranges from 0.0 (top aligned) to 1.0 (bottom aligned) |
ratio |
The desired aspect ratio. |
obey_child |
If true, |
Returns:
the new AspectFrame. |