Hi,
i have a png image file which periodically updates.

I've tried to display it with an imagebox and a timer but there's actually
no updates in the display, here is a complete minimal (i hope) code :

function imagew_icon()
   local fic ="/tmp/image.png"
   imagew:set_image(fic)
end
imagew = wibox.widget.imagebox()
imagew_timer = timer({ timeout = 10 })
imagew_timer:connect_signal("timeout", function () imagew_icon()  end)
imagew_timer:start()
imagew_icon()

thanks for any help !

-- 
Cordialement
                           David Cobac

Reply via email to