//Create and return new entry Structure func NewEntry() *Entry { e := &Entry{} o := C.gtk_entry_new() e.Container = NewContainer(unsafe.Pointer(o)) e.object = C.to_GtkEntry(unsafe.Pointer(o)) return e }
// Conversion function for gobject registration map func newEntryFromNative(obj unsafe.Pointer) interface{} { var entry Entry entry.object = C.to_GtkEntry(obj) entry.Container = NewContainer(unsafe.Pointer(obj)) return &entry }