Beispiel #1
0
func (b *Button) SetUseStock(use_stock bool) {
	var us C.gboolean
	if use_stock {
		us = 1
	}
	C.gtk_button_set_use_stock(b.g(), us)
}
Beispiel #2
0
// SetUseStock is a wrapper around gtk_button_set_use_stock().
func (v *Button) SetUseStock(useStock bool) {
	C.gtk_button_set_use_stock(v.Native(), gbool(useStock))
}