screen: move the tagging on screen change to Lua
[awesome.git] / luadoc / tag.lua
blob5ec14f1f2317be3b3751430ea7c604318a91d3d4
1 --- awesome tag API
2 -- @author Julien Danjou <julien@danjou.info>
3 -- @copyright 2008-2009 Julien Danjou
4 module("tag")
6 --- Tag object.
7 -- @field name Tag name.
8 -- @field screen Screen number of the tag.
9 -- @field selected True if the client is selected to be viewed.
10 -- @class table
11 -- @name tag
13 --- Get or set the clients attached to this tag.
14 -- @param clients_table None or a table of clients to set as being tagged with this tag.
15 -- @return A table with the clients attached to this tags.
16 -- @name clients
17 -- @class function
19 --- Add a signal.
20 -- @param name A signal name.
21 -- @param func A function to call when the signal is emited.
22 -- @name add_signal
23 -- @class function
25 --- Remove a signal.
26 -- @param name A signal name.
27 -- @param func A function to remove.
28 -- @name remove_signal
29 -- @class function
31 --- Emit a signal.
32 -- @param name A signal name.
33 -- @param ... Various arguments, optional.
34 -- @name emit_signal
35 -- @class function