Initial import of the ircii-pana-1.1-final source tree.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/tags/ircii-pana-1.1-final@1 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
23
bitchx-docs/6_Functions/winnum
Normal file
23
bitchx-docs/6_Functions/winnum
Normal file
@@ -0,0 +1,23 @@
|
||||
Synopsis:
|
||||
$winnum(<winname>)
|
||||
|
||||
Technical:
|
||||
This returns the window reference number of the window name specified
|
||||
by <winname>. If no arguments are passed, it defaults to the current
|
||||
window. This value will always match the value of STATUS_WINDOW in
|
||||
the window's status bar.
|
||||
|
||||
Practical:
|
||||
This function is mainly useful for scripts, allowing them to know at any
|
||||
given time what the current window is.
|
||||
|
||||
Returns:
|
||||
window number of the window specified by <winname>, or if no arguments are
|
||||
passed, the window number of the current window.
|
||||
|
||||
Examples:
|
||||
$winnum() returns number of current window
|
||||
|
||||
See Also:
|
||||
set(4) status_window; winnam(6)
|
||||
|
||||
Reference in New Issue
Block a user