User Tools

Site Tools


on_window_create

Synopsis:

on [<modes>]window_create [<serial#>] [-|^]<match> { <action> }

Description:

This hook is triggered whenever a new window is created. This enables defaults to be given to each window.

Parameters:

$0 reference number of created window

Examples

 /* doubles the status bar for each new window */
 on -window_create "*" {
    window double on
 }
on_window_create.txt · Last modified: 2006/08/29 16:08 (external edit)