DeskletManager: Cinnamon Javascript Reference Manual

## DeskletManager DeskletManager |

## Functions

| init ()
| removeDesklet ()
dictionary | getEnabledDeskletDefinitons ()

## Functions

### init ()

    init ();

Initialize desklet manager

### removeDesklet ()

    removeDesklet (string   uuid,
                   int      desklet_id);

Disable and remove the desklet `uuid`:`desklet_id`

#### Parameters

uuid | uuid of the desklet |
desklet_id | id of the desklet |

### getEnabledDeskletDefinitons ()

    dictionary
    getEnabledDeskletDefinitons ();

Gets the list of enabled desklets. Returns an associative array of three items: raw: the unprocessed array from gsettings uuidMap: maps uuid -> list of desklet definitions idMap: maps desklet_id -> single desklet definition

#### Returns

Associative array of three items