func (t *textEntry) SetSelection(from int, to int) { p := C.WxTextEntryPtr(pointer(t)) if p == nil { return } C.wxTextEntry_SetSelection(p, C.long(from), C.long(to)) }
func (t *textEntry) InsertionPoint() int { p := C.WxTextEntryPtr(pointer(t)) if p == nil { return 0 } return int(C.wxTextEntry_GetInsertionPoint(p)) }
func (t *textEntry) Hint() string { p := C.WxTextEntryPtr(pointer(t)) if p == nil { return "" } return goString(C.wxTextEntry_GetHint(p)) }
func (t *textEntry) AutoComplete(choices []string) bool { p := C.WxTextEntryPtr(pointer(t)) if p == nil { return false } return goBool(C.wxTextEntry_AutoComplete(p, cStringSlice(&choices))) }
func (t *textEntry) StringSelection() string { p := C.WxTextEntryPtr(pointer(t)) if p == nil { return "" } return goString(C.wxTextEntry_GetStringSelection(p)) }
func (t *textEntry) SetHint(hint string) bool { p := C.WxTextEntryPtr(pointer(t)) if p == nil { return false } return goBool(C.wxTextEntry_SetHint(p, cString(&hint))) }
func (t *textEntry) CanUndo() bool { p := C.WxTextEntryPtr(pointer(t)) if p == nil { return false } return goBool(C.wxTextEntry_CanUndo(p)) }
func (t *textEntry) Cut() { p := C.WxTextEntryPtr(pointer(t)) if p == nil { return } C.wxTextEntry_Cut(p) }
func (t *textEntry) SetInsertionPoint(pos int) { p := C.WxTextEntryPtr(pointer(t)) if p == nil { return } C.wxTextEntry_SetInsertionPoint(p, C.long(pos)) }
func (t *textEntry) WriteText(text string) { p := C.WxTextEntryPtr(pointer(t)) if p == nil { return } C.wxTextEntry_WriteText(p, cString(&text)) }
func (t *textEntry) Replace(from int, to int, value string) { p := C.WxTextEntryPtr(pointer(t)) if p == nil { return } C.wxTextEntry_Replace(p, C.long(from), C.long(to), cString(&value)) }
func (t *textEntry) SetEditable(editable bool) { p := C.WxTextEntryPtr(pointer(t)) if p == nil { return } C.wxTextEntry_SetEditable(p, cBool(editable)) }
func (t *textEntry) Remove(from int, to int) { p := C.WxTextEntryPtr(pointer(t)) if p == nil { return } C.wxTextEntry_Remove(p, C.long(from), C.long(to)) }
func (t *textEntry) Paste() { p := C.WxTextEntryPtr(pointer(t)) if p == nil { return } C.wxTextEntry_Paste(p) }
func (t *textEntry) IsEmpty() bool { p := C.WxTextEntryPtr(pointer(t)) if p == nil { return false } return goBool(C.wxTextEntry_IsEmpty(p)) }
func (t *textEntry) Margins() *Point { p := C.WxTextEntryPtr(pointer(t)) if p == nil { return nil } return goPoint(C.wxTextEntry_GetMargins(p)) }
func (t *textEntry) SetInsertionPointEnd() { p := C.WxTextEntryPtr(pointer(t)) if p == nil { return } C.wxTextEntry_SetInsertionPointEnd(p) }
func (t *textEntry) Undo() { p := C.WxTextEntryPtr(pointer(t)) if p == nil { return } C.wxTextEntry_Undo(p) }
func (t *textEntry) SetMaxLength(len uint) { p := C.WxTextEntryPtr(pointer(t)) if p == nil { return } C.wxTextEntry_SetMaxLength(p, C.ulong(len)) }
func (t *textEntry) SetMargins(left int, top int) bool { p := C.WxTextEntryPtr(pointer(t)) if p == nil { return false } return goBool(C.wxTextEntry_SetMargins(p, C.int(left), C.int(top))) }
func (t *textEntry) Range(from int, to int) string { p := C.WxTextEntryPtr(pointer(t)) if p == nil { return "" } return goString(C.wxTextEntry_GetRange(p, C.long(from), C.long(to))) }
func (t *textEntry) ChangeValue(value string) { p := C.WxTextEntryPtr(pointer(t)) if p == nil { return } C.wxTextEntry_ChangeValue(p, cString(&value)) }
func (t *textEntry) SelectNone() { p := C.WxTextEntryPtr(pointer(t)) if p == nil { return } C.wxTextEntry_SelectNone(p) }
func (t *textEntry) LastPosition() int { p := C.WxTextEntryPtr(pointer(t)) if p == nil { return 0 } return int(C.wxTextEntry_GetLastPosition(p)) }
func (t *textEntry) Selection() (from int, to int) { p := C.WxTextEntryPtr(pointer(t)) if p == nil { return } var ( fromLong, toLong C.long ) C.wxTextEntry_GetSelection(p, &fromLong, &toLong) return int(fromLong), int(toLong) }