Page 306 Table of Contents Index Page 308
Chapters
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30
A, B, C, D, E



CHAPTER 29. PANES


29.2.2 Pane Properties

=> pane-frame pane [Generic Function]
Returns the frame that "owns" the pane. pane-frame can be invoked on any pane in a frame's
pane hierarchy, but it can only be invoked on "active" panes, that is, those panes that are
currently adopted into the frame's pane hierarchy.

=> pane-name pane [Generic Function]
Returns the name of the pane.

=> pane-foreground pane [Generic Function]
=> pane-background pane [Generic Function]
Return the current foreground and background inks of the pane, respectively.

Minor issue: Why aren't these medium-foreground and medium-background, since panes
obey the medium protocol to this extent? | SWM

29.3 Composite and Layout Panes

This section describes the various composite and layout panes provided by CLIM, and the
protocol that the layout panes obey.
The layout panes describe in this section are all composite panes that are responsible for po-
sitioning their children according to various layout rules. Layout panes can be selected in the
same way as other panes using make-pane or make-instance. For convenience and readabil-
ity of application pane layouts, many of these panes also provide a macro that expands into a
make-pane form, passing a list of the panes created in the body of the macro as the :contents
argument (described below). For example, you can express a layout of a vertical column of two
label panes either as:

 
 (make-instance 'vbox-pane
                :contents (list (make-instance 'label-pane :text "One")
                                (make-instance 'label-pane :text "Two")))

or as:
 
 (vertically ()
   (make-instance 'label-pane :text "One")
   (make-instance 'label-pane :text "Two"))


Page 306 Table of Contents Index Page 308
Chapters
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30
A, B, C, D, E