Package: gtk
Accessor gtk:drawing-area-content-width
Lambda Listgtk:drawing-area-content-width (object) SyntaxArgumentsDetails Accessor of the content-width slot of the gtk:drawing-area class. The gtk:drawing-area-content-width function retrieves the content width of the drawing area. The (setf gtk:drawing-area-content-width) function
sets the desired width of the contents. Note that because widgets may be allocated larger sizes than they requested, it is possible that the actual height passed to your draw function is larger than the height set here. You can use the gtk:widget-halign function to avoid that. If the height is set to 0, the default, the drawing area may disappear. | See also |
2024-10-26