Function XdgToplevel.setTitle

set surface title

void setTitle (
  string title
);

Set a short title for the surface.

This string may be used to identify the surface in a task bar, window list, or other user interface elements provided by the compositor.

The string must be encoded in UTF-8.