Changelog for GKrellM Plugins


Changes for versions 2.3.1 - 2.3.4

none

Changes for version 2.3.0

New functions so plugins can export labels to display on charts and panels. A plugin can request or cancel exporting with these two:
	gint        gkrellm_plugin_export_label(GkrellmMonitor *mon_plugin,
	                    gchar *mon_name,
	                    gchar key, gchar *(*func)(gchar key, gchar *which));
	void        gkrellm_plugin_cancel_label(GkrellmMonitor *mon_plugin, gint id);
Monitors must be updated to call this to get a plugin's label (currently net monitor only).
	gchar       *gkrellm_plugin_get_exported_label(GkrellmMonitor *mon,
	                    gchar key, gchar *which);
For an example of these, I've patched GKrellM2-show_ip to export its ip address string for a net interface to the builtin Net monitor. With the plugin enabled, you can enter a "$A" variable in the Net monitor "Format String for Chart Labels" to diplay an IP address returned from GKrellM2-show_ip.

For gkrellmd server plugins:

    GkrellmdTicks *gkrellmd_ticks(void);
    gint          gkrellmd_get_timer_ticks(void);

Changes for version 2.2.7 - 2.2.10

none

Changes for version 2.2.5