Add missing history annotations.
Please merge to 6.3.
(cherry picked from commit 8bfd1bb25e
)
This commit is contained in:
parent
1d3a308532
commit
52e2cf4f7a
|
@ -42,6 +42,8 @@ listeners when the contents of the cell is changed.
|
||||||
@defmethod[(remove-all-listeners) void?]{
|
@defmethod[(remove-all-listeners) void?]{
|
||||||
Removes all previously registered callbacks.
|
Removes all previously registered callbacks.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@history[#:added "1.18"]{}
|
||||||
}
|
}
|
||||||
|
|
||||||
@defproc[(notify:notify-box/pref
|
@defproc[(notify:notify-box/pref
|
||||||
|
@ -67,6 +69,8 @@ reflected in the notify-box.
|
||||||
(send nb set 'deer)
|
(send nb set 'deer)
|
||||||
(animal)
|
(animal)
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@history[#:added "1.18"]{}
|
||||||
}
|
}
|
||||||
|
|
||||||
@defform[(notify:define-notify name value-expr)
|
@defform[(notify:define-notify name value-expr)
|
||||||
|
@ -97,6 +101,8 @@ Useful for aggregating many notify-boxes together into one
|
||||||
(send food set 'honey))
|
(send food set 'honey))
|
||||||
(send c get-animal)
|
(send c get-animal)
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@history[#:added "1.18"]{}
|
||||||
}
|
}
|
||||||
|
|
||||||
@defproc[(notify:menu-option/notify-box
|
@defproc[(notify:menu-option/notify-box
|
||||||
|
@ -108,6 +114,8 @@ Useful for aggregating many notify-boxes together into one
|
||||||
Creates a @racket[checkable-menu-item%] tied to @racket[notify-box]. The menu item is
|
Creates a @racket[checkable-menu-item%] tied to @racket[notify-box]. The menu item is
|
||||||
checked whenever @racket[(send notify-box get)] is true. Clicking the
|
checked whenever @racket[(send notify-box get)] is true. Clicking the
|
||||||
menu item toggles the value of @racket[notify-box] and invokes its listeners.
|
menu item toggles the value of @racket[notify-box] and invokes its listeners.
|
||||||
|
|
||||||
|
@history[#:added "1.18"]{}
|
||||||
}
|
}
|
||||||
|
|
||||||
@defproc[(notify:check-box/notify-box
|
@defproc[(notify:check-box/notify-box
|
||||||
|
@ -121,6 +129,8 @@ Creates a @racket[check-box%] tied to @racket[notify-box]. The
|
||||||
check-box is checked whenever @racket[(send notify-box get)] is
|
check-box is checked whenever @racket[(send notify-box get)] is
|
||||||
true. Clicking the check box toggles the value of @racket[notify-box]
|
true. Clicking the check box toggles the value of @racket[notify-box]
|
||||||
and invokes its listeners.
|
and invokes its listeners.
|
||||||
|
|
||||||
|
@history[#:added "1.18"]{}
|
||||||
}
|
}
|
||||||
|
|
||||||
@defproc[(notify:choice/notify-box
|
@defproc[(notify:choice/notify-box
|
||||||
|
@ -138,6 +148,8 @@ its listeners.
|
||||||
|
|
||||||
If the value of @racket[notify-box] is not in @racket[choices], either
|
If the value of @racket[notify-box] is not in @racket[choices], either
|
||||||
initially or upon an update, an error is raised.
|
initially or upon an update, an error is raised.
|
||||||
|
|
||||||
|
@history[#:added "1.18"]{}
|
||||||
}
|
}
|
||||||
|
|
||||||
@defproc[(notify:menu-group/notify-box
|
@defproc[(notify:menu-group/notify-box
|
||||||
|
@ -151,6 +163,8 @@ Returns a list of @racket[checkable-menu-item%] controls tied to
|
||||||
@racket[(send notify-box get)]. Clicking a menu item updates
|
@racket[(send notify-box get)]. Clicking a menu item updates
|
||||||
@racket[notify-box] to its label and invokes @racket[notify-box]'s
|
@racket[notify-box] to its label and invokes @racket[notify-box]'s
|
||||||
listeners.
|
listeners.
|
||||||
|
|
||||||
|
@history[#:added "1.18"]{}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -389,7 +389,9 @@ the state transitions / contracts are:
|
||||||
(pref)
|
(pref)
|
||||||
@{Returns a procedure that when applied to zero arguments retrieves the
|
@{Returns a procedure that when applied to zero arguments retrieves the
|
||||||
current value of the preference named @racket[pref] and when
|
current value of the preference named @racket[pref] and when
|
||||||
applied to one argument updates the preference named @racket[pref].})
|
applied to one argument updates the preference named @racket[pref].
|
||||||
|
|
||||||
|
@history[#:added "1.18"]{}})
|
||||||
|
|
||||||
(proc-doc/names
|
(proc-doc/names
|
||||||
preferences:add-callback
|
preferences:add-callback
|
||||||
|
|
Loading…
Reference in New Issue
Block a user