You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

1017 rivejä
24 KiB

  1. /* GTK - The GIMP Toolkit
  2. * Copyright (C) 2000 Red Hat, Inc.
  3. *
  4. * This library is free software; you can redistribute it and/or
  5. * modify it under the terms of the GNU Lesser General Public
  6. * License as published by the Free Software Foundation; either
  7. * version 2 of the License, or (at your option) any later version.
  8. *
  9. * This library is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  12. * Lesser General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU Lesser General Public
  15. * License along with this library; if not, write to the
  16. * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  17. * Boston, MA 02111-1307, USA.
  18. */
  19. /*
  20. * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS
  21. * file for a list of people on the GTK+ Team. See the ChangeLog
  22. * files for a list of changes. These files are distributed with
  23. * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
  24. */
  25. #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
  26. #error "Only <gtk/gtk.h> can be included directly."
  27. #endif
  28. #ifndef __GTK_STOCK_H__
  29. #define __GTK_STOCK_H__
  30. #include <gdk/gdk.h>
  31. #include <gtk/gtktypeutils.h> /* for GtkTranslateFunc */
  32. G_BEGIN_DECLS
  33. typedef struct _GtkStockItem GtkStockItem;
  34. struct _GtkStockItem
  35. {
  36. gchar *stock_id;
  37. gchar *label;
  38. GdkModifierType modifier;
  39. guint keyval;
  40. gchar *translation_domain;
  41. };
  42. void gtk_stock_add (const GtkStockItem *items,
  43. guint n_items);
  44. void gtk_stock_add_static (const GtkStockItem *items,
  45. guint n_items);
  46. gboolean gtk_stock_lookup (const gchar *stock_id,
  47. GtkStockItem *item);
  48. /* Should free the list (and free each string in it also).
  49. * This function is only useful for GUI builders and such.
  50. */
  51. GSList* gtk_stock_list_ids (void);
  52. GtkStockItem *gtk_stock_item_copy (const GtkStockItem *item);
  53. void gtk_stock_item_free (GtkStockItem *item);
  54. void gtk_stock_set_translate_func (const gchar *domain,
  55. GtkTranslateFunc func,
  56. gpointer data,
  57. GDestroyNotify notify);
  58. /* Stock IDs (not all are stock items; some are images only) */
  59. /**
  60. * GTK_STOCK_ABOUT:
  61. *
  62. * The "About" item.
  63. * <inlinegraphic fileref="help-about.png" format="PNG"></inlinegraphic>
  64. *
  65. * Since: 2.6
  66. */
  67. #define GTK_STOCK_ABOUT "gtk-about"
  68. /**
  69. * GTK_STOCK_ADD:
  70. *
  71. * The "Add" item.
  72. * <inlinegraphic fileref="list-add.png" format="PNG"></inlinegraphic>
  73. */
  74. #define GTK_STOCK_ADD "gtk-add"
  75. /**
  76. * GTK_STOCK_APPLY:
  77. *
  78. * The "Apply" item.
  79. * <inlinegraphic fileref="gtk-apply.png" format="PNG"></inlinegraphic>
  80. */
  81. #define GTK_STOCK_APPLY "gtk-apply"
  82. /**
  83. * GTK_STOCK_BOLD:
  84. *
  85. * The "Bold" item.
  86. * <inlinegraphic fileref="format-text-bold.png" format="PNG"></inlinegraphic>
  87. */
  88. #define GTK_STOCK_BOLD "gtk-bold"
  89. /**
  90. * GTK_STOCK_CANCEL:
  91. *
  92. * The "Cancel" item.
  93. * <inlinegraphic fileref="gtk-cancel.png" format="PNG"></inlinegraphic>
  94. */
  95. #define GTK_STOCK_CANCEL "gtk-cancel"
  96. /**
  97. * GTK_STOCK_CAPS_LOCK_WARNING:
  98. *
  99. * The "Caps Lock Warning" icon.
  100. * <inlinegraphic fileref="gtk-caps-lock-warning.png" format="PNG"></inlinegraphic>
  101. *
  102. * Since: 2.16
  103. */
  104. #define GTK_STOCK_CAPS_LOCK_WARNING "gtk-caps-lock-warning"
  105. /**
  106. * GTK_STOCK_CDROM:
  107. *
  108. * The "CD-Rom" item.
  109. * <inlinegraphic fileref="media-optical.png" format="PNG"></inlinegraphic>
  110. */
  111. #define GTK_STOCK_CDROM "gtk-cdrom"
  112. /**
  113. * GTK_STOCK_CLEAR:
  114. *
  115. * The "Clear" item.
  116. * <inlinegraphic fileref="edit-clear.png" format="PNG"></inlinegraphic>
  117. */
  118. #define GTK_STOCK_CLEAR "gtk-clear"
  119. /**
  120. * GTK_STOCK_CLOSE:
  121. *
  122. * The "Close" item.
  123. * <inlinegraphic fileref="window-close.png" format="PNG"></inlinegraphic>
  124. */
  125. #define GTK_STOCK_CLOSE "gtk-close"
  126. /**
  127. * GTK_STOCK_COLOR_PICKER:
  128. *
  129. * The "Color Picker" item.
  130. * <inlinegraphic fileref="gtk-color-picker.png" format="PNG"></inlinegraphic>
  131. *
  132. * Since: 2.2
  133. */
  134. #define GTK_STOCK_COLOR_PICKER "gtk-color-picker"
  135. /**
  136. * GTK_STOCK_CONNECT:
  137. *
  138. * The "Connect" icon.
  139. * <inlinegraphic fileref="gtk-connect.png" format="PNG"></inlinegraphic>
  140. *
  141. * Since: 2.6
  142. */
  143. #define GTK_STOCK_CONNECT "gtk-connect"
  144. /**
  145. * GTK_STOCK_CONVERT:
  146. *
  147. * The "Convert" item.
  148. * <inlinegraphic fileref="gtk-convert.png" format="PNG"></inlinegraphic>
  149. */
  150. #define GTK_STOCK_CONVERT "gtk-convert"
  151. /**
  152. * GTK_STOCK_COPY:
  153. *
  154. * The "Copy" item.
  155. * <inlinegraphic fileref="edit-copy.png" format="PNG"></inlinegraphic>
  156. */
  157. #define GTK_STOCK_COPY "gtk-copy"
  158. /**
  159. * GTK_STOCK_CUT:
  160. *
  161. * The "Cut" item.
  162. * <inlinegraphic fileref="edit-cut.png" format="PNG"></inlinegraphic>
  163. */
  164. #define GTK_STOCK_CUT "gtk-cut"
  165. /**
  166. * GTK_STOCK_DELETE:
  167. *
  168. * The "Delete" item.
  169. * <inlinegraphic fileref="edit-delete.png" format="PNG"></inlinegraphic>
  170. */
  171. #define GTK_STOCK_DELETE "gtk-delete"
  172. /**
  173. * GTK_STOCK_DIALOG_AUTHENTICATION:
  174. *
  175. * The "Authentication" item.
  176. * <inlinegraphic fileref="dialog-password.png" format="PNG"></inlinegraphic>
  177. *
  178. * Since: 2.4
  179. */
  180. #define GTK_STOCK_DIALOG_AUTHENTICATION "gtk-dialog-authentication"
  181. /**
  182. * GTK_STOCK_DIALOG_INFO:
  183. *
  184. * The "Information" item.
  185. * <inlinegraphic fileref="dialog-information.png" format="PNG"></inlinegraphic>
  186. */
  187. #define GTK_STOCK_DIALOG_INFO "gtk-dialog-info"
  188. /**
  189. * GTK_STOCK_DIALOG_WARNING:
  190. *
  191. * The "Warning" item.
  192. * <inlinegraphic fileref="dialog-warning.png" format="PNG"></inlinegraphic>
  193. */
  194. #define GTK_STOCK_DIALOG_WARNING "gtk-dialog-warning"
  195. /**
  196. * GTK_STOCK_DIALOG_ERROR:
  197. *
  198. * The "Error" item.
  199. * <inlinegraphic fileref="dialog-error.png" format="PNG"></inlinegraphic>
  200. */
  201. #define GTK_STOCK_DIALOG_ERROR "gtk-dialog-error"
  202. /**
  203. * GTK_STOCK_DIALOG_QUESTION:
  204. *
  205. * The "Question" item.
  206. * <inlinegraphic fileref="dialog-question.png" format="PNG"></inlinegraphic>
  207. */
  208. #define GTK_STOCK_DIALOG_QUESTION "gtk-dialog-question"
  209. /**
  210. * GTK_STOCK_DIRECTORY:
  211. *
  212. * The "Directory" icon.
  213. * <inlinegraphic fileref="folder.png" format="PNG"></inlinegraphic>
  214. *
  215. * Since: 2.6
  216. */
  217. #define GTK_STOCK_DIRECTORY "gtk-directory"
  218. /**
  219. * GTK_STOCK_DISCARD:
  220. *
  221. * The "Discard" item.
  222. *
  223. * Since: 2.12
  224. */
  225. #define GTK_STOCK_DISCARD "gtk-discard"
  226. /**
  227. * GTK_STOCK_DISCONNECT:
  228. *
  229. * The "Disconnect" icon.
  230. * <inlinegraphic fileref="gtk-disconnect.png" format="PNG"></inlinegraphic>
  231. *
  232. * Since: 2.6
  233. */
  234. #define GTK_STOCK_DISCONNECT "gtk-disconnect"
  235. /**
  236. * GTK_STOCK_DND:
  237. *
  238. * The "Drag-And-Drop" icon.
  239. * <inlinegraphic fileref="gtk-dnd.png" format="PNG"></inlinegraphic>
  240. */
  241. #define GTK_STOCK_DND "gtk-dnd"
  242. /**
  243. * GTK_STOCK_DND_MULTIPLE:
  244. *
  245. * The "Drag-And-Drop multiple" icon.
  246. * <inlinegraphic fileref="gtk-dnd-multiple.png" format="PNG"></inlinegraphic>
  247. */
  248. #define GTK_STOCK_DND_MULTIPLE "gtk-dnd-multiple"
  249. /**
  250. * GTK_STOCK_EDIT:
  251. *
  252. * The "Edit" item.
  253. * <inlinegraphic fileref="gtk-edit.png" format="PNG"></inlinegraphic>
  254. *
  255. * Since: 2.6
  256. */
  257. #define GTK_STOCK_EDIT "gtk-edit"
  258. /**
  259. * GTK_STOCK_EXECUTE:
  260. *
  261. * The "Execute" item.
  262. * <inlinegraphic fileref="system-run.png" format="PNG"></inlinegraphic>
  263. */
  264. #define GTK_STOCK_EXECUTE "gtk-execute"
  265. /**
  266. * GTK_STOCK_FILE:
  267. *
  268. * The "File" icon.
  269. * <inlinegraphic fileref="document-x-generic.png" format="PNG"></inlinegraphic>
  270. *
  271. * Since: 2.6
  272. */
  273. #define GTK_STOCK_FILE "gtk-file"
  274. /**
  275. * GTK_STOCK_FIND:
  276. *
  277. * The "Find" item.
  278. * <inlinegraphic fileref="edit-find.png" format="PNG"></inlinegraphic>
  279. */
  280. #define GTK_STOCK_FIND "gtk-find"
  281. /**
  282. * GTK_STOCK_FIND_AND_REPLACE:
  283. *
  284. * The "Find and Replace" item.
  285. * <inlinegraphic fileref="edit-find-replace.png" format="PNG"></inlinegraphic>
  286. */
  287. #define GTK_STOCK_FIND_AND_REPLACE "gtk-find-and-replace"
  288. /**
  289. * GTK_STOCK_FLOPPY:
  290. *
  291. * The "Floppy" item.
  292. * <inlinegraphic fileref="media-floppy.png" format="PNG"></inlinegraphic>
  293. */
  294. #define GTK_STOCK_FLOPPY "gtk-floppy"
  295. /**
  296. * GTK_STOCK_FULLSCREEN:
  297. *
  298. * The "Fullscreen" item.
  299. * <inlinegraphic fileref="view-fullscreen.png" format="PNG"></inlinegraphic>
  300. *
  301. * Since: 2.8
  302. */
  303. #define GTK_STOCK_FULLSCREEN "gtk-fullscreen"
  304. /**
  305. * GTK_STOCK_GOTO_BOTTOM:
  306. *
  307. * The "Bottom" item.
  308. * <inlinegraphic fileref="go-bottom.png" format="PNG"></inlinegraphic>
  309. */
  310. #define GTK_STOCK_GOTO_BOTTOM "gtk-goto-bottom"
  311. /**
  312. * GTK_STOCK_GOTO_FIRST:
  313. *
  314. * The "First" item.
  315. * <inlinegraphic fileref="go-first-ltr.png" format="PNG"></inlinegraphic>
  316. * RTL variant
  317. * <inlinegraphic fileref="go-first-rtl.png" format="PNG"></inlinegraphic>
  318. */
  319. #define GTK_STOCK_GOTO_FIRST "gtk-goto-first"
  320. /**
  321. * GTK_STOCK_GOTO_LAST:
  322. *
  323. * The "Last" item.
  324. * <inlinegraphic fileref="go-last-ltr.png" format="PNG"></inlinegraphic>
  325. * RTL variant
  326. * <inlinegraphic fileref="go-last-rtl.png" format="PNG"></inlinegraphic>
  327. */
  328. #define GTK_STOCK_GOTO_LAST "gtk-goto-last"
  329. /**
  330. * GTK_STOCK_GOTO_TOP:
  331. *
  332. * The "Top" item.
  333. * <inlinegraphic fileref="go-top.png" format="PNG"></inlinegraphic>
  334. */
  335. #define GTK_STOCK_GOTO_TOP "gtk-goto-top"
  336. /**
  337. * GTK_STOCK_GO_BACK:
  338. *
  339. * The "Back" item.
  340. * <inlinegraphic fileref="go-previous-ltr.png" format="PNG"></inlinegraphic>
  341. * RTL variant
  342. * <inlinegraphic fileref="go-previous-rtl.png" format="PNG"></inlinegraphic>
  343. */
  344. #define GTK_STOCK_GO_BACK "gtk-go-back"
  345. /**
  346. * GTK_STOCK_GO_DOWN:
  347. *
  348. * The "Down" item.
  349. * <inlinegraphic fileref="go-down.png" format="PNG"></inlinegraphic>
  350. */
  351. #define GTK_STOCK_GO_DOWN "gtk-go-down"
  352. /**
  353. * GTK_STOCK_GO_FORWARD:
  354. *
  355. * The "Forward" item.
  356. * <inlinegraphic fileref="go-next-ltr.png" format="PNG"></inlinegraphic>
  357. * RTL variant
  358. * <inlinegraphic fileref="go-next-rtl.png" format="PNG"></inlinegraphic>
  359. */
  360. #define GTK_STOCK_GO_FORWARD "gtk-go-forward"
  361. /**
  362. * GTK_STOCK_GO_UP:
  363. *
  364. * The "Up" item.
  365. * <inlinegraphic fileref="go-up.png" format="PNG"></inlinegraphic>
  366. */
  367. #define GTK_STOCK_GO_UP "gtk-go-up"
  368. /**
  369. * GTK_STOCK_HARDDISK:
  370. *
  371. * The "Harddisk" item.
  372. * <inlinegraphic fileref="drive-harddisk.png" format="PNG"></inlinegraphic>
  373. *
  374. * Since: 2.4
  375. */
  376. #define GTK_STOCK_HARDDISK "gtk-harddisk"
  377. /**
  378. * GTK_STOCK_HELP:
  379. *
  380. * The "Help" item.
  381. * <inlinegraphic fileref="help-contents.png" format="PNG"></inlinegraphic>
  382. */
  383. #define GTK_STOCK_HELP "gtk-help"
  384. /**
  385. * GTK_STOCK_HOME:
  386. *
  387. * The "Home" item.
  388. * <inlinegraphic fileref="go-home.png" format="PNG"></inlinegraphic>
  389. */
  390. #define GTK_STOCK_HOME "gtk-home"
  391. /**
  392. * GTK_STOCK_INDEX:
  393. *
  394. * The "Index" item.
  395. * <inlinegraphic fileref="gtk-index.png" format="PNG"></inlinegraphic>
  396. */
  397. #define GTK_STOCK_INDEX "gtk-index"
  398. /**
  399. * GTK_STOCK_INDENT:
  400. *
  401. * The "Indent" item.
  402. * <inlinegraphic fileref="gtk-indent-ltr.png" format="PNG"></inlinegraphic>
  403. * RTL variant
  404. * <inlinegraphic fileref="gtk-indent-rtl.png" format="PNG"></inlinegraphic>
  405. *
  406. * Since: 2.4
  407. */
  408. #define GTK_STOCK_INDENT "gtk-indent"
  409. /**
  410. * GTK_STOCK_INFO:
  411. *
  412. * The "Info" item.
  413. * <inlinegraphic fileref="dialog-information.png" format="PNG"></inlinegraphic>
  414. *
  415. * Since: 2.8
  416. */
  417. #define GTK_STOCK_INFO "gtk-info"
  418. /**
  419. * GTK_STOCK_ITALIC:
  420. *
  421. * The "Italic" item.
  422. * <inlinegraphic fileref="format-text-italic.png" format="PNG"></inlinegraphic>
  423. */
  424. #define GTK_STOCK_ITALIC "gtk-italic"
  425. /**
  426. * GTK_STOCK_JUMP_TO:
  427. *
  428. * The "Jump to" item.
  429. * <inlinegraphic fileref="go-jump-ltr.png" format="PNG"></inlinegraphic>
  430. * RTL-variant
  431. * <inlinegraphic fileref="go-jump-rtl.png" format="PNG"></inlinegraphic>
  432. */
  433. #define GTK_STOCK_JUMP_TO "gtk-jump-to"
  434. /**
  435. * GTK_STOCK_JUSTIFY_CENTER:
  436. *
  437. * The "Center" item.
  438. * <inlinegraphic fileref="format-justify-center.png" format="PNG"></inlinegraphic>
  439. */
  440. #define GTK_STOCK_JUSTIFY_CENTER "gtk-justify-center"
  441. /**
  442. * GTK_STOCK_JUSTIFY_FILL:
  443. *
  444. * The "Fill" item.
  445. * <inlinegraphic fileref="format-justify-fill.png" format="PNG"></inlinegraphic>
  446. */
  447. #define GTK_STOCK_JUSTIFY_FILL "gtk-justify-fill"
  448. /**
  449. * GTK_STOCK_JUSTIFY_LEFT:
  450. *
  451. * The "Left" item.
  452. * <inlinegraphic fileref="format-justify-left.png" format="PNG"></inlinegraphic>
  453. */
  454. #define GTK_STOCK_JUSTIFY_LEFT "gtk-justify-left"
  455. /**
  456. * GTK_STOCK_JUSTIFY_RIGHT:
  457. *
  458. * The "Right" item.
  459. * <inlinegraphic fileref="format-justify-right.png" format="PNG"></inlinegraphic>
  460. */
  461. #define GTK_STOCK_JUSTIFY_RIGHT "gtk-justify-right"
  462. /**
  463. * GTK_STOCK_LEAVE_FULLSCREEN:
  464. *
  465. * The "Leave Fullscreen" item.
  466. * <inlinegraphic fileref="view-restore.png" format="PNG"></inlinegraphic>
  467. *
  468. * Since: 2.8
  469. */
  470. #define GTK_STOCK_LEAVE_FULLSCREEN "gtk-leave-fullscreen"
  471. /**
  472. * GTK_STOCK_MISSING_IMAGE:
  473. *
  474. * The "Missing image" icon.
  475. * <inlinegraphic fileref="image-missing.png" format="PNG"></inlinegraphic>
  476. */
  477. #define GTK_STOCK_MISSING_IMAGE "gtk-missing-image"
  478. /**
  479. * GTK_STOCK_MEDIA_FORWARD:
  480. *
  481. * The "Media Forward" item.
  482. * <inlinegraphic fileref="media-seek-forward-ltr.png" format="PNG"></inlinegraphic>
  483. * RTL variant
  484. * <inlinegraphic fileref="media-seek-forward-rtl.png" format="PNG"></inlinegraphic>
  485. *
  486. * Since: 2.6
  487. */
  488. #define GTK_STOCK_MEDIA_FORWARD "gtk-media-forward"
  489. /**
  490. * GTK_STOCK_MEDIA_NEXT:
  491. *
  492. * The "Media Next" item.
  493. * <inlinegraphic fileref="media-skip-forward-ltr.png" format="PNG"></inlinegraphic>
  494. * RTL variant
  495. * <inlinegraphic fileref="media-skip-forward-rtl.png" format="PNG"></inlinegraphic>
  496. *
  497. * Since: 2.6
  498. */
  499. #define GTK_STOCK_MEDIA_NEXT "gtk-media-next"
  500. /**
  501. * GTK_STOCK_MEDIA_PAUSE:
  502. *
  503. * The "Media Pause" item.
  504. * <inlinegraphic fileref="media-playback-pause.png" format="PNG"></inlinegraphic>
  505. *
  506. * Since: 2.6
  507. */
  508. #define GTK_STOCK_MEDIA_PAUSE "gtk-media-pause"
  509. /**
  510. * GTK_STOCK_MEDIA_PLAY:
  511. *
  512. * The "Media Play" item.
  513. * <inlinegraphic fileref="media-playback-start-ltr.png" format="PNG"></inlinegraphic>
  514. * RTL variant
  515. * <inlinegraphic fileref="media-playback-start-rtl.png" format="PNG"></inlinegraphic>
  516. *
  517. * Since: 2.6
  518. */
  519. #define GTK_STOCK_MEDIA_PLAY "gtk-media-play"
  520. /**
  521. * GTK_STOCK_MEDIA_PREVIOUS:
  522. *
  523. * The "Media Previous" item.
  524. * <inlinegraphic fileref="media-skip-backward-ltr.png" format="PNG"></inlinegraphic>
  525. * RTL variant
  526. * <inlinegraphic fileref="media-skip-backward-rtl.png" format="PNG"></inlinegraphic>
  527. *
  528. * Since: 2.6
  529. */
  530. #define GTK_STOCK_MEDIA_PREVIOUS "gtk-media-previous"
  531. /**
  532. * GTK_STOCK_MEDIA_RECORD:
  533. *
  534. * The "Media Record" item.
  535. * <inlinegraphic fileref="media-record.png" format="PNG"></inlinegraphic>
  536. *
  537. * Since: 2.6
  538. */
  539. #define GTK_STOCK_MEDIA_RECORD "gtk-media-record"
  540. /**
  541. * GTK_STOCK_MEDIA_REWIND:
  542. *
  543. * The "Media Rewind" item.
  544. * <inlinegraphic fileref="media-seek-backward-ltr.png" format="PNG"></inlinegraphic>
  545. * RTL variant
  546. * <inlinegraphic fileref="media-seek-backward-rtl.png" format="PNG"></inlinegraphic>
  547. *
  548. * Since: 2.6
  549. */
  550. #define GTK_STOCK_MEDIA_REWIND "gtk-media-rewind"
  551. /**
  552. * GTK_STOCK_MEDIA_STOP:
  553. *
  554. * The "Media Stop" item.
  555. * <inlinegraphic fileref="media-playback-stop.png" format="PNG"></inlinegraphic>
  556. *
  557. * Since: 2.6
  558. */
  559. #define GTK_STOCK_MEDIA_STOP "gtk-media-stop"
  560. /**
  561. * GTK_STOCK_NETWORK:
  562. *
  563. * The "Network" item.
  564. * <inlinegraphic fileref="network-idle.png" format="PNG"></inlinegraphic>
  565. *
  566. * Since: 2.4
  567. */
  568. #define GTK_STOCK_NETWORK "gtk-network"
  569. /**
  570. * GTK_STOCK_NEW:
  571. *
  572. * The "New" item.
  573. * <inlinegraphic fileref="document-new.png" format="PNG"></inlinegraphic>
  574. */
  575. #define GTK_STOCK_NEW "gtk-new"
  576. /**
  577. * GTK_STOCK_NO:
  578. *
  579. * The "No" item.
  580. * <inlinegraphic fileref="gtk-no.png" format="PNG"></inlinegraphic>
  581. */
  582. #define GTK_STOCK_NO "gtk-no"
  583. /**
  584. * GTK_STOCK_OK:
  585. *
  586. * The "OK" item.
  587. * <inlinegraphic fileref="gtk-ok.png" format="PNG"></inlinegraphic>
  588. */
  589. #define GTK_STOCK_OK "gtk-ok"
  590. /**
  591. * GTK_STOCK_OPEN:
  592. *
  593. * The "Open" item.
  594. * <inlinegraphic fileref="document-open.png" format="PNG"></inlinegraphic>
  595. */
  596. #define GTK_STOCK_OPEN "gtk-open"
  597. /**
  598. * GTK_STOCK_ORIENTATION_PORTRAIT:
  599. *
  600. * The "Portrait Orientation" item.
  601. * <inlinegraphic fileref="gtk-orientation-portrait.png" format="PNG"></inlinegraphic>
  602. *
  603. * Since: 2.10
  604. */
  605. #define GTK_STOCK_ORIENTATION_PORTRAIT "gtk-orientation-portrait"
  606. /**
  607. * GTK_STOCK_ORIENTATION_LANDSCAPE:
  608. *
  609. * The "Landscape Orientation" item.
  610. * <inlinegraphic fileref="gtk-orientation-landscape.png" format="PNG"></inlinegraphic>
  611. *
  612. * Since: 2.10
  613. */
  614. #define GTK_STOCK_ORIENTATION_LANDSCAPE "gtk-orientation-landscape"
  615. /**
  616. * GTK_STOCK_ORIENTATION_REVERSE_LANDSCAPE:
  617. *
  618. * The "Reverse Landscape Orientation" item.
  619. * <inlinegraphic fileref="gtk-orientation-reverse-landscape.png" format="PNG"></inlinegraphic>
  620. *
  621. * Since: 2.10
  622. */
  623. #define GTK_STOCK_ORIENTATION_REVERSE_LANDSCAPE "gtk-orientation-reverse-landscape"
  624. /**
  625. * GTK_STOCK_ORIENTATION_REVERSE_PORTRAIT:
  626. *
  627. * The "Reverse Portrait Orientation" item.
  628. * <inlinegraphic fileref="gtk-orientation-reverse-portrait.png" format="PNG"></inlinegraphic>
  629. *
  630. * Since: 2.10
  631. */
  632. #define GTK_STOCK_ORIENTATION_REVERSE_PORTRAIT "gtk-orientation-reverse-portrait"
  633. /**
  634. * GTK_STOCK_PAGE_SETUP:
  635. *
  636. * The "Page Setup" item.
  637. * <inlinegraphic fileref="gtk-page-setup.png" format="PNG"></inlinegraphic>
  638. *
  639. * Since: 2.14
  640. */
  641. #define GTK_STOCK_PAGE_SETUP "gtk-page-setup"
  642. /**
  643. * GTK_STOCK_PASTE:
  644. *
  645. * The "Paste" item.
  646. * <inlinegraphic fileref="edit-paste.png" format="PNG"></inlinegraphic>
  647. */
  648. #define GTK_STOCK_PASTE "gtk-paste"
  649. /**
  650. * GTK_STOCK_PREFERENCES:
  651. *
  652. * The "Preferences" item.
  653. * <inlinegraphic fileref="gtk-preferences.png" format="PNG"></inlinegraphic>
  654. */
  655. #define GTK_STOCK_PREFERENCES "gtk-preferences"
  656. /**
  657. * GTK_STOCK_PRINT:
  658. *
  659. * The "Print" item.
  660. * <inlinegraphic fileref="document-print.png" format="PNG"></inlinegraphic>
  661. */
  662. #define GTK_STOCK_PRINT "gtk-print"
  663. /**
  664. * GTK_STOCK_PRINT_ERROR:
  665. *
  666. * The "Print Error" icon.
  667. * <inlinegraphic fileref="printer-error.png" format="PNG"></inlinegraphic>
  668. *
  669. * Since: 2.14
  670. */
  671. #define GTK_STOCK_PRINT_ERROR "gtk-print-error"
  672. /**
  673. * GTK_STOCK_PRINT_PAUSED:
  674. *
  675. * The "Print Paused" icon.
  676. * <inlinegraphic fileref="printer-paused.png" format="PNG"></inlinegraphic>
  677. *
  678. * Since: 2.14
  679. */
  680. #define GTK_STOCK_PRINT_PAUSED "gtk-print-paused"
  681. /**
  682. * GTK_STOCK_PRINT_PREVIEW:
  683. *
  684. * The "Print Preview" item.
  685. * <inlinegraphic fileref="document-print-preview.png" format="PNG"></inlinegraphic>
  686. */
  687. #define GTK_STOCK_PRINT_PREVIEW "gtk-print-preview"
  688. /**
  689. * GTK_STOCK_PRINT_REPORT:
  690. *
  691. * The "Print Report" icon.
  692. * <inlinegraphic fileref="printer-info.png" format="PNG"></inlinegraphic>
  693. *
  694. * Since: 2.14
  695. */
  696. #define GTK_STOCK_PRINT_REPORT "gtk-print-report"
  697. /**
  698. * GTK_STOCK_PRINT_WARNING:
  699. *
  700. * The "Print Warning" icon.
  701. * <inlinegraphic fileref="printer-warning.png" format="PNG"></inlinegraphic>
  702. *
  703. * Since: 2.14
  704. */
  705. #define GTK_STOCK_PRINT_WARNING "gtk-print-warning"
  706. /**
  707. * GTK_STOCK_PROPERTIES:
  708. *
  709. * The "Properties" item.
  710. * <inlinegraphic fileref="document-properties.png" format="PNG"></inlinegraphic>
  711. */
  712. #define GTK_STOCK_PROPERTIES "gtk-properties"
  713. /**
  714. * GTK_STOCK_QUIT:
  715. *
  716. * The "Quit" item.
  717. * <inlinegraphic fileref="application-exit.png" format="PNG"></inlinegraphic>
  718. */
  719. #define GTK_STOCK_QUIT "gtk-quit"
  720. /**
  721. * GTK_STOCK_REDO:
  722. *
  723. * The "Redo" item.
  724. * <inlinegraphic fileref="edit-redo-ltr.png" format="PNG"></inlinegraphic>
  725. * RTL variant
  726. * <inlinegraphic fileref="edit-redo-rtl.png" format="PNG"></inlinegraphic>
  727. */
  728. #define GTK_STOCK_REDO "gtk-redo"
  729. /**
  730. * GTK_STOCK_REFRESH:
  731. *
  732. * The "Refresh" item.
  733. * <inlinegraphic fileref="view-refresh.png" format="PNG"></inlinegraphic>
  734. */
  735. #define GTK_STOCK_REFRESH "gtk-refresh"
  736. /**
  737. * GTK_STOCK_REMOVE:
  738. *
  739. * The "Remove" item.
  740. * <inlinegraphic fileref="list-remove.png" format="PNG"></inlinegraphic>
  741. */
  742. #define GTK_STOCK_REMOVE "gtk-remove"
  743. /**
  744. * GTK_STOCK_REVERT_TO_SAVED:
  745. *
  746. * The "Revert" item.
  747. * <inlinegraphic fileref="document-revert-ltr.png" format="PNG"></inlinegraphic>
  748. * RTL variant
  749. * <inlinegraphic fileref="document-revert-rtl.png" format="PNG"></inlinegraphic>
  750. */
  751. #define GTK_STOCK_REVERT_TO_SAVED "gtk-revert-to-saved"
  752. /**
  753. * GTK_STOCK_SAVE:
  754. *
  755. * The "Save" item.
  756. * <inlinegraphic fileref="document-save.png" format="PNG"></inlinegraphic>
  757. */
  758. #define GTK_STOCK_SAVE "gtk-save"
  759. /**
  760. * GTK_STOCK_SAVE_AS:
  761. *
  762. * The "Save As" item.
  763. * <inlinegraphic fileref="document-save-as.png" format="PNG"></inlinegraphic>
  764. */
  765. #define GTK_STOCK_SAVE_AS "gtk-save-as"
  766. /**
  767. * GTK_STOCK_SELECT_ALL:
  768. *
  769. * The "Select All" item.
  770. * <inlinegraphic fileref="edit-select-all.png" format="PNG"></inlinegraphic>
  771. *
  772. * Since: 2.10
  773. */
  774. #define GTK_STOCK_SELECT_ALL "gtk-select-all"
  775. /**
  776. * GTK_STOCK_SELECT_COLOR:
  777. *
  778. * The "Color" item.
  779. * <inlinegraphic fileref="gtk-select-color.png" format="PNG"></inlinegraphic>
  780. */
  781. #define GTK_STOCK_SELECT_COLOR "gtk-select-color"
  782. /**
  783. * GTK_STOCK_SELECT_FONT:
  784. *
  785. * The "Font" item.
  786. * <inlinegraphic fileref="gtk-font.png" format="PNG"></inlinegraphic>
  787. */
  788. #define GTK_STOCK_SELECT_FONT "gtk-select-font"
  789. /**
  790. * GTK_STOCK_SORT_ASCENDING:
  791. *
  792. * The "Ascending" item.
  793. * <inlinegraphic fileref="view-sort-ascending.png" format="PNG"></inlinegraphic>
  794. */
  795. #define GTK_STOCK_SORT_ASCENDING "gtk-sort-ascending"
  796. /**
  797. * GTK_STOCK_SORT_DESCENDING:
  798. *
  799. * The "Descending" item.
  800. * <inlinegraphic fileref="view-sort-descending.png" format="PNG"></inlinegraphic>
  801. */
  802. #define GTK_STOCK_SORT_DESCENDING "gtk-sort-descending"
  803. /**
  804. * GTK_STOCK_SPELL_CHECK:
  805. *
  806. * The "Spell Check" item.
  807. * <inlinegraphic fileref="tools-check-spelling.png" format="PNG"></inlinegraphic>
  808. */
  809. #define GTK_STOCK_SPELL_CHECK "gtk-spell-check"
  810. /**
  811. * GTK_STOCK_STOP:
  812. *
  813. * The "Stop" item.
  814. * <inlinegraphic fileref="process-stop.png" format="PNG"></inlinegraphic>
  815. */
  816. #define GTK_STOCK_STOP "gtk-stop"
  817. /**
  818. * GTK_STOCK_STRIKETHROUGH:
  819. *
  820. * The "Strikethrough" item.
  821. * <inlinegraphic fileref="format-text-strikethrough.png" format="PNG"></inlinegraphic>
  822. */
  823. #define GTK_STOCK_STRIKETHROUGH "gtk-strikethrough"
  824. /**
  825. * GTK_STOCK_UNDELETE:
  826. *
  827. * The "Undelete" item.
  828. * <inlinegraphic fileref="gtk-undelete-ltr.png" format="PNG"></inlinegraphic>
  829. * RTL variant
  830. * <inlinegraphic fileref="gtk-undelete-rtl.png" format="PNG"></inlinegraphic>
  831. */
  832. #define GTK_STOCK_UNDELETE "gtk-undelete"
  833. /**
  834. * GTK_STOCK_UNDERLINE:
  835. *
  836. * The "Underline" item.
  837. * <inlinegraphic fileref="format-text-underline.png" format="PNG"></inlinegraphic>
  838. */
  839. #define GTK_STOCK_UNDERLINE "gtk-underline"
  840. /**
  841. * GTK_STOCK_UNDO:
  842. *
  843. * The "Undo" item.
  844. * <inlinegraphic fileref="edit-undo-ltr.png" format="PNG"></inlinegraphic>
  845. * RTL variant
  846. * <inlinegraphic fileref="edit-undo-rtl.png" format="PNG"></inlinegraphic>
  847. */
  848. #define GTK_STOCK_UNDO "gtk-undo"
  849. /**
  850. * GTK_STOCK_UNINDENT:
  851. *
  852. * The "Unindent" item.
  853. * <inlinegraphic fileref="format-indent-less-ltr.png" format="PNG"></inlinegraphic>
  854. * RTL variant
  855. * <inlinegraphic fileref="format-indent-less-rtl.png" format="PNG"></inlinegraphic>
  856. *
  857. * Since: 2.4
  858. */
  859. #define GTK_STOCK_UNINDENT "gtk-unindent"
  860. /**
  861. * GTK_STOCK_YES:
  862. *
  863. * The "Yes" item.
  864. * <inlinegraphic fileref="gtk-yes.png" format="PNG"></inlinegraphic>
  865. */
  866. #define GTK_STOCK_YES "gtk-yes"
  867. /**
  868. * GTK_STOCK_ZOOM_100:
  869. *
  870. * The "Zoom 100%" item.
  871. * <inlinegraphic fileref="zoom-original.png" format="PNG"></inlinegraphic>
  872. */
  873. #define GTK_STOCK_ZOOM_100 "gtk-zoom-100"
  874. /**
  875. * GTK_STOCK_ZOOM_FIT:
  876. *
  877. * The "Zoom to Fit" item.
  878. * <inlinegraphic fileref="zoom-fit-best.png" format="PNG"></inlinegraphic>
  879. */
  880. #define GTK_STOCK_ZOOM_FIT "gtk-zoom-fit"
  881. /**
  882. * GTK_STOCK_ZOOM_IN:
  883. *
  884. * The "Zoom In" item.
  885. * <inlinegraphic fileref="zoom-in.png" format="PNG"></inlinegraphic>
  886. */
  887. #define GTK_STOCK_ZOOM_IN "gtk-zoom-in"
  888. /**
  889. * GTK_STOCK_ZOOM_OUT:
  890. *
  891. * The "Zoom Out" item.
  892. * <inlinegraphic fileref="zoom-out.png" format="PNG"></inlinegraphic>
  893. */
  894. #define GTK_STOCK_ZOOM_OUT "gtk-zoom-out"
  895. G_END_DECLS
  896. #endif /* __GTK_STOCK_H__ */