Package: gdk

Function gdk:paintable-new-empty

Lambda List

gdk:paintable-new-empty (width height)

Arguments

width -- 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 Value

The 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