Picture.for_paintable


Description:

[ CCode ( has_construct_function = false , type = "GtkWidget*" ) ]
public Picture.for_paintable (Paintable? paintable)

Creates a new `GtkPicture` displaying paintable.

The `GtkPicture` will track changes to the paintable and update its size and contents in response to it.

Parameters:

paintable

a `GdkPaintable`

Returns:

a new `GtkPicture`




2022 vala-language.org