Learn R Programming

RGtk2 (version 2.20.1)

GtkFrame: GtkFrame

Description

A bin with a decorative frame and optional label

Arguments

Methods and Functions

gtkFrameNew(label = NULL, show = TRUE) gtkFrameSetLabel(object, label = NULL) gtkFrameSetLabelWidget(object, label.widget) gtkFrameSetLabelAlign(object, xalign, yalign) gtkFrameSetShadowType(object, type) gtkFrameGetLabel(object) gtkFrameGetLabelAlign(object) gtkFrameGetLabelWidget(object) gtkFrameGetShadowType(object) gtkFrame(label = NULL, show = TRUE)

Hierarchy

GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkFrame +----GtkAspectFrame

Interfaces

GtkFrame implements AtkImplementorIface and GtkBuildable.

Detailed Description

The frame widget is a Bin that surrounds its child with a decorative frame and an optional label. If present, the label is drawn in a gap in the top side of the frame. The position of the label can be controlled with gtkFrameSetLabelAlign.

GtkFrame as GtkBuildable

The GtkFrame implementation of the GtkBuildable interface supports placing a child in the label position by specifying "label" as the "type" attribute of a element. A normal content child can be specified without specifying a type attribute. A UI definition fragment with GtkFrame

Convenient Construction

gtkFrame is the equivalent of gtkFrameNew.

References

http://library.gnome.org/devel//gtk/GtkFrame.html