Image

Description AtkImage should be implemented by AtkObject subtypes on behalf of components which display image/pixmap information onscreen, and which provide information (other than just widget borders, etc.) via that image content. For instance, icons, buttons with icons, toolbar elements, and image viewing panes typically should implement AtkImage. AtkImage primarily provides two types of information: coordinate information (useful for screen review mode of screenreaders, and for use by onscreen magnifiers), and descriptive information. The descriptive information is provided for alternative, text-only presentation of the most significant information present in the image.

Constructors

this
this(AtkImage* atkImage)

Sets our main struct and passes it to the parent class

Members

Functions

getImageDescription
string getImageDescription()

Get a textual description of this image.

getImageLocale
string getImageLocale()

Since ATK 1.12

getImagePosition
void getImagePosition(int x, int y, AtkCoordType coordType)

Gets the position of the image in the form of a point specifying the images top-left corner.

getImageSize
void getImageSize(int width, int height)

Get the width and height in pixels for the specified image. The values of width and height are returned as -1 if the values cannot be obtained (for instance, if the object is not onscreen).

getImageStruct
AtkImage* getImageStruct()
Undocumented in source. Be warned that the author may not have intended to support it.
getStruct
void* getStruct()

the main Gtk struct as a void*

setImageDescription
int setImageDescription(string description)

Sets the textual description for this image.

Variables

atkImage
AtkImage* atkImage;

the main Gtk struct

Meta