Configuration Directives
|
System Tray Directives
|
Normally, the presence of a System Tray icon keeps Wapache from exiting when the user closes the last browser window. The icon needs to provide a menu item to the user for explicitly closing the program. When AutoExit is set to On, the program exits automatically when all windows have closed.
The DispatchCharset directive indicates the character encoding of arguments to ScriptMenuItem and DOMMenuItem. When menus are attached to a browser window, Wapache assumes these arguments are encoded in the same way as the HTML contents. Since System Tray icons are not associated with a HTML document, this information must be provided in the configuration file.
The DispatchDomain directive associates a domain name with a System Tray icon. The domain name determines which browser windows are affected by the actions performed through menu items. It also determines which environment variables are referenced when environment variables are expanded in arguments to ScriptMenuItem, DOMMenuItem, and other menu item directives. Unless you're using virtual hosting, there is no need to use this directive.
The DoubleClickMenu attaches a menu to a System Tray icon. The menu appears when the user double-clicks on the System Tray icon, or if index is specified, the command connected with the menu item is automatically carried out.
The LeftClickMenu attaches a menu to a System Tray icon. The menu appears when the user left-clicks on the System Tray icon, or if index is specified, the command connected with the menu item is automatically carried out.
The RightClickMenu attaches a menu to a System Tray icon. The menu appears when the user right-clicks on the System Tray icon, or if index is specified, the command connected with the menu item is automatically carried out.
The ToolTip directive specifies the text that pops up when the user moves the mouse pointer over the System Tray icon. |