Hello,
I want to output the following status string in my custom widget using Python API.
(F.ex. this string appears when you press G to toggle translation operation).
Digging into the Blender source I found several functions, namely initShear
, initTranslation
, initRotation
and etc. Besides implementing actual operation these functions also print the string I need into a passed ScrArea
.
For example, applyShear
prints the needed string in function local variable and then outputs the string into passed TransInfo *t -> area
via ED_area_status_text
.
Is it ever possible to somehow access the ScrArea *area
so I can output the status string into my own widget? Or maybe there is another way to get the string?
Thanks!