func (a *area) SetTextFieldText(text string) { ctext := togstr(text) defer freegstr(ctext) C.gtk_entry_set_text(a.textfield, ctext) }
func gtk_entry_set_text(widget *C.GtkWidget, text string) { ctext := C.CString(text) defer C.free(unsafe.Pointer(ctext)) C.gtk_entry_set_text(togtkentry(widget), togstr(ctext)) }
func (t *textfield) SetText(text string) { ctext := togstr(text) defer freegstr(ctext) C.gtk_entry_set_text(t.entry, ctext) }
// Button interface func (self *Entry) SetText(label string) { s := gobject.GString(label) //defer s.Free() C.gtk_entry_set_text(self.object, (*C.gchar)(s.GetPtr())) }