Hooks » History » Version 2
Version 1 (linopolus , 07/29/2009 08:23 AM) → Version 2/47 (murth murth, 08/07/2009 06:25 AM)
h1. Hooks\015\012\015\012Currently there exist only three types type of hooks, although more are planned. Every Inside of this hooks can every feature of subtlext be used inside these hooks.\015\012The used.\015\012The following hooks exist so far:\015\012\015\012h2. Create\015\012\015\012Triggers on new clients and has the new client as parameter:\015\012<pre>"HookCreate" => { |c| puts c.name }</pre>\015\012\015\012h2. Jump\015\012\015\012Triggers on view jumps and has the active view as parameter:\015\012<pre>"HookJump" => { |v| puts v.name }</pre>\015\012\015\012h3. Focus\015\012\015\012Triggers when a client gets focus and has the focussed client as parameter:\015\012<pre>"HookFocus" => { |c| puts c.name }</pre>\015\012