Package: gdk
Function gdk:paintable-new-empty
Lambda Listgdk:paintable-new-empty (width height) Argumentswidth -- an integer with the intrinsic width to report. Can be 0 for no width height -- an integer with the intrinsic height to report. Can be 0 for no height Return ValueThe new gdk:paintable object. Details
Returns a paintable that has the given intrinsic size and draws nothing.
This is often useful for implementing the GdkPaintableInterface.get_current_image() virtual function when the
paintable is in an incomplete state. | See also |
#2024-5-5