Concept Framework 1.0 documentation | Contents | Index |
Name | Type | Access | Version | Deprecated |
LoadResource | function | public | version 1.0 | no |
public function LoadResource(resid,size); |
resid | the stock id of the image to load |
size | the size of the image |
Loads an image from stock (built-in images).
Note! The size parameter must be: ICON_SIZE_INVALID ICON_SIZE_MENU ICON_SIZE_SMALL_TOOLBAR ICON_SIZE_LARGE_TOOLBAR ICON_SIZE_BUTTON ICON_SIZE_DND ICON_SIZE_DIALOG (this constants are defined in StockConstants.con . You must include this file if you want to use it) resid (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_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) |
Documented by Eduard Suica, generation time: Thu Oct 15 20:01:55 2009 GMT | (c)2009 RadGs Software |