# How to have a real-time feedback in a menu/panel/pie?

In the code below, I'm invoking a custom property that redefines itself every 1 second inside of a pie menu, but in the pie, nothing is in real time, it's "stuck in time", is there a way to make it real time?

import bpy
import datetime
from bpy.types import Menu

#delete me after the first run
def every_sec():
#bpy.context.area.tag_redraw() #didnt work
#bpy.context.scene.update() #didnt work
bpy.context.scene["GGG"]=str(datetime.datetime.now())[-15:-7]
return 1
bpy.app.timers.register(every_sec)
#delete me after the first run

bl_label = "Some Pie Menu"

def draw(self, context):
layout = self.layout
ups = context.tool_settings.unified_paint_settings
sculpt = context.tool_settings.sculpt

col = pie.column(align=True)
col.prop(ups, "size", text="Radius", slider=False)

• and bpy.context.area.tag_redraw()and'bpy.context.scene.update()didn't work either, but i did'nt know this line of code, thanks for letting me know (sorry i deleted your comment by mistake) – DB3D May 26 '19 at 9:30