summaryrefslogtreecommitdiffstats
path: root/include/widgets/widget.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/widgets/widget.h')
-rw-r--r--include/widgets/widget.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/widgets/widget.h b/include/widgets/widget.h
index 990e50b4..36eecf90 100644
--- a/include/widgets/widget.h
+++ b/include/widgets/widget.h
@@ -210,5 +210,13 @@ gboolean widget_motion_notify ( widget *wid, xcb_motion_notify_event_t *xme );
*/
int widget_get_desired_height ( widget *wid );
+/**
+ * @param wid The widget handle
+ *
+ * Get the desired width of this widget recursively.
+ *
+ * @returns the desired width of the widget in pixels.
+ */
+int widget_get_desired_width ( widget *wid );
/*@}*/
#endif // ROFI_WIDGET_H