func (c *checkbox) SetText(text string) { ctext := togstr(text) defer freegstr(ctext) C.gtk_button_set_label(c.button, ctext) }
// Button interface func (self *Button) SetLabel(label string) { s := gobject.GString(label) //defer s.Free() C.gtk_button_set_label(self.object, (*C.gchar)(s.GetPtr())) }
func (b *Button) SetLabel(label string) { C.gtk_button_set_label(b.g(), (*C.gchar)(C.CString(label))) }
func gtk_button_set_label(button *C.GtkWidget, label string) { clabel := C.CString(label) defer C.free(unsafe.Pointer(clabel)) C.gtk_button_set_label(togtkbutton(button), togstr(clabel)) }
func (b *button) SetText(text string) { ctext := togstr(text) defer freegstr(ctext) C.gtk_button_set_label(b.button, ctext) }
func (b *Button) SetLabel(label string) { l := _GString(label) defer _GFree(unsafe.Pointer(l)) C.gtk_button_set_label(b.c, l) }