Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
dev:monitor-plugin [2013/03/19 21:15] – [Optional] hjudt | dev:monitor-plugin [2013/03/23 12:49] – [Sample API 2] nick | ||
---|---|---|---|
Line 92: | Line 92: | ||
* (Monitor-UI should draw the " | * (Monitor-UI should draw the " | ||
* Monitor-UI or panel should generate periodic (configurable? | * Monitor-UI or panel should generate periodic (configurable? | ||
+ | * The idea is nice and I thought about that too some time ago, but then there are plugins that update their widgets quite frequently and more frequently than others, so the questions here are more like: "Is it worth all the engineering? | ||
* Decision needed: Font size and color selectable in the panel or in the plugin? | * Decision needed: Font size and color selectable in the panel or in the plugin? | ||
* A recommendation: | * A recommendation: | ||
- | * Currently without a use-case, but perhaps be useful: Support reacting to external signals, e.g. via D-Bus? | + | * Currently without a use-case, but perhaps |
* Not sure this belongs here, but... as an alternative to making a plugin " | * Not sure this belongs here, but... as an alternative to making a plugin " | ||
Line 230: | Line 231: | ||
| | ||
+ | ====== Sample API 2 ====== | ||
+ | |||
+ | http:// | ||
+ | |||
+ | * Idea is the plugin shows preferences for the widgets: | ||
+ | * set their position, therefore the static names for both multiple items (in case of example the sysload plugin), but also the position of the indicator items (by default icon/ | ||
+ | * Plugins can pack a widget (vbox or a single frame) for the plugin specific settings. | ||
+ | * Color settings for progressbar and label. | ||
+ | * Graph appearance. | ||
+ | * An option would be a xfce_panel_indicator_item_add_width (XfcePanelIndicatorItem *item, const gchar *name, const gchar *display_name, | ||
+ | * Plugin is responsible for the updates (so its own gdk timeout). | ||
+ | * A graph widget could be a nice addition. It would at least merge the cpugraph and sysload plugins, making them both more functional (also graph of memory/swap usage), but also the netload and diskperf plugin would benefit. Bit of fancy cairo and transparency wouldn' |