source: trunk/source/examples/cocoa/easygui/package.lisp

Last change on this file was 13742, checked in by gz, 11 years ago

Use execute-in-gui/queue-for-gui. Move extended-demo example to contribs

File size: 2.7 KB
Line 
1(cl:defpackage :easygui
2  (:use :cl)
3  (:import-from :ccl with-autorelease-pool @selector lisp-string-from-nsstring +null-ptr+)
4  (:import-from :gui execute-in-gui queue-for-gui)
5  (:export #:point #:ns-point-from-point #:range #:rectangle #:window
6           #:point-x #:point-y #:rectangle-x #:rectangle-y #:rectangle-width
7           #:rectangle-height
8           ;; cocoa stuff
9           #:retain-object #:release-object #:retaining-objects
10           ;; view classes
11           #:view #:static-text-view #:text-input-view #:password-input-view
12           #:push-button-view
13           #:form-view #:form-cell-view #:box-view #:drawing-view #:slider-view
14           #:check-box-view #:radio-button-view
15           #:menu-item-view #:pop-up-menu #:pull-down-menu #:contextual-menu 
16           ;; event methods
17           #:mouse-down #:mouse-dragged #:mouse-up  #:view-key-event-handler
18           ;; operators
19           #:cocoa-ref
20           #:add-subviews #:remove-subviews #:view-subviews
21           #:window-show #:set-window-title
22           #:content-view #:view-container
23           #:initialize-view #:action #:view-text
24           #:add-entry #:add-entries #:editable-p
25           #:draw-view-rectangle
26           #:entry-text #:cell-count #:nth-cell #:selection #:redisplay
27           #:string-value-of #:integer-value-of #:float-value-of
28           #:double-value-of
29           #:view-named #:view-nick-name
30           #:view-size #:view-position
31           #:view-mouse-position
32           #:view-font #:with-focused-view
33           #:clear-page
34           #:check-box-check #:check-box-uncheck #:check-box-checked-p
35           #:radio-button-selected-p #:radio-button-select #:radio-button-deselect
36           #:dialog-item-enabled-p #:set-dialog-item-enabled-p
37           #:shift-key-p #:control-key-p #:alt-key-p #:command-key-p
38           #:get-fore-color #:get-back-color #:set-fore-color #:set-back-color
39           #:invalidate-view
40           #:menu-selection #:menu-items #:set-menu-item-title #:add-contextual-menu
41           #:application-main-menu
42           #:navigate-menu #:navigate-topbar #:add-topbar-item
43           #:make-rgb #:rgb-red #:rgb-green #:rgb-blue #:rgb-opacity
44           ;; canned dialogs
45           #:y-or-n-dialog #:user-pick-color
46           #:choose-file-dialog #:choose-new-file-dialog #:choose-directory-dialog         
47         
48           #:dcc
49           #:perform-close #:window-may-close
50
51           #:execute-in-gui
52           #:queue-for-gui
53           ;; variables
54           #:*screen-flipped*
55           #:*suppress-window-flushing*))
56
57(cl:defpackage :easygui-demo
58  (:use :cl :easygui)
59  (:export #:converter-window #:tiny-demo-window))
60
61(cl:defpackage :easygui-user
62  (:use :cl :easygui))
Note: See TracBrowser for help on using the repository browser.