NetSurf
deskmenu.h
Go to the documentation of this file.
1#ifndef DESKMENU_H_INCLUDED
2#define DESKMENU_H_INCLUDED
3
4void deskmenu_init(void);
5void deskmenu_destroy(void);
6int deskmenu_dispatch_item(short title, short item);
7int deskmenu_dispatch_keypress(unsigned short kcode, unsigned short kstate, unsigned short nkc);
8OBJECT * deskmenu_get_obj_tree(void);
9void deskmenu_update( void );
10
11#endif // DESKMENU_H_INCLUDED
int deskmenu_dispatch_keypress(unsigned short kcode, unsigned short kstate, unsigned short nkc)
Handle an keypress (check for accelerator)
Definition: deskmenu.c:769
void deskmenu_update(void)
Refresh the desk menu, reflecting netsurf current state.
Definition: deskmenu.c:823
void deskmenu_destroy(void)
Uninstall the desktop menu.
Definition: deskmenu.c:707
OBJECT * deskmenu_get_obj_tree(void)
Return the deskmenu AES OBJECT tree.
Definition: deskmenu.c:726
void deskmenu_init(void)
Setup & display an desktop menu.
Definition: deskmenu.c:676
int deskmenu_dispatch_item(short title, short item)
Handle an menu item event.
Definition: deskmenu.c:734