Cairo-Dock  3.4.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
_CairoDataRendererAttribute Struct Reference

Generic DataRenderer attributes structure. The attributes of any implementation of a DataRenderer will derive from this class. More...

Data Fields

const gchar * cModelName
 name of the model ("gauge", "graph", etc) [mandatory].
 
gint iNbValues
 number of values to represent (for instance 3 for (cpu, mem, swap)) [1 by default and minimum].
 
gint iMemorySize
 number of values to remember over time. For instance graphs can display as much values as the icon's width [2 by default and minimum].
 
gdouble * pMinMaxValues
 an array of pairs of (min,max) values. [optionnal, input values will be considered between 0 and 1 if NULL].
 
gboolean bUpdateMinMax
 whether to automatically update the values' range [false by default].
 
gboolean bWriteValues
 whether to write the values on the icon. [false by default].
 
RendererRotateTheme iRotateTheme
 an option to rotate applet, no, automatic or always.
 
gint iLatencyTime
 time needed to update to the new values. The update is smooth in OpenGL mode. [0 by default]
 
CairoDataRendererFormatValueFunc format_value
 a function used to format the values into a string. Only useful if you make te DataRenderer write the values [optionnal, by default the values are formatted with 2 decimals].
 
gpointer pFormatData
 data to be passed to the format function [optionnal].
 
gchar ** cEmblems
 an optionnal list of emblems to draw on the overlay.
 
gchar ** cLabels
 an optionnal list of labels to write on the overlay.
 

Detailed Description

Generic DataRenderer attributes structure. The attributes of any implementation of a DataRenderer will derive from this class.


The documentation for this struct was generated from the following file: