Skip to content

Gdk.PaintableInterface

record (struct)

The list of functions that can be implemented for the GdkPaintable interface.

Note that apart from the Paintable.snapshot function, no virtual function of this interface is mandatory to implement, though it is a good idea to implement Paintable.get_current_image for non-static paintables and Paintable.get_flags if the image is not dynamic as the default implementation returns no flags and that will make the implementation likely quite slow.

Properties

g_iface

g_iface: GObject.TypeInterface  # read/write

snapshot

snapshot: Any  # read/write

get_current_image

get_current_image: Any  # read/write

get_flags

get_flags: Any  # read/write

get_intrinsic_width

get_intrinsic_width: Any  # read/write

get_intrinsic_height

get_intrinsic_height: Any  # read/write

get_intrinsic_aspect_ratio

get_intrinsic_aspect_ratio: Any  # read/write