mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-16 07:47:22 +01:00
43c02c61c5
LDoc doesn't need any of this and actually breaks due to it. Signed-off-by: Uli Schlachter <psychon@znc.in>
34 lines
884 B
Lua
34 lines
884 B
Lua
--- awesome button API
|
|
-- @author Julien Danjou <julien@danjou.info>
|
|
-- @copyright 2008-2009 Julien Danjou
|
|
module("button")
|
|
|
|
--- Button object.
|
|
-- @field button The mouse button number, or 0 for any button.
|
|
-- @field modifiers The modifier key table that should be pressed while the
|
|
-- button is pressed.
|
|
-- @class table
|
|
-- @name button
|
|
|
|
--- Add a signal.
|
|
-- @param name A signal name.
|
|
-- @param func A function to call when the signal is emitted.
|
|
-- @name connect_signal
|
|
-- @class function
|
|
|
|
--- Remove a signal.
|
|
-- @param name A signal name.
|
|
-- @param func A function to remove.
|
|
-- @name disconnect_signal
|
|
-- @class function
|
|
|
|
--- Emit a signal.
|
|
-- @param name A signal name.
|
|
-- @param ... Various arguments, optional.
|
|
-- @name emit_signal
|
|
-- @class function
|
|
|
|
--- Get the number of instances.
|
|
-- @return The number of button objects alive.
|
|
-- @name instances
|
|
-- @class function
|