 |
 |
Command : Window
|
| |
Syntax
WINDOW < operation > < [*] window-name > [parameters]
< operation > ::= ( show|hide|open|close|maximize|restore|setimage )
Special case : WINDOW tile [ horz | vert ]
Special case : WINDOW cascade
Description
Perform operations on windows.
For the open and close operations the window-name must begin with a '*'.
(eg...you can not create or close a channel window).
OPEN:
Creates a new window.
parameters :
- noinput : creates a window that has no input box.
- noclose : creates a window that has the close button disabled.
- hidden : creates a hidden (minimized) window
- size=x,y,w,h : creates a window with specifed position and size.
- timestamp=(true|false) : overrides the default timestamp setting for the new window.
- images=(true|false) : overrides the default 'show-images' setting for the new window.
- font=fontname[,size] : overrides the default font setting for the new window.
- background=filename : sets the background for the new window.
If the filename contains a '/' it is assumed to be an absolute path,
otherwise kvirc will search for the file in $HOME/kvirc/Images and $HOME/kvirc/Scripts/Images.
If noimput is NOT spedcified, the window will have an input box.
The text typed in (that is not evaluated as command) will be passed to the
Event_OnUserWndInput.
CLOSE:
Closes the window. No parameters.
SHOW MAXIMIZE AND HIDE:
Minimizes ,maximizes or restores a window.
SETIMAGE:
Changes the background image for the window.
parameters:
< file-name > : Same rules as for the backround=filename parameter.
TILE:
Tiles all the windows horizontally or vertically.
CASCADE:
Cascades the windows.
Example
/WINDOW open *test noinput noclose size=10,40,300,300
/WINDOW setimage *test mytestimage.gif
Index  Command list  Commandline syntax