func (w *Widget) SetDoubleBuffered(double_buffered bool) { var db C.gboolean if double_buffered { db = 1 } C.gtk_widget_set_double_buffered(w.g(), db) }
// SetDoubleBuffered is a wrapper around gtk_widget_set_double_buffered(). func (v *Widget) SetDoubleBuffered(doubleBuffered bool) { C.gtk_widget_set_double_buffered(v.native(), gbool(doubleBuffered)) }