Package: gtk
Class gtk:widget-paintable
Superclassesgdk:paintable, gobject:object, common-lisp:standard-object, common-lisp:t Documented Subclasses
None
Direct SlotsDetails The gtk:widget-paintable object is an implementation of the the gdk:paintable interface that allows displaying the contents of a gtk:widget object. The gtk:widget-paintable object will also take care of the widget not being in a state where it can be drawn, like when it is not shown, and just draw nothing or where it does not have a size, like when it is hidden, and report no size in that case. Of course, the gtk:widget-paintable object allows you to monitor widgets for size changes by emitting the "invalidate-size" signal whenever the size of the widget changes as well as for visual changes by emitting the "invalidate-contents" signal whenever the widget changes. You can of course use a gtk:widget-paintable object everywhere a gdk:paintable object is allowed, including using it on a gtk:picture widget, or one of its parents, that it was set on itself via the gtk:picture-paintable function. The paintable will take care of recursion when this happens. If you do this however, ensure the can-shrink property is set to true or you might end up with an infinitely growing widget. | Inherited Slot Access FunctionsSee also |
2023-8-31