Require Blender to update N or T panel I create a auto setup matcap texture addon and i'd like to know if it should be possible to "require" blender to update N panel.
Got a template_preview and it should be great that it refresh automaticaly.
If it really not possible, is it possible to get the texture list box or did i have to create my own texture list ?
Use Region.tag_redraw on the corresponding region. The region type of the T-Panel is 'TOOLS' and the type of the N-Panel is 'UI'.

I.e.

for region in context.area.regions:
    if region.type == "UI":
        region.tag_redraw()