company logo

ActionItem :: image - Image name

The property contains the name of the image resource name for the action. Image resources have to be defined in the resource database (see also Image). Action item images are, usually, shown for menu items and action or toolbox buttons. An image resource refers to three images in order to be displayed, when the action is disabled, active or in normal state.

Return value:  String value ( odaba::String  )

Implementation overview

Implementation details

  1. Get name for image resource
    odaba::String ActionItem  :: image (  )
  2. to list
  3. Change image
    odaba::String ActionItem  :: image ( odaba::String &sValue )

    In order to change the image displayed with the action item, an image resource name might be passed in sValue, which refers to the image definition to be displayed for the action item. for making the new image visible, refresh() has to be called.

    • sValue - String value
  4. to list