qsetwindowtitle - set window title

Name

qsetwindowtitle — set window title

Syntax

qsetwindowtitle [widget] title

Description

The qsetwindowtitle command sets the title, or caption, of the current widget. The title bar will only be visible on top level windows.

Arguments

widget

Target widget.

title

The window title.

Examples

Ex.1: qsetwindowtitle

set w [qwidget]
qsetwindowtitle "Container widget"

# Arrange children vertically
qvboxlayout {
	qlabel "My embedded label"
}
qshow $w