1 Aligned Pasteboard
2 Bitmap Label
3 Cache-image Snip
4 GIF and Animated GFI Writing
5 Graphs
6 Hierarchical List Control
7 Include Bitmap
8 Interactive Value Port
9 Name Message
10 Path Dialog
11 Plot
12 Switchable Button
13 Acknowledgments
Index
On this page:
make-bitmap-label
bitmap-label-maker
Version: 4.0.2

 

2 Bitmap Label

 (require mrlib/bitmap-label)

(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.

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

  str : string?

  img : (or/c (is-a?/c bitmap%) path-string?)

  future-parent : (is-a?/c area-container<%>)

And older variant of make-bitmap-label that obtains a font to use from a container future-parent.