Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
GTK2
GTK2.Frame

Class GTK2.Frame

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.

 GTK2.Frame("Title")->add(GTK2.Label("Contents"))

 GTK2.Frame()->add(GTK2.Label("Contents"))

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

Properties: string label GTK2.Widget label-widget float label-xalign float label-yalign int shadow int shadow-type


Inherit Bin

inherit GTK2.Bin : Bin