Package: gtk

Accessor gtk-widget-app-paintable

Lambda List

gtk-widget-app-paintable (object)

Syntax

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

Arguments

object -- a gtk-widget object

Details

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

The generic function gtk-widget-app-paintable returns True if the widget will paint on the widget. It determines whether the application intends to draw on the widget in an "draw" handler.

The generic function (setf gtk-widget-app-paintable) sets whether the application intends to draw on the widget in a "draw" handler.

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, the effect is to suppress default themed drawing of the widget's background. 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.

Since 2.18
 

See also

2014-2-7