Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
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
bgColor#eeeeee
borderWidth1

set w [qwidget]
qsetwindowtitle "Container widget"

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