desensitise_widget


Description:

[ Version ( since = "4.16" ) ]
public static void desensitise_widget (Widget widget)

A convenience function to be connected as a callback for the "text-invalid" signal (for example, using g_connect_swapped) for the simple case where the desired effect of this signal is to set the sensitivity of a single GtkWidget (for example, a GtkButton).

Parameters:

widget

a Widget