fix framework doc reference to `set-icon' method
Merge to 5.2
(cherry picked from commit f2082e6eeb
)
This commit is contained in:
parent
5e141b087d
commit
c760197bd0
|
@ -707,10 +707,10 @@
|
||||||
@racket[frame:basic-mixin].
|
@racket[frame:basic-mixin].
|
||||||
@itemize[
|
@itemize[
|
||||||
@item{If it is @racket[#f], then its value is ignored.}
|
@item{If it is @racket[#f], then its value is ignored.}
|
||||||
@item{If it is a @racket[bitmap%], then the @method[frame% set-icon] is
|
@item{If it is a @racket[bitmap%], then the @method[top-level-window<%> set-icon] is
|
||||||
called with the bitmap, the result of invoking the
|
called with the bitmap, the result of invoking the
|
||||||
@racket[bitmap% get-loaded-mask] method, and @racket['both].}
|
@racket[bitmap% get-loaded-mask] method, and @racket['both].}
|
||||||
@item{If it is a pair of bitmaps, then the @method[frame% set-icon]
|
@item{If it is a pair of bitmaps, then the @method[top-level-window<%> set-icon]
|
||||||
method is invoked twice, once with each bitmap in the pair. The
|
method is invoked twice, once with each bitmap in the pair. The
|
||||||
first bitmap is passed (along with the result of its
|
first bitmap is passed (along with the result of its
|
||||||
@racket[bitmap% get-loaded-mask]) and @racket['small], and then the
|
@racket[bitmap% get-loaded-mask]) and @racket['small], and then the
|
||||||
|
|
|
@ -113,7 +113,7 @@
|
||||||
|
|
||||||
This mixin calls its @method[window<%> accept-drop-files] with @racket[#t].
|
This mixin calls its @method[window<%> accept-drop-files] with @racket[#t].
|
||||||
|
|
||||||
It also calls its @method[frame% set-icon] method according to the current
|
It also calls its @method[top-level-window<%> set-icon] method according to the current
|
||||||
value of @racket[frame:current-icon].
|
value of @racket[frame:current-icon].
|
||||||
|
|
||||||
See also @racket[frame:reorder-menus].
|
See also @racket[frame:reorder-menus].
|
||||||
|
|
Loading…
Reference in New Issue
Block a user