5 <option>conky_parse(string)</option>
7 <option>function</option>
10 <para>This function takes a string that is evaluated as
11 per Conky's TEXT section, and then returns a string
12 with the result.</para>
18 <option>conky_set_update_interval(number)</option>
20 <option>function</option>
23 <para>Sets Conky's update interval (in seconds) to
30 <option>conky_window</option>
32 <option>table</option>
35 <para>This table contains some information about
36 Conky's window. The following table describes the
37 values contained:</para>
40 <command>drawable</command>
41 <option>Window's drawable (Xlib Drawable),
42 requires Lua extras enabled at compile
46 <command>visual</command>
47 <option>Window's visual (Xlib Visual), requires
48 Lua extras enabled at compile time.</option>
51 <command>display</command>
52 <option>Window's display (Xlib Display),
53 requires Lua extras enabled at compile
57 <command>width</command>
58 <option>Window width (in pixels).</option>
61 <command>height</command>
62 <option>Window height (in pixels).</option>
65 <command>border_inner_margin</command>
66 <option>Window's inner border margin (in
70 <command>border_outer_margin</command>
71 <option>Window's outer border margin (in
75 <command>border_width</command>
76 <option>Window's border width (in
80 <command>text_start_x</command>
81 <option>The x component of the starting
82 coordinate of text drawing.</option>
85 <command>text_start_y</command>
86 <option>The y component of the starting
87 coordinate of text drawing.</option>
90 <command>text_width</command>
91 <option>The width of the text drawing
95 <command>text_height</command>
96 <option>The height of the text drawing
100 <para>NOTE: This table is only defined when X support
107 <option>conky_info</option>
109 <option>table</option>
112 <para>This table contains some information about
113 Conky's internal data. The following table describes
114 the values contained:</para>
117 <command>update_interval</command>
118 <option>Conky's update interval (in
122 <command>uptime</command>
123 <option>System uptime, in seconds.</option>
131 <option>conky_build_info</option>
133 <option>string</option>
136 <para>A string containing the build info for this
137 particular instance of Conky, including the version,
138 build date, and architecture.</para>
144 <option>conky_build_date</option>
146 <option>string</option>
149 <para>A string containing the build date for this
150 particular instance of Conky.</para>
156 <option>conky_build_arch</option>
158 <option>string</option>
161 <para>A string containing the build architecture for
162 this particular instance of Conky.</para>
168 <option>conky_version</option>
170 <option>string</option>
173 <para>A string containing the version of the current
174 instance of Conky.</para>
180 <option>conky_config</option>
182 <option>string</option>
185 <para>A string containing the path of the current Conky
186 configuration file.</para>
192 <option>cairo_text_extents_t:create()</option>
194 <option>function</option>
198 Call this function to return a new cairo_text_extents_t structure. A creation function for this structure is not provided by the cairo API. After calling this, you should use tolua.takeownership() on the return value to ensure ownership is passed properly.
205 <option>cairo_font_extents_t:create()</option>
207 <option>function</option>
211 Call this function to return a new cairo_font_extents_t structure. A creation function for this structure is not provided by the cairo API. After calling this, you should use tolua.takeownership() on the return value to ensure ownership is passed properly.
218 <option>cairo_matrix_t:create()</option>
220 <option>function</option>
224 Call this function to return a new cairo_matrix_t structure. A creation function for this structure is not provided by the cairo API. After calling this, you should use tolua.takeownership() on the return value to ensure ownership is passed properly.