In Blender, in the Material tab, there are different properties such as Base Color (1), Metallic (2), etc.
I need to find a way to determine which property the mouse pointer is currently hovering over.
Note:
The problem described below is specific to pre 4.4 versions of Blender.
*which I wasn't aware of at the time when posted this question.
My first thought was to use bpy.context.property:
prop_owner,prop_name,path_id = bpy.context.property
However, this doesn't help here, since prop_owner and prop_name are identical for both of the mentioned properties. For example, if I print them:
print(prop_owner,prop_name)
I get the following identical results:
(1) `<bpy_struct, ShaderNodeTree("Shader Nodetree") at 0x000001B837146720> default_value`
(2) `<bpy_struct, ShaderNodeTree("Shader Nodetree") at 0x000001B837146720> default_value`
So how can I determine whether the mouse is hovering over the Base Color value, the Metallic value, or some other property?

