set_alternative_text


Description:

public void set_alternative_text (string? alternative_text)

Sets an alternative textual description for the picture contents.

It is equivalent to the "alt" attribute for images on websites.

This text will be made available to accessibility tools.

If the picture cannot be described textually, set this property to null.

Parameters:

this

a `GtkPicture`

alternative_text

a textual description of the contents




2022 vala-language.org