A window_decorator
object is used to decorate a window with
scroll_bar objects
and/or a label. Like frame
objects, window_decorators are normally kept invisible to the
application programmer. Class window
delegates to its associated
window<-decoration.
Class window_decorator may be refined to modify PCE's window look-and-feel.
->scrollbars.->label-horizontal_scrollbar->displayed,
ensuring that both the decorated window and the decorator have
consistent
graphical<-displayed.->geometry,
followed by window_decorator->rearrange
to update the layout.-horizontal_scrollbarWindow decorators are normally created by PCE itself by invoking window_decorator->scrollbars
and/or label to the window to be decorated. See also window->catch_all, window->decorate
and window<-decoration.
-level (opposed to frame<->label)
label for the window. The label is visualised by window_decorator<-label_text
using the font pce.WindowDecorator.label_font.
window_decorator<-label
returns the text<-string
of the window_decorator<-label_text
or fails if window_decorator<-label_text
yields @nil.
<-window, window_decorator<-scrollbars
and window_decorator<-label_text.
The default method places the label_text at the top-left corner and the
scrollbars according to the scroll_bar.placement.
This method is normally called by window_decorator->geometry
and may be redefined to achieve different window layouts.
->geometry
with the enlarged size.->horizontal_scrollbar
and window_decorator->vertical_scrollbar.<-window
is destroyed too.Inherits description from: window_decorator-horizontal_scrollbar
->label->scrollbars