Pike v8.0 release 1738

Method Gnome.Dialog()->set_close()


Method set_close

Gnome.Dialog set_close(int click_closes)

Description

This is a convenience function so you don't have to connect callbacks to each button just to close the dialog. By default, Gnome.Dialog has this parameter set the FALSE and it will not close on any click. (This was a design error.) However, almost all the Gnome.Dialog subclasses, such as Gnome.MessageBox and Gnome.PropertyBox, have this parameter set to TRUE by default.