Download

Support

lib/efreet_menu.h File Reference


Detailed Description

Contains the structures and methods to support the Desktop Menu Specification.

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


Data Structures

struct  Efreet_Menu

Typedefs

typedef struct Efreet_Menu Efreet_Menu

Enumerations

enum  Efreet_Menu_Entry_Type { EFREET_MENU_ENTRY_MENU, EFREET_MENU_ENTRY_DESKTOP, EFREET_MENU_ENTRY_SEPARATOR, EFREET_MENU_ENTRY_HEADER }

Functions

EAPI int efreet_menu_desktop_insert (Efreet_Menu *menu, Efreet_Desktop *desktop, int pos)
 Insert a desktop element in a menu structure. Only accepts desktop files in default directories.
EAPI int efreet_menu_desktop_remove (Efreet_Menu *menu, Efreet_Desktop *desktop)
 Remove a desktop element in a menu structure. Only accepts desktop files in default directories.
EAPI void efreet_menu_dump (Efreet_Menu *menu, const char *indent)
 Dumps the contents of the menu to the command line.
EAPI void efreet_menu_free (Efreet_Menu *menu)
EAPI Efreet_Menuefreet_menu_get (void)
 Creates the default menu representation.
EAPI int efreet_menu_kde_legacy_init (void)
 Initialize legacy kde support. This function blocks while the kde-config script is run.
EAPI Efreet_Menuefreet_menu_new (void)
EAPI Efreet_Menuefreet_menu_parse (const char *path)
 Parses the given .menu file and creates the menu representation.
EAPI int efreet_menu_save (Efreet_Menu *menu, const char *path)
 Saves the menu to file.

Copyright © Enlightenment.org

Efreet Documentation Generated: Sun Oct 5 16:37:22 2008