▼ |  | Mr Lib: Extra GUI Libraries

1 | Aligned Pasteboard
2 | Arrow Toggle Snip
3 | Bitmap Label
4 | Cache-image Snip
5 | Close Icon
6 | Expandable Snip
7 | GIF and Animated GIF Writing
8 | Graphs
9 | Hierarchical List Control
10 | Include Bitmap
11 | Interactive Value Port
12 | Name Message
13 | Path Dialog
14 | Plot
15 | Switchable Button
16 | Image Core
17 | Matrix Snip
18 | Snip Canvases
19 | Syntax Browser
20 | Te X Table
21 | Terminal Window
22 | Acknowledgments
| Index

On this page:

make-bitmap-label
bitmap-label-maker

top ← prev up next →

### 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.
top ← prev up next →