1 --- awesome drawable API
2 -- @author Uli Schlachter <psychon@znc.in>
3 -- @copyright 2012 Uli Schlachter
7 -- @field surface The drawable's cairo surface.
11 --- Get drawable geometry. The geometry consists of x, y, width and height.
12 -- @return A table with drawable coordinates and geometry.
16 --- Refresh the drawable. When you are drawing to the surface, you have
17 -- call this function when you are done to make the result visible.
22 -- @param name A signal name.
23 -- @param func A function to call when the signal is emitted.
24 -- @name connect_signal
28 -- @param name A signal name.
29 -- @param func A function to remove.
30 -- @name disconnect_signal
34 -- @param name A signal name.
35 -- @param ... Various arguments, optional.
39 --- Get the number of instances.
40 -- @return The number of drawable objects alive.