pike.hubbe.net

[Top]
GTK
GTK.Frame
previousGTK.FontSelectionDialog()->get_ok_button() GTK.Frame()->create()next

Class GTK.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.

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

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

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

Inherits

  • GTK.Container

Extracted from Pike v7.3 release 11 at 2001-11-03.