# Class GTK1.Frame

Inheritance graph

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 set_label_align().

  Used to visually group objects.

  `GTK1.Frame("Title")->add(GTK1.Label("Contents"))`

  `GTK1.Frame()->add(GTK1.Label("Contents"))`

  `GTK1.Frame()->add(GTK1.Label("Contents"))->set_shadow_type(GTK1.SHADOW_IN)`

Inherit Container

  inherit GTK1.Container : Container

Method create

  `GTK1.Frame GTK1.Frame(string|void label_text)`

Description

  Create a new W(Frame) widget.