company logo

Layout :: image - Image definition

In order to decorate buttons, controls or data items in a list with icons, an image might be defined for the layout.

Notes:

The function is obsolete and has been replaced by icon() .

Return value:  Reference to constant image definition ( odabagui::Image  )

Implementation overview

Implementation details

  1. Get image definition from layout
    odabagui::Image Layout  :: image (  )

    The function returns the image definition from the layout. The image definition is still owned by the layout. Thus, changing image properties implicitly changes the layout, too.

  2. to list
  3. Set or replace image definition
    odabagui::Image Layout  :: image ( odabagui::Image &cImage )

    The function sets or replaces the current image definition to the image definition passed in cImage .

    • cImage - Reference to constant image definition
  4. to list