Method

Gtk.Picture.set_alternative_text

Declaration [src]

void
gtk_picture_set_alternative_text (
  GtkPicture* self,
  const char* alternative_text
)

Description [src]

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

alternative_text const char*
 

a textual description of the contents

 Can be NULL
 Ownership is not transferred to the callee
 The string is a NUL terminated UTF-8 string