Gjsify LogoGjsify Logo

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

Note that apart from the [vfuncGdk.Paintable.snapshot] function, no virtual function of this interface is mandatory to implement, though it is a good idea to implement [vfuncGdk.Paintable.get_current_image] for non-static paintables and [vfuncGdk.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.

record

Hierarchy

  • PaintableInterface

Index

Constructors

Properties

name: string

Methods

  • getIntrinsicAspectRatio(paintable: Paintable): number
  • getIntrinsicHeight(paintable: Paintable): number
  • getIntrinsicWidth(paintable: Paintable): number

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method