GUI component interaction: Difference between revisions

Content added Content deleted
No edit summary
Line 2,749: Line 2,749:
dialog.destroy();
dialog.destroy();
if(answer == Gtk.ResponseType.YES){
if(answer == Gtk.ResponseType.YES){
entry.set_text(Random.int_range(0,10000).to_string());
entry.set_text(Random.int_range(0,10000).to_string());
}
}
});
});