2 -- @author Julien Danjou <julien@danjou.info>
3 -- @copyright 2008-2009 Julien Danjou
7 -- @field screen Screen number.
8 -- @field border_width Border width.
9 -- @field border_color Border color.
10 -- @field ontop On top of other windows.
11 -- @field cursor The mouse cursor.
12 -- @field visible Visibility.
13 -- @field opacity The opacity of the drawin, between 0 and 1.
14 -- @field x The x coordinates.
15 -- @field y The y coordinates.
16 -- @field width The width of the drawin.
17 -- @field height The height of the drawin.
18 -- @field surface A oocairo surface that can be used for drawing.
22 --- Get or set mouse buttons bindings to a drawin.
23 -- @param buttons_table A table of buttons objects, or nothing.
27 --- Get or set drawin struts.
28 -- @param strut A table with new strut, or nothing
29 -- @return The drawin strut in a table.
33 --- Get or set drawin geometry. That's the same as accessing or setting the x, y, width or height
34 -- properties of a drawin.
35 -- @param A table with coordinates to modify.
36 -- @return A table with drawin coordinates and geometry.
40 --- Refresh the drawin. When you are drawing to the window's surface, you have
41 -- call this function when you are done to make the result visible.
42 -- @param no_params luadoc is buggy.
47 -- @param name A signal name.
48 -- @param func A function to call when the signal is emitted.
49 -- @name connect_signal
53 -- @param name A signal name.
54 -- @param func A function to remove.
55 -- @name disconnect_signal
59 -- @param name A signal name.
60 -- @param ... Various arguments, optional.
64 --- Get the number of instances.
65 -- @param no_params luadoc is buggy.
66 -- @return The number of drawin objects alive.