You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Shoes.app :title => "Test" do
update = File.mtime(file)
img = image(file)
# If image is updated, reload it.
every(2) do
new_time = File.mtime(file)
unless new_time == update
img.remove
update = new_time
img = image(file)
end
end
end
Still learning GTK -- tried to figure out the problem, but just don't know enough yet.
Cheers,
John
The text was updated successfully, but these errors were encountered:
Hi John,
Thank you for the information. Yeah, remove method is not so good. I need to study GTK more.
Try out to use img.clear instead of img.remove for now. ;-)
ashbb
I have a similar problem to the one described here:
http://librelist.com/browser//shoes/2011/3/3/green-shoes-error-on-stdout-when-trying-to-clear-a-flow/#7fe6a7ed1f69f7d0b9827ad90fb4808d
It happens when I attempt to remove an image:
Still learning GTK -- tried to figure out the problem, but just don't know enough yet.
Cheers,
John
The text was updated successfully, but these errors were encountered: