Package: gtk

Function gtk-layout-size

Lambda List

gtk-layout-size (layout)

Syntax

(gtk-layout-size layout) => width, height
(setf (gtk-layout-size layout) '(width height))

Arguments

layout -- a gtk-layout widget
width -- an unsigned integer with the width of the entire scrollable area
height -- an unsigned integer with the height of the entire scrollable area

Details

Accessor of the width and height of the scrollable area.

The gtk-layout-size function gets the size in pixels that has been set on the layout, and that determines the total extents of the scrollbar of the layout area. The (setf gtk-layout-size) function sets the size.

Lisp binding

In the Lisp binding the gtk-layout-width and gtk-layout-height slot access functions get or set the width and height of the scrollable area.
 

See also

2021-12-9