GtkAspectFrame

Gamma/GTK: Using Gamma™ with GTK, Version 0.9
Prev |  | Next

# `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`)

Prev | Home | Next
`GtkArrow` | Up | `GtkBin`

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.