Post #1276: .
Use Sticky Key with this code:
On Press:
bpy.context.space_data.show_manipulator = True
On Release:
bpy.context.space_data.show_manipulator = False