Go to the first, previous, next, last section, table of contents.


5.3 The aspect frame widget

5.3.1 Description

Ensure that the child window has a specified aspect ratio or, if obey_child, has the same aspect ratio as its requested size. Derived from see section 5.23 The frame widget).

5.3.2 Options

User Option: label

User Option: xalign

User Option: yalign

User Option: ratio

User Option: obey_child

5.3.3 Signals

5.3.4 Functions

Function: guint gtk_aspect_frame_get_type (void)
Returns the GtkAspectFrame type identifier.

Function: GtkWidget* gtk_aspect_frame_new (gchar *label, gfloat xalign, gfloat yalign, gfloat ratio, gint obey_child)
Create a new GtkAspectFrame object and initialize it with the values label, xalign, yalign, ratio and obey_child. The new widget is returned as a pointer to a GtkWidget object. NULL is returned on failure.

Function: void gtk_aspect_frame_set (GtkAspectFrame *aspect_frame, gfloat xalign, gfloat yalign, gfloat ratio, gint obey_child)

@gtkstdmacros{AspectFrame, ASPECT_FRAME}


Go to the first, previous, next, last section, table of contents.