how can i use the header_text property ?
if i give it a value of “test” i get this error:
Traceback (most recent call last):
File “c:\blender-2.80.0-git.490a385c8124-windows64\2.80\scripts\startup\bl_operators\wm.py”, line 782, in modal
header_text = header_text % eval(“item.%s” % self.data_path_item)
TypeError: not all arguments converted during string formatting
based on my limited python knowledge the i should get test + the value of the property that im changing in the blender header.
The code of the operator can be found here
What is it in this case? How do you assign “test”, and to what?
Setting the header text from an Add-on should work using the code in line 786 of the code you linked: context.area.header_text_set(header_text). So context.area.header_text_set("test") should do what you (I believe) want.