Plank.ApplicationDockItem.pin_launcher – plank Reference Manual
pin_launcher
Description:
public
signal
void
pin_launcher
()
Signal fired when the item's 'keep in dock' menu item is pressed.