Wiki Markup |
---|
{alias:qsetwindowtitle} |
Name
qsetwindowtitle — set window title
...
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
...
No Format | ||||
---|---|---|---|---|
| ||||
set w [qwidget]
qsetwindowtitle "Container widget"
# Arrange children vertically
qvboxlayout {
qlabel "My embedded label"
}
qshow $w
|