2009-08-20 16:18:52 +02:00
|
|
|
--- awesome root window API
|
|
|
|
-- @author Julien Danjou <julien@danjou.info>
|
|
|
|
-- @copyright 2008-2009 Julien Danjou
|
|
|
|
module("root")
|
|
|
|
|
|
|
|
--- Get or set global mouse bindings.
|
|
|
|
-- This binding will be available when you'll click on root window.
|
|
|
|
-- @param button_table An array of mouse button bindings objects, or nothing.
|
|
|
|
-- @return The array of mouse button bindings objects.
|
|
|
|
-- @name buttons
|
|
|
|
-- @class function
|
|
|
|
|
|
|
|
--- Get or set global key bindings.
|
|
|
|
-- This binding will be available when you'll press keys on root window.
|
|
|
|
-- @param keys_array An array of key bindings objects, or nothing.
|
|
|
|
-- @return The array of key bindings objects of this client.
|
|
|
|
-- @name keys
|
|
|
|
-- @class function
|
|
|
|
|
|
|
|
--- Set the root cursor.
|
|
|
|
-- @param cursor_name A X cursor name.
|
|
|
|
-- @name cursor
|
|
|
|
-- @class function
|
|
|
|
|
|
|
|
--- Send fake events. Usually the current focused client will get it.
|
|
|
|
-- @param event_type The event type: key_press, key_release, button_press, button_release
|
|
|
|
-- or motion_notify.
|
|
|
|
-- @param detail The detail: in case of a key event, this is the keycode to send, in
|
|
|
|
-- case of a button event this is the number of the button. In case of a motion
|
|
|
|
-- event, this is a boolean value which if true make the coordinates relatives.
|
|
|
|
-- @param x In case of a motion event, this is the X coordinate.
|
|
|
|
-- @param y In case of a motion event, this is the Y coordinate.
|
|
|
|
-- @name fake_input
|
|
|
|
-- @class function
|
|
|
|
|
|
|
|
--- Get the wiboxes attached to a screen.
|
|
|
|
-- @return A table with all wiboxes.
|
|
|
|
-- @name wiboxes
|
|
|
|
-- @class function
|
2012-04-07 21:32:45 +02:00
|
|
|
|
2012-07-29 15:32:04 +02:00
|
|
|
--- Get the wallpaper as a cairo surface or set it as a cairo pattern.
|
|
|
|
-- @param pattern A cairo pattern as light userdata
|
2012-04-07 21:32:45 +02:00
|
|
|
-- @return A cairo surface or nothing.
|
|
|
|
-- @name wallpaper
|
|
|
|
-- @class function
|
2012-10-20 17:33:32 +02:00
|
|
|
|
|
|
|
--- Get the attached tags.
|
|
|
|
-- @return A table with all tags.
|
|
|
|
-- @name tags
|
|
|
|
-- @class function
|