A decorative frame for holding a widget.
A GtkFrame is essentially a
GtkBin with a decorative border and an optional
label. It is most often used to neatly contain your widgets in an
application in an organized and appealing fashion.
If a label is specified, it will appear in a gap at the top of the
frame. The position of the label may be specified with
An important thing to note is that, since the
GtkFrame is derived from
GtkBin, it may hold only one child widget!
Creates a new frame optionally with a label.