summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-01-08 17:18:49 +0100
committerDave Davenport <qball@gmpclient.org>2017-01-08 17:18:49 +0100
commit26efbecbc3c1c4c0102cb99a4c7a5aac84ff8f38 (patch)
treed4aa34801d8d3d00b9fee59dbf6cc6f809c394a5 /include
parentce2cf6b2d991450439ede056d8f89bcf788ee410 (diff)
Fix multiple -theme-str lines parsing, fix num lines
Diffstat (limited to 'include')
-rw-r--r--include/widgets/listview.h23
1 files changed, 20 insertions, 3 deletions
diff --git a/include/widgets/listview.h b/include/widgets/listview.h
index 171c1357..773b29c9 100644
--- a/include/widgets/listview.h
+++ b/include/widgets/listview.h
@@ -100,14 +100,14 @@ void listview_nav_down ( listview *lv );
*/
void listview_nav_right ( listview *lv );
/**
- * @param lv The listview handle
+ * @param lv The listview handle
*
* Move the selection one column to the left.
* - No wrap around.
*/
void listview_nav_left ( listview *lv );
/**
- * @param lv The listview handle
+ * @param lv The listview handle
*
* Move the selection one page down.
* - No wrap around.
@@ -116,7 +116,7 @@ void listview_nav_left ( listview *lv );
void listview_nav_page_next ( listview *lv );
/**
- * @param lv The listview handle
+ * @param lv The listview handle
*
* Move the selection one page up.
* - No wrap around.
@@ -185,6 +185,23 @@ void listview_set_num_lines ( listview *lv, unsigned int num_lines );
* @returns get the numger of lines to display.
*/
unsigned int listview_get_num_lines ( listview *lv );
+
+/**
+ * @param lv Handler to the listview object.
+ *
+ * Get the fixed-height property.
+ *
+ * @returns get fixed-height.
+ */
+gboolean listview_get_fixed_num_lines ( listview *lv );
+
+/**
+ * @param lv Handler to the listview object.
+ *
+ * Set fixed num lines mode.
+ */
+void listview_set_fixed_num_lines ( listview *lv );
+
/**
* @param lv Handler to the listview object.
* @param max_lines the maximum number of lines to display.