1Gtk2::Stock(3) User Contributed Perl Documentation Gtk2::Stock(3)
2
3
4
6 Gtk2::Stock
7
9 When a Gtk2::StockItem is returned from a function or required as a
10 parameter a hash reference with the following key/value pairs will be
11 required/returned.
12
13 {
14 stock_id => (string),
15 label => (string),
16 modifier => (Gtk2::Gdk::ModifierType),
17 keyval => (integer),
18 translation_domain => (string),
19 }
20
22 +-----------------------------------+-------------------+-------------+
23 ⎪ Stock-Id ⎪ Label ⎪ Mod-Key ⎪
24 +-----------------------------------+-------------------+-------------+
25 ⎪ gtk-about ⎪ _About ⎪ ⎪
26 ⎪ gtk-add ⎪ _Add ⎪ ⎪
27 ⎪ gtk-apply ⎪ _Apply ⎪ ⎪
28 ⎪ gtk-bold ⎪ _Bold ⎪ ⎪
29 ⎪ gtk-cancel ⎪ _Cancel ⎪ ⎪
30 ⎪ gtk-cdrom ⎪ _CD-Rom ⎪ ⎪
31 ⎪ gtk-clear ⎪ _Clear ⎪ ⎪
32 ⎪ gtk-close ⎪ _Close ⎪ <control>-W ⎪
33 ⎪ gtk-connect ⎪ C_onnect ⎪ ⎪
34 ⎪ gtk-convert ⎪ _Convert ⎪ ⎪
35 ⎪ gtk-copy ⎪ _Copy ⎪ <control>-C ⎪
36 ⎪ gtk-cut ⎪ Cu_t ⎪ <control>-X ⎪
37 ⎪ gtk-delete ⎪ _Delete ⎪ ⎪
38 ⎪ gtk-dialog-error ⎪ Error ⎪ ⎪
39 ⎪ gtk-dialog-info ⎪ Information ⎪ ⎪
40 ⎪ gtk-dialog-question ⎪ Question ⎪ ⎪
41 ⎪ gtk-dialog-warning ⎪ Warning ⎪ ⎪
42 ⎪ gtk-disconnect ⎪ _Disconnect ⎪ ⎪
43 ⎪ gtk-edit ⎪ _Edit ⎪ ⎪
44 ⎪ gtk-execute ⎪ _Execute ⎪ ⎪
45 ⎪ gtk-find ⎪ _Find ⎪ <control>-F ⎪
46 ⎪ gtk-find-and-replace ⎪ Find and _Replace ⎪ <control>-R ⎪
47 ⎪ gtk-floppy ⎪ _Floppy ⎪ ⎪
48 ⎪ gtk-fullscreen ⎪ _Fullscreen ⎪ ⎪
49 ⎪ gtk-go-back ⎪ _Back ⎪ ⎪
50 ⎪ gtk-go-down ⎪ _Down ⎪ ⎪
51 ⎪ gtk-go-forward ⎪ _Forward ⎪ ⎪
52 ⎪ gtk-go-up ⎪ _Up ⎪ ⎪
53 ⎪ gtk-goto-bottom ⎪ _Bottom ⎪ ⎪
54 ⎪ gtk-goto-first ⎪ _First ⎪ ⎪
55 ⎪ gtk-goto-last ⎪ _Last ⎪ ⎪
56 ⎪ gtk-goto-top ⎪ _Top ⎪ ⎪
57 ⎪ gtk-harddisk ⎪ _Harddisk ⎪ ⎪
58 ⎪ gtk-help ⎪ _Help ⎪ <control>-H ⎪
59 ⎪ gtk-home ⎪ _Home ⎪ ⎪
60 ⎪ gtk-indent ⎪ Increase Indent ⎪ ⎪
61 ⎪ gtk-index ⎪ _Index ⎪ ⎪
62 ⎪ gtk-info ⎪ _Information ⎪ ⎪
63 ⎪ gtk-italic ⎪ _Italic ⎪ ⎪
64 ⎪ gtk-jump-to ⎪ _Jump to ⎪ ⎪
65 ⎪ gtk-justify-center ⎪ _Center ⎪ ⎪
66 ⎪ gtk-justify-fill ⎪ _Fill ⎪ ⎪
67 ⎪ gtk-justify-left ⎪ _Left ⎪ ⎪
68 ⎪ gtk-justify-right ⎪ _Right ⎪ ⎪
69 ⎪ gtk-leave-fullscreen ⎪ _Leave Fullscreen ⎪ ⎪
70 ⎪ gtk-media-forward ⎪ _Forward ⎪ ⎪
71 ⎪ gtk-media-next ⎪ _Next ⎪ ⎪
72 ⎪ gtk-media-pause ⎪ P_ause ⎪ ⎪
73 ⎪ gtk-media-play ⎪ _Play ⎪ ⎪
74 ⎪ gtk-media-previous ⎪ Pre_vious ⎪ ⎪
75 ⎪ gtk-media-record ⎪ _Record ⎪ ⎪
76 ⎪ gtk-media-rewind ⎪ R_ewind ⎪ ⎪
77 ⎪ gtk-media-stop ⎪ _Stop ⎪ ⎪
78 ⎪ gtk-network ⎪ _Network ⎪ ⎪
79 ⎪ gtk-new ⎪ _New ⎪ <control>-N ⎪
80 ⎪ gtk-no ⎪ _No ⎪ ⎪
81 ⎪ gtk-ok ⎪ _OK ⎪ ⎪
82 ⎪ gtk-open ⎪ _Open ⎪ <control>-O ⎪
83 ⎪ gtk-orientation-landscape ⎪ Landscape ⎪ ⎪
84 ⎪ gtk-orientation-portrait ⎪ Portrait ⎪ ⎪
85 ⎪ gtk-orientation-reverse-landscape ⎪ Reverse landscape ⎪ ⎪
86 ⎪ gtk-orientation-reverse-portrait ⎪ Reverse portrait ⎪ ⎪
87 ⎪ gtk-paste ⎪ _Paste ⎪ <control>-V ⎪
88 ⎪ gtk-preferences ⎪ _Preferences ⎪ ⎪
89 ⎪ gtk-print ⎪ _Print ⎪ ⎪
90 ⎪ gtk-print-preview ⎪ Print Pre_view ⎪ ⎪
91 ⎪ gtk-properties ⎪ _Properties ⎪ ⎪
92 ⎪ gtk-quit ⎪ _Quit ⎪ <control>-Q ⎪
93 ⎪ gtk-redo ⎪ _Redo ⎪ ⎪
94 ⎪ gtk-refresh ⎪ _Refresh ⎪ ⎪
95 ⎪ gtk-remove ⎪ _Remove ⎪ ⎪
96 ⎪ gtk-revert-to-saved ⎪ _Revert ⎪ ⎪
97 ⎪ gtk-save ⎪ _Save ⎪ <control>-S ⎪
98 ⎪ gtk-save-as ⎪ Save _As ⎪ ⎪
99 ⎪ gtk-select-all ⎪ Select _All ⎪ ⎪
100 ⎪ gtk-select-color ⎪ _Color ⎪ ⎪
101 ⎪ gtk-select-font ⎪ _Font ⎪ ⎪
102 ⎪ gtk-sort-ascending ⎪ _Ascending ⎪ ⎪
103 ⎪ gtk-sort-descending ⎪ _Descending ⎪ ⎪
104 ⎪ gtk-spell-check ⎪ _Spell Check ⎪ ⎪
105 ⎪ gtk-stop ⎪ _Stop ⎪ ⎪
106 ⎪ gtk-strikethrough ⎪ _Strikethrough ⎪ ⎪
107 ⎪ gtk-undelete ⎪ _Undelete ⎪ ⎪
108 ⎪ gtk-underline ⎪ _Underline ⎪ ⎪
109 ⎪ gtk-undo ⎪ _Undo ⎪ ⎪
110 ⎪ gtk-unindent ⎪ Decrease Indent ⎪ ⎪
111 ⎪ gtk-yes ⎪ _Yes ⎪ ⎪
112 ⎪ gtk-zoom-100 ⎪ _Normal Size ⎪ ⎪
113 ⎪ gtk-zoom-fit ⎪ Best _Fit ⎪ ⎪
114 ⎪ gtk-zoom-in ⎪ Zoom _In ⎪ ⎪
115 ⎪ gtk-zoom-out ⎪ Zoom _Out ⎪ ⎪
116 +-----------------------------------+-------------------+-------------+
117
119 Gtk2::Stock->add (...)
120
121 * ... (list) of Gtk2::StockItem's to be added
122
123 list = Gtk2::Stock->list_ids
124
125 Returns a list of strings, the stock-ids.
126
127 scalar = Gtk2::Stock->lookup ($stock_id)
128
129 * $stock_id (string)
130
131 Returns a hash reference, a Gtk2::StockItem.
132
133 Gtk2::Stock->set_translate_func ($domain, $func, $data=undef)
134
135 * $domain (string)
136 * $func (scalar)
137 * $data (scalar)
138
140 Gtk2
141
143 Copyright (C) 2003-2007 by the gtk2-perl team.
144
145 This software is licensed under the LGPL. See Gtk2 for a full notice.
146
147
148
149perl v5.8.8 2007-03-18 Gtk2::Stock(3)