Interface PixbufLoader.OnSizePrepared

Enclosing class:
PixbufLoader
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface PixbufLoader.OnSizePrepared
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onSizePrepared(int width, int height)
    This signal is emitted when the pixbuf loader has been fed the
    initial amount of data that is required to figure out the size
    of the image that it will create.
  • Method Details

    • onSizePrepared

      void onSizePrepared(int width, int height)
      This signal is emitted when the pixbuf loader has been fed the
      initial amount of data that is required to figure out the size
      of the image that it will create.

      Applications can call gdk_pixbuf_loader_set_size() in response
      to this signal to set the desired size to which the image
      should be scaled.
      Parameters:
      width - the original width of the image
      height - the original height of the image