Created
July 20, 2010 20:29
-
-
Save alterecco/483523 to your computer and use it in GitHub Desktop.
dsf syntax example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(setq my-initial-screen (lambda nil | |
(block nil | |
;; use the standard screen, and set a name for the screen | |
(dsf/screen 'Standard "Initial Screen") | |
;; add a description to the screen | |
(dsf/description "This is a pane description") | |
;; define the attributes of an action on the screen | |
(dsf/action 0 "Default Action" 'D '(dbgLog "Called Default Action")) | |
(dsf/action 1 "Exit" 'E '(scrExitDock gScreen)) | |
(dsf/show-screen) | |
) | |
)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment