home *** CD-ROM | disk | FTP | other *** search
- .SH NAME
- w_init \- put an icon on the iconbar.
- .SH SYNOPSIS
- \fBw_bar \fR?\fB-menu \fImenudescription\fR? ?\fB-click \fIscript\fR? ?\fB-drag \fIscript\fR?
- .BE
-
- .SH DESCRIPTION
- .PP
- Puts an icon from the wimp icon pool called !\fIprogname\fR on the icon bar.
- This can provide a menu, a script that is run when the icon is clicked on,
- and a script that is run if something is dragged to the icon.
-
- Before the click script is interpreted \fB%b\fR is set to a button description
- string of the form \fBa\fR|\fBs\fR?\fBS\fR??\fBC\fR?.
-
- Before the drag script is interpreted \fB%t\fR is set to the file type in
- decimal. The global variable \fBw_file\fR is set to the file name.
-