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