On this page:
make-bitmap-label
bitmap-label-maker

3 Bitmap Label 🔗

 (require mrlib/bitmap-label) package: gui-lib

procedure

(make-bitmap-label str img [font])  (is-a?/c bitmap%)

  str : string?
  img : (or/c (is-a?/c bitmap%) path-string?)
  font : (is-a?/c font%) = normal-control-font
Constructs a bitmap label suitable for use a button that contains the image specified by img followed by the text in str.

procedure

((bitmap-label-maker str img) future-parent)  (is-a?/c bitmap%)

  str : string?
  img : (or/c (is-a?/c bitmap%) path-string?)
  future-parent : any/c
An older variant of make-bitmap-label that was designed to obtain a font to use from a container future-parent. The future-parent argument is currently ignored.