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; } ?>