Package: gtk

Function gtk-scrolled-window-placement

Lambda List

gtk-scrolled-window-placement (window)

Syntax

(gtk-scrolled-window-placement window) => placement
(setf (gtk-scrolled-window-placement window) placement)

Arguments

window -- a gtk-scrolled-window widget
placement -- a value of the gtk-corner-type enumeration with the position of the child window

Details

Accessor of the placement of the contents with respect to the scrollbars for the scrolled window.

The gtk-scrolled-window-placement function gets the placement of the contents with respect to the scrollbars for the scrolled window. The (setf gtk-scrolled-window-placement) function sets the placement of the contents.

The default is :left, meaning the child is in the top left, with the scrollbars underneath and to the right. Other values in the gtk-corner-type enumeration are :top-right, :bottom-left, and :bottom-right.

See also the gtk-scrolled-window-unset-placement function.

Note

In contrast to the gtk-scrolled-window-window-placement slot access function the gtk-scrolled-window-placement function updates the scrolled window after setting the new value for the window placement.
 

See also

2021-10-14