GtkAspectFrame

GtkAspectFrame — constrains resizing to a given aspect ratio.

Synopsis

class GtkAspectFrame GtkFrame
{
    obey_child;        // gboolean : Read / Write 
    ratio;             // gfloat   : Read / Write 
    xalign;            // gfloat   : Read / Write 
    yalign;            // gfloat   : Read / Write 
}
     

Parent Classes

GtkObject<-- GtkWidget<-- GtkContainer<-- GtkBin<-- GtkFrame<--GtkAspectFrame

Methods

set (xalign, yalign, ratio, obey_child)

Related Functions

gtk_aspect_frame_get_type () -- replaces GTK_TYPE_ASPECT_FRAME
gtk_aspect_frame_new (label, xalign, yalign, ratio, obey_child)