Stock ItemsStock Items — Prebuilt common menu/toolbar items and corresponding icons |
- Royalty free vector images, vector art, graphics, clipart, illustrations and high resolution stock images. Find the vectors you want!
- Market, stock icon PNG; Other formats; The PNG format is widely supported and works best with presentations and web design. As it is not a vector format, it's not suitable for enlarging after download or for print usage.
Functions
Free Stock icons! Download 1,000 vector icons and icon kits.Available in PNG, ICO or ICNS icons for Mac for free use. All stock icons we offer are royalty-free Stock Icon FAQ Icon Usage Agreement. Perfect Toolbar Icons is a collection of ready-made icons for use in commercial and personal programs and websites. The icons have a bright color palette, smooth and well-rounded edges. A variety of formats and sizes is provided.
void | gtk_stock_add() |
void | gtk_stock_add_static() |
GtkStockItem * | gtk_stock_item_copy() |
void | gtk_stock_item_free() |
GSList * | gtk_stock_list_ids() |
gboolean | gtk_stock_lookup() |
void | gtk_stock_set_translate_func() |
Types and Values
struct | GtkStockItem |
#define | GTK_STOCK_ABOUT |
#define | GTK_STOCK_ADD |
#define | GTK_STOCK_APPLY |
#define | GTK_STOCK_BOLD |
#define | GTK_STOCK_CANCEL |
#define | GTK_STOCK_CAPS_LOCK_WARNING |
#define | GTK_STOCK_CDROM |
#define | GTK_STOCK_CLEAR |
#define | GTK_STOCK_CLOSE |
#define | GTK_STOCK_COLOR_PICKER |
#define | GTK_STOCK_CONVERT |
#define | GTK_STOCK_CONNECT |
#define | GTK_STOCK_COPY |
#define | GTK_STOCK_CUT |
#define | GTK_STOCK_DELETE |
#define | GTK_STOCK_DIALOG_AUTHENTICATION |
#define | GTK_STOCK_DIALOG_ERROR |
#define | GTK_STOCK_DIALOG_INFO |
#define | GTK_STOCK_DIALOG_QUESTION |
#define | GTK_STOCK_DIALOG_WARNING |
#define | GTK_STOCK_DIRECTORY |
#define | GTK_STOCK_DISCARD |
#define | GTK_STOCK_DISCONNECT |
#define | GTK_STOCK_DND |
#define | GTK_STOCK_DND_MULTIPLE |
#define | GTK_STOCK_EDIT |
#define | GTK_STOCK_EXECUTE |
#define | GTK_STOCK_FILE |
#define | GTK_STOCK_FIND |
#define | GTK_STOCK_FIND_AND_REPLACE |
#define | GTK_STOCK_FLOPPY |
#define | GTK_STOCK_FULLSCREEN |
#define | GTK_STOCK_GOTO_BOTTOM |
#define | GTK_STOCK_GOTO_FIRST |
#define | GTK_STOCK_GOTO_LAST |
#define | GTK_STOCK_GOTO_TOP |
#define | GTK_STOCK_GO_BACK |
#define | GTK_STOCK_GO_DOWN |
#define | GTK_STOCK_GO_FORWARD |
#define | GTK_STOCK_GO_UP |
#define | GTK_STOCK_HARDDISK |
#define | GTK_STOCK_HELP |
#define | GTK_STOCK_HOME |
#define | GTK_STOCK_INDENT |
#define | GTK_STOCK_INDEX |
#define | GTK_STOCK_INFO |
#define | GTK_STOCK_ITALIC |
#define | GTK_STOCK_JUMP_TO |
#define | GTK_STOCK_JUSTIFY_CENTER |
#define | GTK_STOCK_JUSTIFY_FILL |
#define | GTK_STOCK_JUSTIFY_LEFT |
#define | GTK_STOCK_JUSTIFY_RIGHT |
#define | GTK_STOCK_LEAVE_FULLSCREEN |
#define | GTK_STOCK_MEDIA_FORWARD |
#define | GTK_STOCK_MEDIA_NEXT |
#define | GTK_STOCK_MEDIA_PAUSE |
#define | GTK_STOCK_MEDIA_PLAY |
#define | GTK_STOCK_MEDIA_PREVIOUS |
#define | GTK_STOCK_MEDIA_RECORD |
#define | GTK_STOCK_MEDIA_REWIND |
#define | GTK_STOCK_MEDIA_STOP |
#define | GTK_STOCK_MISSING_IMAGE |
#define | GTK_STOCK_NETWORK |
#define | GTK_STOCK_NEW |
#define | GTK_STOCK_NO |
#define | GTK_STOCK_OK |
#define | GTK_STOCK_OPEN |
#define | GTK_STOCK_ORIENTATION_LANDSCAPE |
#define | GTK_STOCK_ORIENTATION_PORTRAIT |
#define | GTK_STOCK_ORIENTATION_REVERSE_LANDSCAPE |
#define | GTK_STOCK_ORIENTATION_REVERSE_PORTRAIT |
#define | GTK_STOCK_PAGE_SETUP |
#define | GTK_STOCK_PASTE |
#define | GTK_STOCK_PREFERENCES |
#define | GTK_STOCK_PRINT |
#define | GTK_STOCK_PRINT_ERROR |
#define | GTK_STOCK_PRINT_PAUSED |
#define | GTK_STOCK_PRINT_PREVIEW |
#define | GTK_STOCK_PRINT_REPORT |
#define | GTK_STOCK_PRINT_WARNING |
#define | GTK_STOCK_PROPERTIES |
#define | GTK_STOCK_QUIT |
#define | GTK_STOCK_REDO |
#define | GTK_STOCK_REFRESH |
#define | GTK_STOCK_REMOVE |
#define | GTK_STOCK_REVERT_TO_SAVED |
#define | GTK_STOCK_SAVE |
#define | GTK_STOCK_SAVE_AS |
#define | GTK_STOCK_SELECT_ALL |
#define | GTK_STOCK_SELECT_COLOR |
#define | GTK_STOCK_SELECT_FONT |
#define | GTK_STOCK_SORT_ASCENDING |
#define | GTK_STOCK_SORT_DESCENDING |
#define | GTK_STOCK_SPELL_CHECK |
#define | GTK_STOCK_STOP |
#define | GTK_STOCK_STRIKETHROUGH |
#define | GTK_STOCK_UNDELETE |
#define | GTK_STOCK_UNDERLINE |
#define | GTK_STOCK_UNDO |
#define | GTK_STOCK_UNINDENT |
#define | GTK_STOCK_YES |
#define | GTK_STOCK_ZOOM_100 |
#define | GTK_STOCK_ZOOM_FIT |
#define | GTK_STOCK_ZOOM_IN |
#define | GTK_STOCK_ZOOM_OUT |
Description
Stock items represent commonly-used menu or toolbar items such as'Open' or 'Exit'. Each stock item is identified by a stock ID;stock IDs are just strings, but macros such as GTK_STOCK_OPEN areprovided to avoid typing mistakes in the strings.Applications can register their own stock items in addition to thosebuilt-in to GTK+.
Each stock ID can be associated with a GtkStockItem, which containsthe user-visible label, keyboard accelerator, and translation domainof the menu or toolbar item; and/or with an icon stored in aGtkIconFactory. See GtkIconFactory formore information on stock icons. The connection between aGtkStockItem and stock icons is purely conventional (by virtue ofusing the same stock ID); it's possible to register a stock item butno icon, and vice versa. Stock icons may have a RTL variant which getsused for right-to-left locales.
Functions
gtk_stock_add ()
Registers each of the stock items in items
. If an item alreadyexists with the same stock ID as one of the items
, the old itemgets replaced. The stock items are copied, so GTK+ does not holdany pointer into items
and items
can be freed. Usegtk_stock_add_static()
if items
is persistent and GTK+ need notcopy the array.
Parameters
items | a GtkStockItem or array of items. | [array length=n_items] |
n_items | number of GtkStockItem in |
gtk_stock_add_static ()
Same as gtk_stock_add()
, but doesn't copy items
, soitems
must persist until application exit.
Parameters
items | a GtkStockItem or array of GtkStockItem. | [array length=n_items] |
n_items | number of items |
gtk_stock_item_copy ()
Copies a stock item, mostly useful for language bindings and not in applications.
Parameters
Returns
a new GtkStockItem
gtk_stock_item_free ()
Frees a stock item allocated on the heap, such as one returned bygtk_stock_item_copy()
. Also frees the fields inside the stock item,if they are not NULL
.
Parameters
gtk_stock_list_ids ()
Retrieves a list of all known stock IDs added to a GtkIconFactoryor registered with gtk_stock_add()
. The list must be freed with g_slist_free()
,and each string in the list must be freed with g_free()
.
Returns
a list of known stock IDs.
[element-type utf8][transfer full]
gtk_stock_lookup ()
Fills item
with the registered values for stock_id
, returning TRUE
if stock_id
was known.
Parameters
stock_id | a stock item name | |
item | stock item to initialize with values. | [out] |
gtk_stock_set_translate_func ()
Sets a function to be used for translating the label
of a stock item.
If no function is registered for a translation domain,g_dgettext()
is used.
The function is used for all stock items whosetranslation_domain
matches domain
. Note that it is possibleto use strings different from the actual gettext translation domainof your application for this, as long as your GtkTranslateFunc usesthe correct domain when calling dgettext()
. This can be useful, e.g.when dealing with message contexts:
Parameters
domain | the translation domain for which |
func | a GtkTranslateFunc |
data | data to pass to |
notify | a GDestroyNotify that is called when |
Since: 2.8
Raspberry pi 4 visual studio code. You can run Visual Studio Code on Raspberry Pi devices. By downloading and using Visual Studio Code, you agree to the license terms and privacy statement. Visual Studio Code is officially distributed via the Raspberry Pi OS (previously called Raspbian) APT repository, in both 32-bit and 64-bit variants. You can install it by running: sudo apt update sudo apt install code.
Types and Values
Stock Icons Svg
GTK_STOCK_ABOUT
The 'About' item.
Since: 2.6
GTK_STOCK_APPLY
The 'Apply' item.
GTK_STOCK_CANCEL
The 'Cancel' item.
GTK_STOCK_CAPS_LOCK_WARNING
The 'Caps Lock Warning' icon.
Since: 2.16
GTK_STOCK_CLEAR
The 'Clear' item.
GTK_STOCK_COLOR_PICKER
The 'Color Picker' item.
Since: 2.2
GTK_STOCK_CONNECT
The 'Connect' icon.
Since: 2.6
GTK_STOCK_CUT
The 'Cut' item.
GTK_STOCK_DIALOG_AUTHENTICATION
The 'Authentication' item.
Since: 2.4
GTK_STOCK_DIALOG_INFO
The 'Information' item.
GTK_STOCK_DIALOG_WARNING
The 'Warning' item.
GTK_STOCK_DIRECTORY
The 'Directory' icon.
Since: 2.6
GTK_STOCK_DISCONNECT
The 'Disconnect' icon.
Since: 2.6
GTK_STOCK_DND_MULTIPLE
The 'Drag-And-Drop multiple' icon.
GTK_STOCK_EXECUTE
The 'Execute' item.
GTK_STOCK_FIND
The 'Find' item.
GTK_STOCK_FIND_AND_REPLACE
The 'Find and Replace' item.
GTK_STOCK_FULLSCREEN
The 'Fullscreen' item.
Since: 2.8
GTK_STOCK_GOTO_FIRST
The 'First' item.
RTL variant
GTK_STOCK_GOTO_TOP
The 'Top' item.
GTK_STOCK_GO_DOWN
The 'Down' item.
GTK_STOCK_GO_FORWARD
The 'Forward' item.
RTL variant
GTK_STOCK_HARDDISK
The 'Harddisk' item.
Since: 2.4
GTK_STOCK_HOME
The 'Home' item. Audio downloads for mac os x.
GTK_STOCK_INDENT
The 'Indent' item.
RTL variant
Since: 2.4
GTK_STOCK_INFO
The 'Info' item.
Since: 2.8
GTK_STOCK_JUMP_TO
The 'Jump to' item.
RTL-variant
GTK_STOCK_JUSTIFY_FILL
The 'Fill' item.
GTK_STOCK_JUSTIFY_RIGHT
The 'Right' item.
GTK_STOCK_LEAVE_FULLSCREEN
The 'Leave Fullscreen' item.
Since: 2.8
GTK_STOCK_MEDIA_FORWARD
The 'Media Forward' item.
RTL variant
Since: 2.6
GTK_STOCK_MEDIA_NEXT
The 'Media Next' item.
RTL variant
Since: 2.6
GTK_STOCK_MEDIA_PAUSE
The 'Media Pause' item.
Since: 2.6
GTK_STOCK_MEDIA_PLAY
The 'Media Play' item.
RTL variant
Since: 2.6
GTK_STOCK_MEDIA_PREVIOUS
The 'Media Previous' item.
RTL variant
Since: 2.6
GTK_STOCK_MEDIA_RECORD
The 'Media Record' item.
Since: 2.6
GTK_STOCK_MEDIA_REWIND
The 'Media Rewind' item.
RTL variant
Since: 2.6
GTK_STOCK_MEDIA_STOP
The 'Media Stop' item.
Since: 2.6
GTK_STOCK_NETWORK
The 'Network' item.
Since: 2.4
GTK_STOCK_NO
The 'No' item.
GTK_STOCK_OPEN
The 'Open' item.
GTK_STOCK_ORIENTATION_LANDSCAPE
The 'Landscape Orientation' item.
Since: 2.10
GTK_STOCK_ORIENTATION_PORTRAIT
The 'Portrait Orientation' item.
Since: 2.10
GTK_STOCK_ORIENTATION_REVERSE_LANDSCAPE
The 'Reverse Landscape Orientation' item.
Since: 2.10
GTK_STOCK_ORIENTATION_REVERSE_PORTRAIT
The 'Reverse Portrait Orientation' item.
Since: 2.10
GTK_STOCK_PAGE_SETUP
The 'Page Setup' item.
Since: 2.14
GTK_STOCK_PREFERENCES
The 'Preferences' item.
GTK_STOCK_PRINT_ERROR
The 'Print Error' icon.
Since: 2.14
GTK_STOCK_PRINT_PAUSED
The 'Print Paused' icon.
Since: 2.14
GTK_STOCK_PRINT_REPORT
The 'Print Report' icon.
Since: 2.14
GTK_STOCK_PRINT_WARNING
The 'Print Warning' icon.
Since: 2.14
GTK_STOCK_QUIT
The 'Quit' item.
GTK_STOCK_REFRESH
The 'Refresh' item.
GTK_STOCK_REVERT_TO_SAVED
The 'Revert' item.
RTL variant
GTK_STOCK_SAVE_AS
The 'Save As' item.
GTK_STOCK_SELECT_ALL
The 'Select All' item.
Since: 2.10
GTK_STOCK_SELECT_FONT
The 'Font' item.
GTK_STOCK_SORT_DESCENDING
The 'Descending' item.
GTK_STOCK_STOP
The 'Stop' item.
GTK_STOCK_UNDELETE
Stock Icons
The 'Undelete' item. Outlast whistleblower for mac os.
RTL variant
GTK_STOCK_UNDO
The 'Undo' item.
RTL variant
GTK_STOCK_UNINDENT
The 'Unindent' item.
RTL variant
Since: 2.4
GTK_STOCK_ZOOM_100
The 'Zoom 100%' item.
GTK_STOCK_ZOOM_IN
The 'Zoom In' item.