[pygtk] Reload gtk.Image contents
Daniil Baturin
daniil at baturin.org
Mon Jan 28 05:11:16 WST 2013
Hi,
What is the proper way to reload gtk.Image contents?
I want to make a simple educational gnuplot frontend that would allow
playing with parametric curve coefficients by using spin buttons,
expressions with substituted constants will be passed to gnuplot and
generated png displayed in a gtk.Image. But I'm not sure how to request
update of displayed image if the image has changed.
--
#!/usr/bin/env perl
@a=split(//, "daniil @ baturin . org" );# Daniil Baturin
@b=split(//,q/Px%!+o0Q6lh*7dp$. at 8#%|y{/);while($i<24){$_.=
chr((ord(@b[$i])-ord(@a[$i])+62)%94+32);$i++};print"$_\n"#
More information about the pygtk
mailing list