summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-01-03 20:33:30 +0100
committerDave Davenport <qball@gmpclient.org>2017-01-03 20:33:30 +0100
commit953e260511328ab16139188b03351eb3a40f16fb (patch)
treebc2182fae0c72e3d5c42e49311fa87b87f34fecd /include
parent3f8c5378c4767f0b9519c537f91585eaaf4bb53c (diff)
When order is reversed. reverse listview order fix #523
Diffstat (limited to 'include')
-rw-r--r--include/widgets/listview.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/widgets/listview.h b/include/widgets/listview.h
index fb1237d5..1b89902a 100644
--- a/include/widgets/listview.h
+++ b/include/widgets/listview.h
@@ -183,6 +183,14 @@ void listview_set_num_lines ( listview *lv, unsigned int num_lines );
* Set the maximum number of lines to display.
*/
void listview_set_max_lines ( listview *lv, unsigned int max_lines );
+
+/**
+ * @param lv Handler to the listview object.
+ * @param reverse Reverse the listview order.
+ *
+ * Set reversing the listview.
+ */
+void listview_reverse ( listview *lv, gboolean reverse );
/* @} */
#endif // ROFI_LISTVIEW_H