Next: default-y-stretch
Up: Class Reference
Previous: width
Superclass: mred:wrapping-canvas%
This class creates will resize itself when an edit is placed inside it
so that there is just enough room to see one line of the edit at a
time.
You must have a
mred:media-edit% object or one that inherits from
mred:media-edit% in that canvas.
- (make-object mred:one-line-canvas% parent x y width height name style scrolls-per-page buffer lines) -> mred:one-line-canvas% object
parent : wx:frame% object or wx:panel% object
x = -1 : small integer
y = -1 : small integer
width = -1 : small integer
height = -1 : small integer
name = "" : string
style = 0 : small integer
scrolls-per-page = 100 : small integer
buffer = null : wx:media-buffer% object or null
lines = 1 : int
Methods:
All methods:
Next: default-y-stretch
Up: Class Reference
Previous: width
PLT