Files
glances/glances/plugins
..
2021-09-26 17:47:57 +02:00
2024-03-17 17:07:13 +01:00
2024-04-07 17:46:05 +02:00
2024-02-10 17:19:24 +01:00
2024-02-17 16:59:35 +01:00
2024-01-14 16:13:04 +01:00
2024-04-13 18:18:50 +02:00
2024-03-01 13:50:04 -08:00
2024-01-14 16:13:04 +01:00
2024-04-07 17:46:05 +02:00
2024-01-28 16:06:56 +01:00
2024-04-06 19:01:16 +02:00
2023-12-16 14:33:30 +01:00
2024-04-07 17:46:05 +02:00
2023-12-16 14:33:44 +01:00
2014-01-12 20:59:06 +01:00

===============
Glances plugins
===============

This is the Glances plugins folder.

A Glances plugin is a Python module hosted in a folder.

It should implement a Class named PluginModel (inherited from GlancesPluginModel).

This class should be based on the MVC model.
- model: where the stats are updated (update method)
- view: where the stats are prepare to be displayed (update_views)
- controler: where the stats are displayed (msg_curse method)

A plugin should define the following global variables:

- fields_description: a dict twith the field description/option
- items_history_list (optional): define items history

Have a look of all Glances plugin's methods in the plugin folder (where the GlancesPluginModel is defined).