2009-08-20 16:18:52 +02:00
|
|
|
--- awesome tag API
|
|
|
|
-- @author Julien Danjou <julien@danjou.info>
|
|
|
|
-- @copyright 2008-2009 Julien Danjou
|
|
|
|
module("tag")
|
|
|
|
|
|
|
|
--- Tag object.
|
|
|
|
-- @field name Tag name.
|
|
|
|
-- @field screen Screen number of the tag.
|
|
|
|
-- @field selected True if the client is selected to be viewed.
|
|
|
|
-- @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.
|
2009-08-30 06:20:52 +02:00
|
|
|
-- @param func A function to call when the signal is emitted.
|
2010-08-25 20:37:49 +02:00
|
|
|
-- @name connect_signal
|
2009-08-20 16:18:52 +02:00
|
|
|
-- @class function
|
|
|
|
|
|
|
|
--- Remove a signal.
|
|
|
|
-- @param name A signal name.
|
|
|
|
-- @param func A function to remove.
|
2010-08-25 20:37:49 +02:00
|
|
|
-- @name disconnect_signal
|
2009-08-20 16:18:52 +02:00
|
|
|
-- @class function
|
|
|
|
|
|
|
|
--- Emit a signal.
|
|
|
|
-- @param name A signal name.
|
|
|
|
-- @param ... Various arguments, optional.
|
|
|
|
-- @name emit_signal
|
|
|
|
-- @class function
|