qgroupbox - container widget with frame and title

Name

qgroupbox — container widget with frame and title

Syntax

qgroupbox title

Description

The qgroupbox command creates a QGroupBox object. This is a titled container widget with a frame. A layout manager is still required in order to arrange the contents inside.

Arguments

title

A title placed on the surrounding frame.

Examples

Ex.1: Horizontal group

set w [qwidget ]
qsetwindowtitle GroupBox
qvboxlayout {
	qgroupbox "My GroupBox"
	qhboxlayout {
		qlabel "Left"
		qlabel "Right"
	}
}
qshow $w