bemenu 1.0.0
Dynamic menu library and client program inspired by dmenu
Renderer

Enumerations

enum  bm_priorty { BM_PRIO_TERMINAL, BM_PRIO_GUI }
 

Functions

const char * bm_renderer_get_name (const struct bm_renderer *renderer)
 
enum bm_priorty bm_renderer_get_priorty (const struct bm_renderer *renderer)
 

Detailed Description

Enumeration Type Documentation

enum bm_priorty

Prioritories for renderer plugins.

Enumerator
BM_PRIO_TERMINAL 

Renderer runs in terminal.

BM_PRIO_GUI 

Renderer runs in GUI.

Function Documentation

const char* bm_renderer_get_name ( const struct bm_renderer *  renderer)

Get name of the renderer.

Parameters
rendererbm_renderer instance.
Returns
Null terminated C "string" to renderer's name.
enum bm_priorty bm_renderer_get_priorty ( const struct bm_renderer *  renderer)

Get priorty of the renderer.

Parameters
rendererbm_renderer instance.
Returns
bm_priorty enum value.