rofi  1.7.0
listview.h File Reference
#include "widgets/textbox.h"
Include dependency graph for listview.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef struct _listview listview
 
typedef void(* listview_update_callback) (textbox *tb, icon *ico, unsigned int entry, void *udata, TextBoxFontType *type, gboolean full)
 
typedef void(* listview_mouse_activated_cb) (listview *, gboolean, void *)
 

Enumerations

enum  ScrollType { LISTVIEW_SCROLL_PER_PAGE , LISTVIEW_SCROLL_CONTINIOUS }
 

Functions

listviewlistview_create (widget *parent, const char *name, listview_update_callback cb, void *udata, unsigned int eh, gboolean reverse)
 
void listview_set_num_elements (listview *lv, unsigned int rows)
 
void listview_set_selected (listview *lv, unsigned int selected)
 
unsigned int listview_get_selected (listview *lv)
 
void listview_nav_up (listview *lv)
 
void listview_nav_down (listview *lv)
 
void listview_nav_right (listview *lv)
 
void listview_nav_left (listview *lv)
 
void listview_nav_page_next (listview *lv)
 
void listview_nav_page_prev (listview *lv)
 
void listview_set_show_scrollbar (listview *lv, gboolean enabled)
 
void listview_set_scrollbar_width (listview *lv, unsigned int width)
 
void listview_set_cycle (listview *lv, gboolean cycle)
 
void listview_set_scroll_type (listview *lv, ScrollType type)
 
void listview_set_mouse_activated_cb (listview *lv, listview_mouse_activated_cb cb, void *udata)
 
void listview_set_multi_select (listview *lv, gboolean enable)
 
void listview_set_num_lines (listview *lv, unsigned int num_lines)
 
unsigned int listview_get_num_lines (listview *lv)
 
gboolean listview_get_fixed_num_lines (listview *lv)
 
void listview_set_fixed_num_lines (listview *lv)
 
void listview_set_max_lines (listview *lv, unsigned int max_lines)
 
void listview_toggle_ellipsizing (listview *lv)
 
void listview_set_ellipsize_start (listview *lv)