rofi 1.7.9
listview.h File Reference
#include "widgets/textbox.h"
#include <pango/pango.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_selection_changed_callback) (listview *lv, unsigned int index, void *udata)
typedef void(* listview_mouse_activated_cb) (listview *, gboolean, void *)
typedef void(* listview_page_changed_cb) (void)

Enumerations

enum  ScrollType { LISTVIEW_SCROLL_PER_PAGE , LISTVIEW_SCROLL_CONTINIOUS }

Functions

listviewlistview_create (widget *parent, const char *name, listview_update_callback cb, listview_page_changed_cb page_cb, void *udata, unsigned int eh, gboolean reverse)
void listview_set_selection_changed_callback (listview *lv, listview_selection_changed_callback cb, void *udata)
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_next (listview *lv)
void listview_nav_prev (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)
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 (listview *lv, PangoEllipsizeMode mode)
void listview_set_filtered (listview *lv, gboolean filtered)