1.7 stretchable-snip<%>

► |  | 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 | White on Black Panel Predicate
23 | Acknowledgments
| Index

▼ | 1 | Aligned Pasteboard

1.1 | aligned-pasteboard<%>
1.2 | horizontal-pasteboard%
1.3 | vertical-pasteboard%
1.4 | aligned-editor-snip%
1.5 | aligned-editor-canvas%
1.6 | aligned-pasteboard-parent<%>
1.7 | stretchable-snip<%>

On this page:

get-aligned-min-height
get-aligned-min-width
stretchable-height
stretchable-width

Racket
top contents ← prev up next →

interface stretchable-snip<%> : interface?

This interface must be implemented by any snip class who’s objects will be stretchable when inserted into an aligned-pasteboard<%>.

> method (send a-stretchable-snip get-aligned-min-height) → real?

The minimum height that the snip can be resized to

> method (send a-stretchable-snip get-aligned-min-width) → real?

The minimum width that the snip can be resized to.

> method (send a-stretchable-snip stretchable-height) → boolean?

Whether or not the snip can be stretched in the Y dimension

> method (send a-stretchable-snip stretchable-width) → boolean?

Whether or not the snip can be stretched in the X dimension
top contents ← prev up next →