Showing text in the area header in Blender
When executing modal operators such as rotation, translation, or scale, text with the current values of the mesh parameters being changed is displayed in the header of the current area. If necessary, we can display any required text in the area header.