Paintable.newEmpty
gdk.paintable.Paintable newEmpty(int intrinsicWidth, int intrinsicHeight)Returns a paintable that has the given intrinsic size and draws nothing.
This is often useful for implementing the vfuncGdk.Paintable.get_current_image virtual function when the paintable is in an incomplete state (like a
the first frame).
Parameters
intrinsicWidth | The intrinsic width to report. Can be 0 for no width. |
intrinsicHeight | The intrinsic height to report. Can be 0 for no height. |
Returns
a [gdk.paintable.Paintable]