diff options
author | Dave Davenport <qball@gmpclient.org> | 2017-08-29 10:40:24 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2017-08-29 10:40:24 +0200 |
commit | 508e39c3f3ff2fab3ef8d5ccf740df83539b9557 (patch) | |
tree | bc7658b2f064c7bc65cbac1f22f14129af198021 /include/widgets | |
parent | 73e174b67bb6ddca05f505a9af15b250193b01aa (diff) |
Set cursor to end of input field.
Fixes: #662
Diffstat (limited to 'include/widgets')
-rw-r--r-- | include/widgets/textbox.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/widgets/textbox.h b/include/widgets/textbox.h index ec6f85f0..b330045b 100644 --- a/include/widgets/textbox.h +++ b/include/widgets/textbox.h @@ -313,5 +313,12 @@ PangoAttrList *textbox_get_pango_attributes ( textbox *tb ); */ const char *textbox_get_visible_text ( const textbox *tb ); int textbox_get_desired_width ( widget *wid ); + +/** + * @param tb Handle to the textbox + * + * Move the cursor to the end of the string. + */ +void textbox_cursor_end ( textbox *tb ); /*@}*/ #endif //ROFI_TEXTBOX_H |