Description

Values

Getter

  • icon - The Evas image object to use for an icon.

Setter

  • icon - The image object to use for an icon.

Getter

Get the icon object used for the window.

The object returns is the one marked by Efl.Ui.Win.icon_object.set as the object to use for the window icon.

Setter

Set a window object's icon.

This sets an image to be used as the icon for the given window, in the window manager decoration part. The exact pixel dimensions of the object (not object size) will be used and the image pixels will be used as-is when this function is called. If the image object has been updated, then call this function again to source the image pixels and place them in the window's icon. Note that only objects of type Efl.Canvas.Image or Efl.Ui.Image are allowed.

Signature

@property icon_object {
    get {
        values {
            icon: free(const(Efl.Canvas.Object), efl_del) @nullable;
        }
    }
    set {
        values {
            icon: free(Efl.Canvas.Object, efl_del) @nullable;
        }
    }
}

C signature

Implemented by

  • Efl.Ui.Win.icon_object