Mine
public text v1 · immutable<?php
$wnd = new GtkWindow();
$prg = new GtkProgressbar();
$prg->set_pulse_step(0.1);
$wnd->add($prg);
$wnd->show_all();
gtk::timeout_add(200,"pulse",$prg);
gtk::main();
function pulse($prg){
$prg->pulse();
return true;
}
?>