Description:
This is another alternative to the
Image property. This function creates an image from stock, and then sets it as the button image. Notice that this feature is not supported on any platform. For example, on Microsoft Windows is better to add a
RVBox in wich you can put a
RImage and a
RLabel. For portability is recommended to use the
RVBox method.
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)