Package: gtk

Accessor gtk-container-border-width

Lambda List

gtk-container-border-width (object)

Syntax

(gtk-container-border-width object) => width
(setf gtk-container-border-width object) width)

Arguments

object -- a gtk-container widget
width -- an unsigned integer with the border width

Details

Accessor of the border-width slot of the gtk-container class.

The gtk-container-border-width slot access function retrieves the border width of the container. The (setf gtk-container-border-width) slot acces function sets the border width.

The border width of a container is the amount of space to leave around the outside of the container. Valid values are in the range [0, 65535] pixels. The only exception to this is the gtk-window widget. Because toplevel windows cannot leave space outside, they leave the space inside. The border is added on all sides of the container. To add space to only one side, one approach is to create a gtk-alignment widget, call the gtk-widget-size-request function to give it a size, and place it on the side of the container as a spacer.
 

See also

*2021-12-3