2009-08-20 16:18:52 +02:00
|
|
|
--- awesome root window API
|
|
|
|
-- @author Julien Danjou <julien@danjou.info>
|
|
|
|
-- @copyright 2008-2009 Julien Danjou
|
2014-05-26 21:26:52 +02:00
|
|
|
-- @release @AWESOME_VERSION@
|
2014-05-20 00:22:35 +02:00
|
|
|
-- @module root
|
2009-08-20 16:18:52 +02:00
|
|
|
|
|
|
|
--- Get or set global mouse bindings.
|
|
|
|
-- This binding will be available when you'll click on root window.
|
2014-05-20 00:22:35 +02:00
|
|
|
--
|
2009-08-20 16:18:52 +02:00
|
|
|
-- @param button_table An array of mouse button bindings objects, or nothing.
|
|
|
|
-- @return The array of mouse button bindings objects.
|
2014-05-20 00:22:35 +02:00
|
|
|
-- @function buttons
|
2009-08-20 16:18:52 +02:00
|
|
|
|
|
|
|
--- Get or set global key bindings.
|
2015-02-15 22:33:23 +01:00
|
|
|
-- These binding will be available when you press keys on the root window.
|
2014-05-20 00:22:35 +02:00
|
|
|
-- @tparam table|nil keys_array An array of key binding objects, or nothing.
|
2009-08-20 16:18:52 +02:00
|
|
|
-- @return The array of key bindings objects of this client.
|
2014-05-20 00:22:35 +02:00
|
|
|
-- @function keys
|
2009-08-20 16:18:52 +02:00
|
|
|
|
|
|
|
--- Set the root cursor.
|
2014-05-20 00:22:35 +02:00
|
|
|
--
|
2009-08-20 16:18:52 +02:00
|
|
|
-- @param cursor_name A X cursor name.
|
2014-05-20 00:22:35 +02:00
|
|
|
-- @function cursor
|
2009-08-20 16:18:52 +02:00
|
|
|
|
|
|
|
--- Send fake events. Usually the current focused client will get it.
|
2014-05-20 00:22:35 +02:00
|
|
|
--
|
2009-08-20 16:18:52 +02:00
|
|
|
-- @param event_type The event type: key_press, key_release, button_press, button_release
|
2014-05-20 00:22:35 +02:00
|
|
|
-- or motion_notify.
|
2009-08-20 16:18:52 +02:00
|
|
|
-- @param detail The detail: in case of a key event, this is the keycode to send, in
|
2014-05-20 00:22:35 +02:00
|
|
|
-- 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.
|
2009-08-20 16:18:52 +02:00
|
|
|
-- @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.
|
2014-05-20 00:22:35 +02:00
|
|
|
-- @function fake_input
|
2009-08-20 16:18:52 +02:00
|
|
|
|
2014-03-01 19:28:06 +01:00
|
|
|
--- Get the drawins attached to a screen.
|
2014-05-20 00:22:35 +02:00
|
|
|
--
|
2014-03-01 19:28:06 +01:00
|
|
|
-- @return A table with all drawins.
|
2014-05-20 00:22:35 +02:00
|
|
|
-- @function drawins
|
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.
|
2014-05-20 00:22:35 +02:00
|
|
|
--
|
2012-07-29 15:32:04 +02:00
|
|
|
-- @param pattern A cairo pattern as light userdata
|
2012-04-07 21:32:45 +02:00
|
|
|
-- @return A cairo surface or nothing.
|
2014-05-20 00:22:35 +02:00
|
|
|
-- @function wallpaper
|
2012-10-20 17:33:32 +02:00
|
|
|
|
|
|
|
--- Get the attached tags.
|
2014-05-20 00:22:35 +02:00
|
|
|
--
|
2012-10-20 17:33:32 +02:00
|
|
|
-- @return A table with all tags.
|
2014-05-20 00:22:35 +02:00
|
|
|
-- @function tags
|