the size of the image. Can be: ICON_SIZE_INVALID | ICON_SIZE_MENU | ICON_SIZE_SMALL_TOOLBAR | ICON_SIZE_LARGE_TOOLBAR | ICON_SIZE_BUTTON | ICON_SIZE_DND | ICON_SIZE_DIALOG
Description:
Loads an image at the given size from the built-in stock. Check LoadStockIcon also.
Note! id (the stock id) can be a string representing the gtk2 stock icon to use or :
ABOUT
ADD
APPLY
BOLD
CANCEL
CDROM
CLEAR
CLOSE
COLOR_PICKER
CONNECT
CONVERT
COPY
CUT
DELETE
DIALOG_AUTHENTICATION
DIALOG_ERROR
DIALOG_INFO
DIALOG_QUESTION
DIALOG_WARNING
DIRECTORY
DISCONNECT
DND
DND_MULTIPLE
EDIT
EXECUTE
FILE
FIND
FIND_AND_REPLACE
FLOPPY
FULLSCREEN
GO_BACK
GO_DOWN
GO_FORWARD
GO_UP
GOTO_BOTTOM
GOTO_FIRST
GOTO_LAST
GOTO_TOP
HARDDISK
HELP
HOME
INDENT
INDEX
INFO
ITALIC
JUMP_TO
JUSTIFY_CENTER
JUSTIFY_FILL
JUSTIFY_LEFT
JUSTIFY_RIGHT
LEAVE_FULLSCREEN
MEDIA_FORWARD
MEDIA_NEXT
MEDIA_PAUSE
MEDIA_PLAY
MEDIA_PREVIOUS
MEDIA_RECORD
MEDIA_REWIND
MEDIA_STOP
MISSING_IMAGE
NETWORK
NEW
NO
OK
OPEN
PASTE
PREFERENCES
PRINT
PRINT_PREVIEW
PROPERTIES
QUIT
REDO
REFRESH
REMOVE
REVERT_TO_SAVED
SAVE
SAVE_AS
SELECT_COLOR
SELECT_FONT
SORT_ASCENDING
SORT_DESCENDING
SPELL_CHECK
STOP
STRIKETHROUGH
UNDELETE
UNDERLINE
UNDO
UNINDENT
YES
ZOOM_100
ZOOM_FIT
ZOOM_IN
ZOOM_OUT
(this constants are defined in StockConstants.con . You must include this file if you want to use it)
Return value:
Returns a reference to the RImage object created from the filename.