Gets the title for the DockItem.
Generally, you want to use a DockWidget which has a "title" property you can set. But this can be helpful for integration of various container widgets.
this |
A DockItem |
A newly allocated string or null. |