summaryrefslogtreecommitdiffstats
path: root/include/widgets
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-05-23 09:12:04 +0200
committerDave Davenport <qball@gmpclient.org>2017-05-23 09:12:04 +0200
commitf5c57ff8218daa9d4a7513d2190a4a7c32eba3aa (patch)
treebdb947330b46ef063493e3dde9bca59ee52ac71e /include/widgets
parentdca5caaa4778f2e7973372fa33483f724610f2dc (diff)
[TextBox] Add get_desired_width function.
Diffstat (limited to 'include/widgets')
-rw-r--r--include/widgets/textbox.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/widgets/textbox.h b/include/widgets/textbox.h
index b25b4c02..fc75baa7 100644
--- a/include/widgets/textbox.h
+++ b/include/widgets/textbox.h
@@ -290,5 +290,6 @@ PangoAttrList *textbox_get_pango_attributes ( textbox *tb );
* @returns the visible text.
*/
const char *textbox_get_visible_text ( const textbox *tb );
+int textbox_get_desired_width ( widget *wid );
/*@}*/
#endif //ROFI_TEXTBOX_H