Beispiel #1
0
// SetSensitive is a wrapper around gtk_widget_set_sensitive().
func (v *Widget) SetSensitive(sensitive bool) {
	C.gtk_widget_set_sensitive(v.native(), gbool(sensitive))
}
Beispiel #2
0
func gtk_widget_set_sensitive(item GtkWidget, b bool) {
	C.gtk_widget_set_sensitive(Arg(item), C.bool(Bool2Int[b]))
}