Package: gtk

Accessor gtk-widget-app-paintable

Lambda List

gtk-widget-app-paintable (object)

Syntax

(gtk-widget-app-paintable object) => paintable
(setf (gtk-widget-app-paintable object) paintable)

Arguments

object -- a gtk-widget object
paintable -- a boolean that is true if the application will paint on the widget

Details

Accessor of the app-paintable slot of the gtk-widget class.

The gtk-widget-app-paintable slot access function returns true if the widget will paint on the widget in a "draw" handler. The (setf gtk-widget-app-paintable) slot access function sets whether the application intends to draw on the widget.

This is a hint to the widget and does not affect the behavior of the GTK core. Many widgets ignore this flag entirely. For widgets that do pay attention to the flag, such as gtk-event-box and gtk-window widgets, the effect is to suppress default themed drawing of the background of the widget. Children of the widget will still be drawn. The application is then entirely responsible for drawing the widget background.

Note that the background is still drawn when the widget is mapped.
 

See also

2021-9-15