diff options
Diffstat (limited to 'include/theme.h')
-rw-r--r-- | include/theme.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/theme.h b/include/theme.h index 751d83b3..0ed71460 100644 --- a/include/theme.h +++ b/include/theme.h @@ -249,6 +249,16 @@ double rofi_theme_get_double ( const widget *widget, const char *property, doub */ void rofi_theme_get_color ( const widget *widget, const char *property, cairo_t *d ); + +/** + * @param widget The widget to query + * @param property The property to query. + * + * Check if a rofi theme has a property set. + * + */ +gboolean rofi_theme_has_property ( const widget *widget, const char *property ); + /** * @param widget The widget to query * @param property The property to query. |