Gtk.Widget.prototype.get_app_paintable

function get_app_paintable():Boolean {
    // Gjs wrapper for gtk_widget_get_app_paintable()
}

Determines whether the application intends to draw on the widget in an Gtk.draw handler.

See Gtk.set_app_paintable

Since 2.18

Returns

true if the widget is app paintable