mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
43c02c61c5
LDoc doesn't need any of this and actually breaks due to it. Signed-off-by: Uli Schlachter <psychon@znc.in>
40 lines
1.1 KiB
Lua
40 lines
1.1 KiB
Lua
--- awesome tag API
|
|
-- @author Julien Danjou <julien@danjou.info>
|
|
-- @copyright 2008-2009 Julien Danjou
|
|
module("tag")
|
|
|
|
--- Tag object.
|
|
-- @field name Tag name.
|
|
-- @field selected True if the tag is selected to be viewed.
|
|
-- @field activated True if the tag is active and can be used.
|
|
-- @class table
|
|
-- @name tag
|
|
|
|
--- Get or set the clients attached to this tag.
|
|
-- @param clients_table None or a table of clients to set as being tagged with this tag.
|
|
-- @return A table with the clients attached to this tags.
|
|
-- @name clients
|
|
-- @class function
|
|
|
|
--- 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 tag objects alive.
|
|
-- @name instances
|
|
-- @class function
|