func (l *label) SetText(text string) { ctext := togstr(text) defer freegstr(ctext) C.gtk_label_set_text(l.label, ctext) }
func gtk_label_set_text(widget *C.GtkWidget, text string) { ctext := C.CString(text) defer C.free(unsafe.Pointer(ctext)) C.gtk_label_set_text(togtklabel(widget), togstr(ctext)) }
func (self *Label) SetText(str string) { s := gobject.GString(str) defer s.Free() C.gtk_label_set_text(self.object, (*C.gchar)(s.GetPtr())) }
// SetText is a wrapper around gtk_label_set_text(). func (v *Label) SetText(str string) { cstr := C.CString(str) defer C.free(unsafe.Pointer(cstr)) C.gtk_label_set_text(v.native(), (*C.gchar)(cstr)) }
func gtk_label_set_text(label GtkWidget, s string) { n := C.CString(s) defer C.free(unsafe.Pointer(n)) C.gtk_label_set_text(Arg(label), n) }