Skip to main content

Add an image (:add_image)

Declaration

dialog_obj = dialog_obj:add_image(image)

Parameters

  • image
    Image object to be added to the dialog

Returns

  • dialog_obj
    Dialog. Returns the dialog itself

Description

Add an image to the dialog

Example

dialog():add_image(screen.image()):show() -- show a screenshot

Note: Uses function outside this chapter screen.image

Full example

See :show()