示例#1
0
文件: area_unix.go 项目: NotBadPad/ui
func (a *area) TextFieldText() string {
	return fromgstr(C.gtk_entry_get_text(a.textfield))
}
示例#2
0
func (t *textfield) Text() string {
	return fromgstr(C.gtk_entry_get_text(t.entry))
}
示例#3
0
文件: entry.go 项目: napsy/go-gtk3
func (self *Entry) GetText() string {
	l := C.gtk_entry_get_text(self.object)
	return gobject.GoString(unsafe.Pointer(l))
}
示例#4
0
func gtk_entry_get_text(widget *C.GtkWidget) string {
	return fromgstr(C.gtk_entry_get_text(togtkentry(widget)))
}
示例#5
0
文件: entry.go 项目: ziutek/gtk
func (e *Entry) GetText() string {
	return C.GoString((*C.char)(C.gtk_entry_get_text(e.g())))
}