Package ch.bailu.gtk.gdkpixbuf
Schnittstelle PixbufLoader.OnSizePrepared
- Umschließende Klasse:
PixbufLoader
- Funktionsschnittstelle:
- Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
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.
-
Methodendetails
-
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.- Parameter:
width
- the original width of the imageheight
- the original height of the image
-