From 9421a601f405a94f9dfeabe1989882b3c5952c6a Mon Sep 17 00:00:00 2001
From: David Botton
[generic-function] CREATE-GUI-MENU-WINDOW-SELECT CLOG-GUI-MENU-DROP-DOWN &KEY CLASS HTML-ID
+[generic-function] CREATE-GUI-MENU-WINDOW-SELECT CLOG-OBJ &KEY CLASS HTML-ID
-Attached a menu item to a CLOG-GUI-MENU-DROP-DOWN
Attached a clog-select as a menu item that auto updates +with open windows and maximizes them. Only one instance allowed.
Get the current selected clog-gui-window
+ + +[generic-function] MENU-BAR CLOG-OBJ
+ +Get/setf window menu-bar. This is set buy +create-gui-menu-bar.
[generic-function] MENU-BAR-HEIGHT CLOG-OBJ
+ +Get menu-bar height
[generic-function] WINDOW-COLLECTION CLOG-OBJ
+ +Get hash table of open windows
[generic-function] MAXIMIZE-ALL-WINDOWS CLOG-OBJ
+ +Maximize all windows
[generic-function] NORMALIZE-ALL-WINDOWS CLOG-OBJ
+ +Normalize all windows
Close CLOG-GUI-WINDOW. on-window-can-close is not called.
[generic-function] WINDOW-MAXIMIZED-P CLOG-GUI-WINDOW
+ +Set CLOG-GUI-WINDOW as maximized window.
Toggle CLOG-GUI-WINDOW as maximize window.
[generic-function] WINDOW-KEEP-ON-TOP CLOG-GUI-WINDOW
+ +Set CLOG-GUI-WINDOW to stay on top. Use window-focus to undue.
[generic-function] WINDOW-MAKE-MODAL CLOG-GUI-WINDOW
+ +Set CLOG-GUI-WINDOW to stay on top and prevent all other
+interactions. Use window-end-modal to undo.
[generic-function] WINDOW-END-MODAL CLOG-GUI-WINDOW
+ +Set CLOG-GUI-WINDOW to end modal state.
Set the on-window-size-done HANDLER
CLOG-GUI - Dialog Boxes
[function] SERVER-FILE-DIALOG OBJ TITLE INITIAL-DIR ON-FILE-NAME &KEY (LEFT NIL) (TOP NIL) (WIDTH 400) (HEIGHT 375) (MAXIMIZE NIL) (INITIAL-FILENAME NIL)
Create a local file dialog box called TITLE using INITIAL-DIR on server
+machine, upon close ON-FILE-NAME called with filename or nil if failure.
@@ -5043,8 +5129,9 @@ is nil unbind the event.
[generic-function] SET-ON-BEFORE-UNLOAD CLOG-WINDOW ON-BEFORE-UNLOAD-HANDLER
-Set the ON-BEFORE-UNLOAD-HANDLER for CLOG-OBJ. If
-ON-BEFORE-UNLOAD-HANDLER is nil unbind the event.
Set the ON-BEFORE-UNLOAD-HANDLER for CLOG-WINDOW.
+Return and empty string in order to prevent navigation off page.
+If ON-BEFORE-UNLOAD-HANDLER is nil unbind the event.