3 * Copyright (C) 2006-2008 Jürg Billeter
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 * Jürg Billeter <j@bitron.ch>
24 public class AccelGroup
{
25 public Gtk
.AccelKey
* find (Gtk
.AccelGroupFindFunc find_func
);
28 public struct Allocation
{
35 public class Container
{
36 [CCode (vfunc_name
= "forall")]
37 public virtual void forall_internal(bool include_internal
, Gtk
.Callback
callback);
40 public class Notebook
{
41 public int page_num (Widget child
);
44 public class StatusIcon
{
45 [CCode (instance_pos
= -1)]
46 public void position_menu (Gtk
.Menu menu
, out int x
, out int y
, out bool push_in
);
49 public class UIManager
{
50 public uint new_merge_id ();
54 [CCode (has_new_function
= false, construct_function
= "gtk_widget_new")]
55 public extern Widget (...);
58 public interface Editable
{
59 [CCode (vfunc_name
= "set_selection_bounds")]
60 public abstract void select_region (int start_pos
, int end_pos
);
63 public interface FileChooserEmbed
{
66 public interface FileChooser
: Gtk
.Widget
{
67 public GLib
.SList
<GLib
.File
> get_files ();
70 public delegate
void ActionCallback (Action action
);
72 public delegate
void MenuPositionFunc (Gtk
.Menu menu
, out int x
, out int y
, out bool push_in
);
74 public delegate
void RadioActionCallback (Action action
, Action current
);
76 public delegate
bool TreeViewSearchEqualFunc (TreeModel model
, int column
, string key
, TreeIter iter
);
78 public delegate
string CalendarDetailFunc (Gtk
.Calendar calendar
, uint year
, uint month
, uint day
);
80 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.ABOUT")]
81 public const string STOCK_ABOUT
;
82 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.ADD")]
83 public const string STOCK_ADD
;
84 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.APPLY")]
85 public const string STOCK_APPLY
;
86 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.BOLD")]
87 public const string STOCK_BOLD
;
88 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.CANCEL")]
89 public const string STOCK_CANCEL
;
90 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.CAPS_LOCK_WARNING")]
91 public const string STOCK_CAPS_LOCK_WARNING
;
92 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.CDROM")]
93 public const string STOCK_CDROM
;
94 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.CLEAR")]
95 public const string STOCK_CLEAR
;
96 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.CLOSE")]
97 public const string STOCK_CLOSE
;
98 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.COLOR_PICKER")]
99 public const string STOCK_COLOR_PICKER
;
100 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.CONNECT")]
101 public const string STOCK_CONNECT
;
102 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.CONVERT")]
103 public const string STOCK_CONVERT
;
104 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.COPY")]
105 public const string STOCK_COPY
;
106 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.CUT")]
107 public const string STOCK_CUT
;
108 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.DELETE")]
109 public const string STOCK_DELETE
;
110 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.DIALOG_AUTHENTICATION")]
111 public const string STOCK_DIALOG_AUTHENTICATION
;
112 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.DIALOG_ERROR")]
113 public const string STOCK_DIALOG_ERROR
;
114 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.DIALOG_INFO")]
115 public const string STOCK_DIALOG_INFO
;
116 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.DIALOG_QUESTION")]
117 public const string STOCK_DIALOG_QUESTION
;
118 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.DIALOG_WARNING")]
119 public const string STOCK_DIALOG_WARNING
;
120 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.DIRECTORY")]
121 public const string STOCK_DIRECTORY
;
122 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.DISCARD")]
123 public const string STOCK_DISCARD
;
124 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.DISCONNECT")]
125 public const string STOCK_DISCONNECT
;
126 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.DND")]
127 public const string STOCK_DND
;
128 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.DND_MULTIPLE")]
129 public const string STOCK_DND_MULTIPLE
;
130 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.EDIT")]
131 public const string STOCK_EDIT
;
132 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.EXECUTE")]
133 public const string STOCK_EXECUTE
;
134 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.FILE")]
135 public const string STOCK_FILE
;
136 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.FIND")]
137 public const string STOCK_FIND
;
138 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.FIND_AND_REPLACE")]
139 public const string STOCK_FIND_AND_REPLACE
;
140 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.FLOPPY")]
141 public const string STOCK_FLOPPY
;
142 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.FULLSCREEN")]
143 public const string STOCK_FULLSCREEN
;
144 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.GOTO_BOTTOM")]
145 public const string STOCK_GOTO_BOTTOM
;
146 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.GOTO_FIRST")]
147 public const string STOCK_GOTO_FIRST
;
148 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.GOTO_LAST")]
149 public const string STOCK_GOTO_LAST
;
150 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.GOTO_TOP")]
151 public const string STOCK_GOTO_TOP
;
152 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.GO_BACK")]
153 public const string STOCK_GO_BACK
;
154 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.GO_DOWN")]
155 public const string STOCK_GO_DOWN
;
156 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.GO_FORWARD")]
157 public const string STOCK_GO_FORWARD
;
158 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.GO_UP")]
159 public const string STOCK_GO_UP
;
160 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.HARDDISK")]
161 public const string STOCK_HARDDISK
;
162 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.HELP")]
163 public const string STOCK_HELP
;
164 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.HOME")]
165 public const string STOCK_HOME
;
166 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.INDENT")]
167 public const string STOCK_INDENT
;
168 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.INDEX")]
169 public const string STOCK_INDEX
;
170 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.INFO")]
171 public const string STOCK_INFO
;
172 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.ITALIC")]
173 public const string STOCK_ITALIC
;
174 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.JUMP_TO")]
175 public const string STOCK_JUMP_TO
;
176 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.JUSTIFY_CENTER")]
177 public const string STOCK_JUSTIFY_CENTER
;
178 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.JUSTIFY_FILL")]
179 public const string STOCK_JUSTIFY_FILL
;
180 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.JUSTIFY_LEFT")]
181 public const string STOCK_JUSTIFY_LEFT
;
182 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.JUSTIFY_RIGHT")]
183 public const string STOCK_JUSTIFY_RIGHT
;
184 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.FULLSCREEN")]
185 public const string STOCK_LEAVE_FULLSCREEN
;
186 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.MEDIA_FORWARD")]
187 public const string STOCK_MEDIA_FORWARD
;
188 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.MEDIA_NEXT")]
189 public const string STOCK_MEDIA_NEXT
;
190 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.MEDIA_PAUSE")]
191 public const string STOCK_MEDIA_PAUSE
;
192 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.MEDIA_PLAY")]
193 public const string STOCK_MEDIA_PLAY
;
194 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.MEDIA_PREVIOUS")]
195 public const string STOCK_MEDIA_PREVIOUS
;
196 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.MEDIA_RECORD")]
197 public const string STOCK_MEDIA_RECORD
;
198 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.MEDIA_REWIND")]
199 public const string STOCK_MEDIA_REWIND
;
200 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.MEDIA_STOP")]
201 public const string STOCK_MEDIA_STOP
;
202 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.MISSING_IMAGE")]
203 public const string STOCK_MISSING_IMAGE
;
204 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.NETWORK")]
205 public const string STOCK_NETWORK
;
206 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.NEW")]
207 public const string STOCK_NEW
;
208 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.NO")]
209 public const string STOCK_NO
;
210 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.OK")]
211 public const string STOCK_OK
;
212 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.OPEN")]
213 public const string STOCK_OPEN
;
214 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.ORIENTATION_LANDSCAPE")]
215 public const string STOCK_ORIENTATION_LANDSCAPE
;
216 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.ORIENTATION_PORTRAIT")]
217 public const string STOCK_ORIENTATION_PORTRAIT
;
218 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.ORIENTATION_REVERSE_LANDSCAPE")]
219 public const string STOCK_ORIENTATION_REVERSE_LANDSCAPE
;
220 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.ORIENTATION_REVERSE_PORTRAIT")]
221 public const string STOCK_ORIENTATION_REVERSE_PORTRAIT
;
222 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.PAGE_SETUP")]
223 public const string STOCK_PAGE_SETUP
;
224 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.PASTE")]
225 public const string STOCK_PASTE
;
226 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.PREFERENCES")]
227 public const string STOCK_PREFERENCES
;
228 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.PRINT")]
229 public const string STOCK_PRINT
;
230 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.PRINT_ERROR")]
231 public const string STOCK_PRINT_ERROR
;
232 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.PRINT_PAUSED")]
233 public const string STOCK_PRINT_PAUSED
;
234 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.PRINT_PREVIEW")]
235 public const string STOCK_PRINT_PREVIEW
;
236 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.PRINT_REPORT")]
237 public const string STOCK_PRINT_REPORT
;
238 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.PRINT_WARNING")]
239 public const string STOCK_PRINT_WARNING
;
240 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.PROPERTIES")]
241 public const string STOCK_PROPERTIES
;
242 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.QUIT")]
243 public const string STOCK_QUIT
;
244 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.REDO")]
245 public const string STOCK_REDO
;
246 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.REFRESH")]
247 public const string STOCK_REFRESH
;
248 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.REMOVE")]
249 public const string STOCK_REMOVE
;
250 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.REVERT_TO_SAVED")]
251 public const string STOCK_REVERT_TO_SAVED
;
252 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.SAVE")]
253 public const string STOCK_SAVE
;
254 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.SAVE_AS")]
255 public const string STOCK_SAVE_AS
;
256 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.SELECT_ALL")]
257 public const string STOCK_SELECT_ALL
;
258 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.SELECT_COLOR")]
259 public const string STOCK_SELECT_COLOR
;
260 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.SELECT_FONT")]
261 public const string STOCK_SELECT_FONT
;
262 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.SORT_ASCENDING")]
263 public const string STOCK_SORT_ASCENDING
;
264 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.SORT_DESCENDING")]
265 public const string STOCK_SORT_DESCENDING
;
266 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.SPELL_CHECK")]
267 public const string STOCK_SPELL_CHECK
;
268 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.STOP")]
269 public const string STOCK_STOP
;
270 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.STRIKETHROUGH")]
271 public const string STOCK_STRIKETHROUGH
;
272 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.UNDELETE")]
273 public const string STOCK_UNDELETE
;
274 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.UNDERLINE")]
275 public const string STOCK_UNDERLINE
;
276 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.UNDO")]
277 public const string STOCK_UNDO
;
278 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.UNINDENT")]
279 public const string STOCK_UNINDENT
;
280 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.YES")]
281 public const string STOCK_YES
;
282 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.ZOOM_100")]
283 public const string STOCK_ZOOM_100
;
284 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.ZOOM_FIT")]
285 public const string STOCK_ZOOM_FIT
;
286 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.ZOOM_IN")]
287 public const string STOCK_ZOOM_IN
;
288 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.ZOOM_OUT")]
289 public const string STOCK_ZOOM_OUT
;
291 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.add")]
292 public static void stock_add (Gtk
.StockItem
[] items
);
293 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.add_static")]
294 public static void stock_add_static (Gtk
.StockItem
[] items
);
295 [Deprecated (since
= "vala-0.12", replacement
= "Gtk.Stock.list_ids")]
296 public static GLib
.SList
<string> stock_list_ids ();