Plank.DockItem.load_from_launcher – plank Reference Manual
load_from_launcher
Description:
protected
virtual
void
load_from_launcher
()
Parses the associated launcher and e.g. sets the icon and text from it.