.
original commit: c8e06cf60f91464080352ec3a4a1c32bf37a6976
This commit is contained in:
parent
4ba6392faa
commit
d51a5b07dc
|
@ -167,7 +167,7 @@ changes normally listed in the HISTORY notes).
|
||||||
|
|
||||||
Many of the old on-XXX methods for editors formerly returned a
|
Many of the old on-XXX methods for editors formerly returned a
|
||||||
Boolean value to indicate whether the action should proceed (e.g.,
|
Boolean value to indicate whether the action should proceed (e.g.,
|
||||||
on-insert in media-edit%), but that convetion does not work well
|
on-insert in media-edit%), but that convention does not work well
|
||||||
with composing class extensions. MrEd 100 provides a parallel set
|
with composing class extensions. MrEd 100 provides a parallel set
|
||||||
of can-XXX? methods (e.g., can-insert? in text%) that first
|
of can-XXX? methods (e.g., can-insert? in text%) that first
|
||||||
determines whether an operation should proceed; if so, on-XXX is
|
determines whether an operation should proceed; if so, on-XXX is
|
||||||
|
@ -233,7 +233,7 @@ changes normally listed in the HISTORY notes).
|
||||||
|
|
||||||
* Initialization arguments for creating windows have been re-ordered.
|
* Initialization arguments for creating windows have been re-ordered.
|
||||||
In general, the order is as follows:
|
In general, the order is as follows:
|
||||||
label [sub-labels] callback parent [init-value] style
|
label [sub-labels] parent callback [init-value] style
|
||||||
^- e.g., items in a radio box
|
^- e.g., items in a radio box
|
||||||
where style is a list of symbols.
|
where style is a list of symbols.
|
||||||
|
|
||||||
|
@ -273,13 +273,13 @@ the right.]
|
||||||
_____________________|_______________
|
_____________________|_______________
|
||||||
| | |
|
| | |
|
||||||
subarea<%> window<%> area-container<%>
|
subarea<%> window<%> area-container<%>
|
||||||
<<<____|____ _____|__________ __|___ ___________________<<<
|
<<<____|____ _____|_________ _|__ ________________________<<<
|
||||||
| | | | | |
|
| | | | | |
|
||||||
subwindow<%> | | | |
|
subwindow<%> | | | |
|
||||||
<<<______________|___________ | | | | _<<<
|
<<<______________|___________ | | pane% _<<<
|
||||||
| | | | pane% |
|
| | | | |- horizontal-pane% |
|
||||||
control<%> | | | |- horizontal-pane% |
|
control<%> | | | |- vertical-pane% |
|
||||||
|- message% | | | |- vertical-pane% |
|
|- message% | | | |- grow-box-spacer-pane% |
|
||||||
|- button% | | | |
|
|- button% | | | |
|
||||||
|- check-box% | area-container-window<%> |
|
|- check-box% | area-container-window<%> |
|
||||||
|- slider% | | |
|
|- slider% | | |
|
||||||
|
@ -408,6 +408,9 @@ horizontal-pane%: pane%
|
||||||
vertical-pane%: pane%
|
vertical-pane%: pane%
|
||||||
<= parent
|
<= parent
|
||||||
|
|
||||||
|
gorw-box-spacer-pane%: pane%
|
||||||
|
<= parent
|
||||||
|
|
||||||
top-level-window<%> : area-container-window<%>
|
top-level-window<%> : area-container-window<%>
|
||||||
get-eventspace
|
get-eventspace
|
||||||
on-activate
|
on-activate
|
||||||
|
@ -673,6 +676,8 @@ current-ps-setup
|
||||||
get-top-level-windows
|
get-top-level-windows
|
||||||
get-top-level-focus-window
|
get-top-level-focus-window
|
||||||
get-top-level-edit-target-window
|
get-top-level-edit-target-window
|
||||||
|
current-new-top-level-window-handler
|
||||||
|
get-window-text-extent
|
||||||
|
|
||||||
graphical-read-eval-print-loop
|
graphical-read-eval-print-loop
|
||||||
|
|
||||||
|
@ -680,7 +685,6 @@ make-eventspace
|
||||||
eventspace?
|
eventspace?
|
||||||
current-eventspace
|
current-eventspace
|
||||||
eventspace-shutdown?
|
eventspace-shutdown?
|
||||||
eventspace-parameterization
|
|
||||||
event-dispatch-handler
|
event-dispatch-handler
|
||||||
|
|
||||||
check-for-break
|
check-for-break
|
||||||
|
@ -1112,15 +1116,16 @@ the-color-database only has a find-color method; the others were
|
||||||
"FORESTGREEN") are no longer available; instead, the only availabale
|
"FORESTGREEN") are no longer available; instead, the only availabale
|
||||||
colors are the ones defined in the manual.
|
colors are the ones defined in the manual.
|
||||||
|
|
||||||
|
Changed the syntax for keymap%'s map-function. f a modifier is not
|
||||||
|
mentioned in a state string, it matches states where the modifier is
|
||||||
|
pressed or not pressed. A tilde (~) preceding a modifier makes the
|
||||||
|
string match only states where the corresponding modifier is not
|
||||||
|
pressed.
|
||||||
|
|
||||||
|
Changed keymap%'s add-key-function and add-mouse-function to
|
||||||
|
add-function (eliminating the different namespaces for key and mouse
|
||||||
|
event functions).
|
||||||
|
|
||||||
======================================================================
|
Removed keymap%'s set-error-callback; the keymap errors are instead
|
||||||
TODO
|
reported by raising an exception. The exception handler can't escape,
|
||||||
======================================================================
|
but it can at least print the error to the current error port.
|
||||||
|
|
||||||
* add grow-box-pane%
|
|
||||||
|
|
||||||
* add get-client-inset for canvas<%> and panel<%>
|
|
||||||
|
|
||||||
* add get-editor-inset for editor-canvas%
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user