gui.getPixmap

Returns a handle to a pixmap.

Prototype

  1. hPixmap = gui.getPixmap ( sPixmapIdentifier|(sIconIdentifier, [kIconMode = kIconModeNormal]) )

Description

Returns a handle to a pixmap using its identifier string.


Parameters

sPixmapIdentifier - pixMap identifier string, OR...
(sIconIdentifier, [kIconMode = kIconModeNormal]) - pair of icon identifier string AND iconMode constant


Return values

hPixmap - pixmap handle


Sample

  1. gui.setPicturePixmap ( gui.getComponent ( "moduleCreationDialog.Process.endPicture" ), gui.getPixmap ( "Yes" ) )
  2. gui.setLabelText ( gui.getComponent ( "moduleCreationDialog.Process.endLabel" ), "Module creation has succeeded." )

Available since ShiVa 2.0