Mercurial > hg > xemacs-beta
annotate lisp/gtk-widgets.el @ 5640:e6b5c49f9e13
Add autoload cookie to custom-set-face-bold
author | Vin Shelton <acs@xemacs.org> |
---|---|
date | Sun, 08 Jan 2012 22:29:06 -0500 |
parents | 4dee0387b9de |
children |
rev | line source |
---|---|
462 | 1 ;;; gtk-widgets.el --- Import GTK functions into XEmacs |
2 | |
3 ;; Copyright (C) 2000 Free Software Foundation | |
4 | |
5 ;; Maintainer: William Perry <wmperry@gnu.org> | |
6 ;; Keywords: extensions, dumped | |
7 | |
8 ;; This file is part of XEmacs. | |
9 | |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
2081
diff
changeset
|
10 ;; XEmacs is free software: you can redistribute it and/or modify it |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
2081
diff
changeset
|
11 ;; under the terms of the GNU General Public License as published by the |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
2081
diff
changeset
|
12 ;; Free Software Foundation, either version 3 of the License, or (at your |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
2081
diff
changeset
|
13 ;; option) any later version. |
462 | 14 |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
2081
diff
changeset
|
15 ;; XEmacs is distributed in the hope that it will be useful, but WITHOUT |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
2081
diff
changeset
|
16 ;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
2081
diff
changeset
|
17 ;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
2081
diff
changeset
|
18 ;; for more details. |
462 | 19 |
20 ;; You should have received a copy of the GNU General Public License | |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
2081
diff
changeset
|
21 ;; along with XEmacs. If not, see <http://www.gnu.org/licenses/>. |
462 | 22 |
23 ;;; Synched up with: Not in FSF | |
24 | |
25 ;;; Commentary: | |
26 | |
27 ;; This file is dumped with XEmacs. | |
28 | |
29 (eval-and-compile | |
30 (require 'gtk-ffi)) | |
31 | |
502 | 32 (globally-declare-fboundp |
33 '(gtk-import-function-internal | |
34 gtk-call-function gtk-import-variable-internal gtk-ctree-recurse)) | |
35 | |
2081 | 36 (gtk-import-function GtkAccelGroup gtk_accel_group_new) |
37 | |
38 | |
462 | 39 (gtk-import-function GtkType gtk_accel_label_get_type) |
40 (gtk-import-function GtkWidget gtk_accel_label_new GtkString) | |
41 (gtk-import-function guint gtk_accel_label_get_accel_width GtkAccelLabel) | |
42 (gtk-import-function nil gtk_accel_label_set_accel_widget GtkAccelLabel GtkWidget) | |
43 (gtk-import-function gboolean gtk_accel_label_refetch GtkAccelLabel) | |
44 | |
45 | |
46 (gtk-import-function GtkType gtk_adjustment_get_type) | |
47 (gtk-import-function GtkObject gtk_adjustment_new gfloat gfloat gfloat gfloat gfloat gfloat) | |
48 (gtk-import-function nil gtk_adjustment_changed GtkAdjustment) | |
49 (gtk-import-function nil gtk_adjustment_value_changed GtkAdjustment) | |
50 (gtk-import-function nil gtk_adjustment_clamp_page GtkAdjustment gfloat gfloat) | |
51 (gtk-import-function nil gtk_adjustment_set_value GtkAdjustment gfloat) | |
52 | |
53 | |
54 (gtk-import-function GtkType gtk_alignment_get_type) | |
55 (gtk-import-function GtkWidget gtk_alignment_new gfloat gfloat gfloat gfloat) | |
56 (gtk-import-function nil gtk_alignment_set GtkAlignment gfloat gfloat gfloat gfloat) | |
57 | |
58 | |
59 (gtk-import-function GtkType gtk_arrow_get_type) | |
60 (gtk-import-function GtkWidget gtk_arrow_new GtkArrowType GtkShadowType) | |
61 (gtk-import-function nil gtk_arrow_set GtkArrow GtkArrowType GtkShadowType) | |
62 | |
63 | |
64 (gtk-import-function GtkType gtk_aspect_frame_get_type) | |
65 (gtk-import-function GtkWidget gtk_aspect_frame_new GtkString gfloat gfloat gfloat gboolean) | |
66 (gtk-import-function nil gtk_aspect_frame_set GtkAspectFrame gfloat gfloat gfloat gboolean) | |
67 | |
68 | |
69 (gtk-import-function GtkType gtk_bin_get_type) | |
70 | |
71 | |
72 (gtk-import-function GtkType gtk_box_get_type) | |
73 (gtk-import-function nil gtk_box_pack_start | |
74 (GtkBox . box) | |
75 (GtkWidget . child) | |
76 (gboolean . expand) | |
77 (gboolean . fill) | |
78 (guint . padding)) | |
79 | |
80 (gtk-import-function nil gtk_box_pack_end | |
81 (GtkBox . box) | |
82 (GtkWidget . child) | |
83 (gboolean . expand) | |
84 (gboolean . fill) | |
85 (guint . padding)) | |
86 | |
87 (gtk-import-function nil gtk_box_pack_start_defaults | |
88 (GtkBox . box) | |
89 (GtkWidget . child)) | |
90 | |
91 (gtk-import-function nil gtk_box_pack_end_defaults | |
92 (GtkBox . box) | |
93 (GtkWidget . child)) | |
94 | |
95 (gtk-import-function nil gtk_box_set_homogeneous | |
96 (GtkBox . box) | |
97 (gboolean . homogeneous)) | |
98 | |
99 (gtk-import-function nil gtk_box_set_spacing | |
100 (GtkBox . box) | |
101 (gint . spacing)) | |
102 | |
103 (gtk-import-function nil gtk_box_reorder_child | |
104 (GtkBox . box) | |
105 (GtkWidget . child) | |
106 (gint . position)) | |
107 | |
108 ;;;Handcoded in ui-byhand.c... #### FIXME | |
109 ;;;void gtk_box_query_child_packing (GtkBox *box, | |
110 ;;; GtkWidget *child, | |
111 ;;; gboolean *expand, | |
112 ;;; gboolean *fill, | |
113 ;;; guint *padding, | |
114 ;;; GtkPackType *pack_type); | |
115 | |
116 (gtk-import-function nil gtk_box_set_child_packing | |
117 (GtkBox . box) | |
118 (GtkWidget . child) | |
119 (gboolean . expand) | |
120 (gboolean . fill) | |
121 (guint . padding) | |
122 (GtkPackType . pack_type)) | |
123 | |
124 | |
125 (gtk-import-function GtkType gtk_button_get_type) | |
126 (gtk-import-function GtkWidget gtk_button_new) | |
127 (gtk-import-function GtkWidget gtk_button_new_with_label GtkString) | |
128 (gtk-import-function nil gtk_button_pressed GtkButton) | |
129 (gtk-import-function nil gtk_button_released GtkButton) | |
130 (gtk-import-function nil gtk_button_clicked GtkButton) | |
131 (gtk-import-function nil gtk_button_enter GtkButton) | |
132 (gtk-import-function nil gtk_button_leave GtkButton) | |
133 (gtk-import-function nil gtk_button_set_relief GtkButton GtkReliefStyle) | |
134 (gtk-import-function GtkReliefStyle gtk_button_get_relief GtkButton) | |
135 | |
136 (defun gtk-button-new-with-pixmap (glyph) | |
137 "Construct a new GtkButton object with a pixmap." | |
138 (let ((button (gtk-button-new)) | |
139 (pixmap nil)) | |
140 (if (glyphp glyph) | |
141 (setq pixmap (gtk-pixmap-new glyph nil)) | |
142 (setq pixmap glyph)) | |
143 (gtk-widget-show pixmap) | |
144 (gtk-container-add button pixmap) | |
145 button)) | |
146 | |
147 | |
148 (gtk-import-function GtkType gtk_button_box_get_type) | |
149 | |
150 ;Handcoded in ui-byhand.c... #### FIXME | |
151 ;;;void gtk_button_box_get_child_size_default (gint *min_width, gint *min_height); | |
152 ;;;void gtk_button_box_get_child_ipadding_default (gint *ipad_x, gint *ipad_y); | |
153 | |
154 (gtk-import-function nil gtk_button_box_set_child_size_default gint gint) | |
155 (gtk-import-function nil gtk_button_box_set_child_ipadding_default gint gint) | |
156 (gtk-import-function gint gtk_button_box_get_spacing GtkButtonBox) | |
157 (gtk-import-function GtkButtonBoxStyle gtk_button_box_get_layout GtkButtonBox) | |
158 | |
159 ;Handcoded in ui-byhand.c... #### FIXME | |
160 ;;;void gtk_button_box_get_child_size (GtkButtonBox *widget, | |
161 ;;; gint *min_width, gint *min_height); | |
162 ;;;void gtk_button_box_get_child_ipadding (GtkButtonBox *widget, gint *ipad_x, gint *ipad_y); | |
163 | |
164 (gtk-import-function nil gtk_button_box_set_spacing GtkButtonBox gint) | |
165 (gtk-import-function nil gtk_button_box_set_layout GtkButtonBox GtkButtonBoxStyle) | |
166 (gtk-import-function nil gtk_button_box_set_child_size GtkButtonBox gint gint) | |
167 (gtk-import-function nil gtk_button_box_set_child_ipadding GtkButtonBox gint gint) | |
168 | |
169 | |
170 (gtk-import-function GtkType gtk_calendar_get_type) | |
171 (gtk-import-function GtkWidget gtk_calendar_new) | |
172 (gtk-import-function gint gtk_calendar_select_month GtkCalendar guint guint) | |
173 (gtk-import-function nil gtk_calendar_select_day GtkCalendar guint) | |
174 (gtk-import-function gint gtk_calendar_mark_day GtkCalendar guint) | |
175 (gtk-import-function gint gtk_calendar_unmark_day GtkCalendar guint) | |
176 (gtk-import-function nil gtk_calendar_clear_marks GtkCalendar) | |
177 (gtk-import-function nil gtk_calendar_display_options GtkCalendar GtkCalendarDisplayOptions) | |
178 | |
179 ;Handcoded in ui-byhand.c... #### FIXME | |
180 ;void gtk_calendar_get_date (GtkCalendar *calendar, | |
181 ; guint *year, | |
182 ; guint *month, | |
183 ; guint *day); | |
184 | |
185 (gtk-import-function nil gtk_calendar_freeze GtkCalendar) | |
186 (gtk-import-function nil gtk_calendar_thaw GtkCalendar) | |
187 | |
188 | |
189 (gtk-import-function GtkType gtk_check_button_get_type) | |
190 (gtk-import-function GtkWidget gtk_check_button_new) | |
191 (gtk-import-function GtkWidget gtk_check_button_new_with_label GtkString) | |
192 | |
193 | |
194 (gtk-import-function GtkType gtk_check_menu_item_get_type) | |
195 (gtk-import-function GtkWidget gtk_check_menu_item_new) | |
196 (gtk-import-function GtkWidget gtk_check_menu_item_new_with_label GtkString) | |
197 (gtk-import-function nil gtk_check_menu_item_set_active GtkCheckMenuItem gboolean) | |
198 (gtk-import-function nil gtk_check_menu_item_set_show_toggle GtkCheckMenuItem gboolean) | |
199 (gtk-import-function nil gtk_check_menu_item_toggled GtkCheckMenuItem) | |
200 | |
201 | |
202 (gtk-import-function GtkType gtk_clist_get_type) | |
203 (gtk-import-function GtkWidget gtk_clist_new gint) | |
204 | |
205 (gtk-import-function GtkWidget gtk_clist_new_with_titles | |
206 (gint . columns) | |
207 (GtkArrayOfString . titles)) | |
208 | |
209 ;; set adjustments of clist | |
210 (gtk-import-function nil gtk_clist_set_hadjustment GtkCList GtkAdjustment) | |
211 (gtk-import-function nil gtk_clist_set_vadjustment GtkCList GtkAdjustment) | |
212 | |
213 ;; get adjustments of clist | |
214 (gtk-import-function GtkAdjustment gtk_clist_get_hadjustment GtkCList) | |
215 (gtk-import-function GtkAdjustment gtk_clist_get_vadjustment GtkCList) | |
216 | |
217 ;; set the border style of the clist | |
218 (gtk-import-function nil gtk_clist_set_shadow_type GtkCList GtkShadowType) | |
219 | |
220 ;; set the clist's selection mode | |
221 (gtk-import-function nil gtk_clist_set_selection_mode GtkCList GtkSelectionMode) | |
222 | |
223 ;; enable clists reorder ability | |
224 (gtk-import-function nil gtk_clist_set_reorderable GtkCList gboolean) | |
225 (gtk-import-function nil gtk_clist_set_use_drag_icons GtkCList gboolean) | |
226 (gtk-import-function nil gtk_clist_set_button_actions GtkCList guint guint) | |
227 | |
228 ;; freeze all visual updates of the list, and then thaw the list after | |
5384
3889ef128488
Fix misspelled words, and some grammar, across the entire source tree.
Jerry James <james@xemacs.org>
parents:
2081
diff
changeset
|
229 ;; you have made a number of changes and the updates will occur in a |
3889ef128488
Fix misspelled words, and some grammar, across the entire source tree.
Jerry James <james@xemacs.org>
parents:
2081
diff
changeset
|
230 ;; more efficient manner than if you made them on an unfrozen list |
462 | 231 (gtk-import-function nil gtk_clist_freeze GtkCList) |
232 (gtk-import-function nil gtk_clist_thaw GtkCList) | |
233 | |
234 ;; show and hide the column title buttons | |
235 (gtk-import-function nil gtk_clist_column_titles_show GtkCList) | |
236 (gtk-import-function nil gtk_clist_column_titles_hide GtkCList) | |
237 | |
238 ;; set the column title to be a active title (responds to button presses, | |
239 ;; prelights, and grabs keyboard focus), or passive where it acts as just | |
240 ;; a title | |
241 (gtk-import-function nil gtk_clist_column_title_active GtkCList gint) | |
242 (gtk-import-function nil gtk_clist_column_title_passive GtkCList gint) | |
243 (gtk-import-function nil gtk_clist_column_titles_active GtkCList) | |
244 (gtk-import-function nil gtk_clist_column_titles_passive GtkCList) | |
245 | |
246 ;; set the title in the column title button | |
247 (gtk-import-function nil gtk_clist_set_column_title GtkCList gint GtkString) | |
248 | |
249 ;; returns the title of column. Returns NULL if title is not set */ | |
250 (gtk-import-function GtkString gtk_clist_get_column_title GtkCList gint) | |
251 | |
252 ;; set a widget instead of a title for the column title button | |
253 (gtk-import-function nil gtk_clist_set_column_widget GtkCList gint GtkWidget) | |
254 | |
255 ;; returns the column widget | |
256 (gtk-import-function GtkWidget gtk_clist_get_column_widget GtkCList gint) | |
257 | |
258 ;; set the justification on a column | |
259 (gtk-import-function nil gtk_clist_set_column_justification GtkCList gint GtkJustification) | |
260 | |
261 ;; set visibility of a column | |
262 (gtk-import-function nil gtk_clist_set_column_visibility GtkCList gint gboolean) | |
263 | |
264 ;; enable/disable column resize operations by mouse | |
265 (gtk-import-function nil gtk_clist_set_column_resizeable GtkCList gint gboolean) | |
266 | |
267 ;; resize column automatically to its optimal width | |
268 (gtk-import-function nil gtk_clist_set_column_auto_resize GtkCList gint gboolean) | |
269 (gtk-import-function gint gtk_clist_columns_autosize GtkCList) | |
270 | |
271 ;; return the optimal column width, i.e. maximum of all cell widths | |
272 (gtk-import-function gint gtk_clist_optimal_column_width GtkCList gint) | |
273 | |
274 ;; set the pixel width of a column; this is a necessary step in | |
275 ;; creating a CList because otherwise the column width is chozen from | |
276 ;; the width of the column title, which will never be right | |
277 | |
278 (gtk-import-function nil gtk_clist_set_column_width GtkCList gint gint) | |
279 | |
280 ;; set column minimum/maximum width. min/max_width < 0 => no restriction | |
281 (gtk-import-function nil gtk_clist_set_column_min_width GtkCList gint gint) | |
282 (gtk-import-function nil gtk_clist_set_column_max_width GtkCList gint gint) | |
283 | |
284 ;; change the height of the rows, the default (height=0) is | |
285 ;; the hight of the current font. | |
286 (gtk-import-function nil gtk_clist_set_row_height GtkCList guint) | |
287 | |
288 ;; scroll the viewing area of the list to the given column and row; | |
289 ;; row_align and col_align are between 0-1 representing the location the | |
290 ;; row should appear on the screnn, 0.0 being top or left, 1.0 being | |
291 ;; bottom or right; if row or column is -1 then then there is no change | |
292 (gtk-import-function nil gtk_clist_moveto GtkCList gint gint gfloat gfloat) | |
293 | |
294 ;; returns whether the row is visible | |
295 (gtk-import-function GtkVisibility gtk_clist_row_is_visible GtkCList gint) | |
296 | |
297 ;; returns the cell type | |
298 (gtk-import-function GtkCellType gtk_clist_get_cell_type GtkCList gint gint) | |
299 | |
300 ;; sets a given cell's text, replacing it's current contents | |
301 (gtk-import-function nil gtk_clist_set_text GtkCList gint gint GtkString) | |
302 | |
303 ;; for the "get" functions, any of the return pointer can be | |
304 ;; NULL if you are not interested | |
305 ;; | |
306 ;;;Handcoded in ui-byhand.c... #### FIXME | |
307 ;;;gint gtk_clist_get_text (GtkCList *clist, | |
308 ;;; gint row, | |
309 ;;; gint column, | |
310 ;;; gchar **text); | |
311 | |
312 ;; #### BILL!!! Implement these! | |
313 ;; (gtk-import-function nil gtk_clist_get_pixmap) | |
314 ;; (gtk-import-function nil gtk_clist_get_pixtext) | |
315 | |
316 (gtk-import-function nil gtk_clist_set_pixmap | |
317 (GtkCList . clist) | |
318 (gint . row) | |
319 (gint . column) | |
320 (GdkPixmap . pixmap) | |
321 (GdkBitmap . mask)) | |
322 (gtk-import-function nil gtk_clist_set_pixtext | |
323 (GtkCList . clist) | |
324 (gint . row) | |
325 (gint . column) | |
326 (GtkString . text) | |
327 (gint . spacing) | |
328 (GdkPixmap . pixmap) | |
329 (GdkBitmap . mask)) | |
330 | |
331 ;; sets the foreground color of a row, the color must already | |
332 ;; be allocated | |
333 (gtk-import-function nil gtk_clist_set_foreground GtkCList gint GdkColor) | |
334 | |
335 ;; sets the background color of a row, the color must already | |
336 ;; be allocated | |
337 (gtk-import-function nil gtk_clist_set_background GtkCList gint GdkColor) | |
338 | |
339 ;; set / get cell styles | |
340 (gtk-import-function nil gtk_clist_set_cell_style GtkCList gint gint GtkStyle) | |
341 (gtk-import-function GtkStyle gtk_clist_get_cell_style GtkCList gint gint) | |
342 (gtk-import-function nil gtk_clist_set_row_style GtkCList gint GtkStyle) | |
343 (gtk-import-function GtkStyle gtk_clist_get_row_style GtkCList gint) | |
344 | |
345 ;; this sets a horizontal and vertical shift for drawing | |
5384
3889ef128488
Fix misspelled words, and some grammar, across the entire source tree.
Jerry James <james@xemacs.org>
parents:
2081
diff
changeset
|
346 ;; the contents of a cell; it can be positive or negative; |
3889ef128488
Fix misspelled words, and some grammar, across the entire source tree.
Jerry James <james@xemacs.org>
parents:
2081
diff
changeset
|
347 ;; this is particularly useful for indenting items in a column |
462 | 348 (gtk-import-function nil gtk_clist_set_shift GtkCList gint gint gint gint) |
349 | |
350 ;; set/get selectable flag of a single row | |
351 (gtk-import-function nil gtk_clist_set_selectable GtkCList gint gboolean) | |
352 (gtk-import-function gboolean gtk_clist_get_selectable GtkCList gint) | |
353 | |
354 ;; prepend/append returns the index of the row you just added, | |
355 ;; making it easier to append and modify a row | |
356 | |
357 (gtk-import-function gint gtk_clist_prepend | |
358 (GtkCList . clist) | |
359 (GtkArrayOfString . text)) | |
360 | |
361 (gtk-import-function gint gtk_clist_append | |
362 (GtkCList . clist) | |
363 (GtkArrayOfString . text)) | |
364 | |
365 ;; inserts a row at index row and returns the row where it was | |
366 ;; actually inserted (may be different from "row" in auto_sort mode) | |
367 (gtk-import-function gint gtk_clist_insert | |
368 (GtkCList . clist) | |
369 (gint . row) | |
370 (GtkArrayOfString . text)) | |
371 | |
372 ;; removes row at index row | |
373 (gtk-import-function nil gtk_clist_remove GtkCList gint) | |
374 | |
375 ;; sets a arbitrary data pointer for a given row | |
376 (gtk-import-function nil gtk_clist_set_row_data GtkCList gint gpointer) | |
377 | |
378 ;; sets a data pointer for a given row with destroy notification | |
379 ;; #### Need to handle callbacks. | |
380 ;;;void gtk_clist_set_row_data_full (GtkCList *clist, | |
381 ;;; gint row, | |
382 ;;; gpointer data, | |
383 ;;; GtkDestroyNotify destroy); | |
384 | |
385 ;; returns the data set for a row | |
386 (gtk-import-function gpointer gtk_clist_get_row_data GtkCList gint) | |
387 | |
388 ;; givin a data pointer, find the first (and hopefully only!) | |
389 ;; row that points to that data, or -1 if none do | |
390 (gtk-import-function gint gtk_clist_find_row_from_data GtkCList gpointer) | |
391 | |
392 ;; force selection of a row | |
393 (gtk-import-function nil gtk_clist_select_row GtkCList gint gint) | |
394 | |
395 ;; force unselection of a row | |
396 (gtk-import-function nil gtk_clist_unselect_row GtkCList gint gint) | |
397 | |
398 ;; undo the last select/unselect operation | |
399 (gtk-import-function nil gtk_clist_undo_selection GtkCList) | |
400 | |
401 ;; clear the entire list -- this is much faster than removing | |
402 ;; each item with gtk_clist_remove | |
403 (gtk-import-function nil gtk_clist_clear GtkCList) | |
404 | |
405 ;; return the row column corresponding to the x and y coordinates, | |
406 ;; the returned values are only valid if the x and y coordinates | |
407 ;; are respectively to a window == clist->clist_window | |
408 ;; | |
409 ;;;Handcoded in ui-byhand.c... #### FIXME | |
410 ;;;gint gtk_clist_get_selection_info (GtkCList *clist, | |
411 ;;; gint x, | |
412 ;;; gint y, | |
413 ;;; gint *row, | |
414 ;;; gint *column); | |
415 | |
416 ;; in multiple or extended mode, select all rows | |
417 (gtk-import-function nil gtk_clist_select_all GtkCList) | |
418 | |
419 ;; in all modes except browse mode, deselect all rows | |
420 (gtk-import-function nil gtk_clist_unselect_all GtkCList) | |
421 | |
422 ;; swap the position of two rows | |
423 (gtk-import-function nil gtk_clist_swap_rows GtkCList gint gint) | |
424 | |
425 ;; move row from source_row position to dest_row position | |
426 (gtk-import-function nil gtk_clist_row_move GtkCList gint gint) | |
427 | |
428 ;; sets a compare function different to the default | |
429 ;;;void gtk_clist_set_compare_func (GtkCList *clist, | |
430 ;;; GtkCListCompareFunc cmp_func); | |
431 | |
432 ;; the column to sort by | |
433 (gtk-import-function nil gtk_clist_set_sort_column GtkCList gint) | |
434 | |
435 ;; how to sort : ascending or descending | |
436 (gtk-import-function nil gtk_clist_set_sort_type GtkCList GtkSortType) | |
437 | |
438 ;; sort the list with the current compare function | |
439 (gtk-import-function nil gtk_clist_sort GtkCList) | |
440 | |
441 ;; Automatically sort upon insertion | |
442 (gtk-import-function nil gtk_clist_set_auto_sort GtkCList gboolean) | |
443 | |
444 | |
445 ;; ColorSelection | |
446 | |
447 (gtk-import-function GtkType gtk_color_selection_get_type) | |
448 (gtk-import-function GtkWidget gtk_color_selection_new) | |
449 (gtk-import-function nil gtk_color_selection_set_update_policy GtkColorSelection GtkUpdateType) | |
450 (gtk-import-function nil gtk_color_selection_set_opacity GtkColorSelection gint) | |
451 (gtk-import-function nil gtk_color_selection_set_color GtkColorSelection gdouble) | |
452 | |
453 ;;;Handcoded in ui-byhand.c... #### FIXME | |
454 ;void gtk_color_selection_get_color (GtkColorSelection *colorsel, | |
455 ; gdouble *color); | |
456 | |
457 ;; ColorSelectionDialog | |
458 (gtk-import-function GtkType gtk_color_selection_dialog_get_type) | |
459 (gtk-import-function GtkWidget gtk_color_selection_dialog_new GtkString) | |
460 | |
461 | |
462 (gtk-import-function GtkType gtk_combo_get_type) | |
463 (gtk-import-function GtkWidget gtk_combo_new) | |
464 | |
465 ;; the text in the entry must be or not be in the list | |
466 (gtk-import-function nil gtk_combo_set_value_in_list GtkCombo gint gint) | |
467 | |
468 ;; set/unset arrows working for changing the value (can be annoying) | |
469 (gtk-import-function nil gtk_combo_set_use_arrows GtkCombo gint) | |
470 | |
471 ;; up/down arrows change value if current value not in list | |
472 (gtk-import-function nil gtk_combo_set_use_arrows_always GtkCombo gint) | |
473 | |
474 ;; perform case-sensitive compares | |
475 (gtk-import-function nil gtk_combo_set_case_sensitive GtkCombo gint) | |
476 | |
477 ;; call this function on an item if it isn't a label or you | |
478 ;; want it to have a different value to be displayed in the entry | |
479 (gtk-import-function nil gtk_combo_set_item_string GtkCombo GtkItem GtkString) | |
480 | |
481 (gtk-import-function nil gtk_combo_set_popdown_strings | |
482 (GtkCombo . combo) | |
483 (GtkListOfString . strings)) | |
484 | |
485 (gtk-import-function nil gtk_combo_disable_activate GtkCombo) | |
486 | |
487 | |
488 (gtk-import-function GtkType gtk_container_get_type) | |
489 (gtk-import-function nil gtk_container_set_border_width GtkContainer guint) | |
490 (gtk-import-function nil gtk_container_add GtkContainer GtkWidget) | |
491 (gtk-import-function nil gtk_container_remove GtkContainer GtkWidget) | |
492 (gtk-import-function nil gtk_container_set_resize_mode GtkContainer GtkResizeMode) | |
493 (gtk-import-function nil gtk_container_check_resize GtkContainer) | |
494 | |
495 ;; You can emulate this with (mapcar (lambda (x) ..) (gtk-container-children)) | |
496 | |
497 ;;(gtk-import-function nil gtk_container_foreach GtkContainer GtkCallback) | |
498 | |
499 ; I don't think we really want to deal with this... ever. #### FIXME? | |
500 ;void gtk_container_foreach_full (GtkContainer *container, | |
501 ; GtkCallback callback, | |
502 ; GtkCallbackMarshal marshal, | |
503 ; gpointer callback_data, | |
504 ; GtkDestroyNotify notify); | |
505 | |
506 (gtk-import-function GtkListOfObject gtk_container_children | |
507 (GtkContainer . container)) | |
508 | |
509 (gtk-import-function gint gtk_container_focus GtkContainer GtkDirectionType) | |
510 | |
511 ;;; Widget-level methods | |
512 (gtk-import-function nil gtk_container_set_reallocate_redraws GtkContainer gboolean) | |
513 (gtk-import-function nil gtk_container_set_focus_child GtkContainer GtkWidget) | |
514 (gtk-import-function nil gtk_container_set_focus_vadjustment GtkContainer GtkAdjustment) | |
515 (gtk-import-function nil gtk_container_set_focus_hadjustment GtkContainer GtkAdjustment) | |
516 (gtk-import-function nil gtk_container_register_toplevel GtkContainer) | |
517 (gtk-import-function nil gtk_container_unregister_toplevel GtkContainer) | |
518 | |
519 (gtk-import-function GtkListOfObject gtk_container_get_toplevels) | |
520 | |
521 (gtk-import-function nil gtk_container_resize_children GtkContainer) | |
522 (gtk-import-function guint gtk_container_child_type GtkContainer) | |
523 | |
524 ; the `arg_name' argument needs to be a const static string */ | |
525 ;void gtk_container_add_child_arg_type (const gchar *arg_name, | |
526 ; GtkType arg_type, | |
527 ; guint arg_flags, | |
528 ; guint arg_id); | |
529 | |
530 ;/* Allocate a GtkArg array of size nargs that hold the | |
531 ; * names and types of the args that can be used with | |
532 ; * gtk_container_child_getv/gtk_container_child_setv. | |
533 ; * if (arg_flags!=NULL), | |
534 ; * (*arg_flags) will be set to point to a newly allocated | |
535 ; * guint array that holds the flags of the args. | |
536 ; * It is the callers response to do a | |
537 ; * g_free (returned_args); g_free (*arg_flags). | |
538 ; */ | |
539 ;GtkArg* gtk_container_query_child_args (GtkType class_type, | |
540 ; guint32 **arg_flags, | |
541 ; guint *nargs); | |
542 | |
543 ;/* gtk_container_child_getv() sets an arguments type and value, or just | |
544 ; * its type to GTK_TYPE_INVALID. | |
545 ; * if GTK_FUNDAMENTAL_TYPE (arg->type) == GTK_TYPE_STRING, it's the callers | |
546 ; * response to do a g_free (GTK_VALUE_STRING (arg)); | |
547 ; */ | |
548 ;void gtk_container_child_getv (GtkContainer *container, | |
549 ; GtkWidget *child, | |
550 ; guint n_args, | |
551 ; GtkArg *args); | |
552 ;void gtk_container_child_setv (GtkContainer *container, | |
553 ; GtkWidget *child, | |
554 ; guint n_args, | |
555 ; GtkArg *args); | |
556 | |
557 ;/* gtk_container_add_with_args() takes a variable argument list of the form: | |
558 ; * (..., gchar *arg_name, ARG_VALUES, [repeatedly name/value pairs,] NULL) | |
559 ; * where ARG_VALUES type depend on the argument and can consist of | |
560 ; * more than one c-function argument. | |
561 ; */ | |
562 ;void gtk_container_add_with_args (GtkContainer *container, | |
563 ; GtkWidget *widget, | |
564 ; const gchar *first_arg_name, | |
565 ; ...); | |
566 ;void gtk_container_addv (GtkContainer *container, | |
567 ; GtkWidget *widget, | |
568 ; guint n_args, | |
569 ; GtkArg *args); | |
570 ;void gtk_container_child_set (GtkContainer *container, | |
571 ; GtkWidget *child, | |
572 ; const gchar *first_arg_name, | |
573 ; ...); | |
574 | |
575 | |
576 (gtk-import-function GtkType gtk_curve_get_type) | |
577 (gtk-import-function GtkWidget gtk_curve_new) | |
578 (gtk-import-function nil gtk_curve_reset GtkCurve) | |
579 (gtk-import-function nil gtk_curve_set_gamma GtkCurve gfloat) | |
580 (gtk-import-function nil gtk_curve_set_range GtkCurve gfloat gfloat gfloat gfloat) | |
581 | |
582 ;Handcoded in ui-byhand.c... #### FIXME | |
583 ;;void gtk_curve_get_vector (GtkCurve *curve, | |
584 ;; int veclen, gfloat vector[]); | |
585 ;; | |
586 ;;void gtk_curve_set_vector (GtkCurve *curve, | |
587 ;; int veclen, gfloat vector[]); | |
588 | |
589 (gtk-import-function nil gtk_curve_set_curve_type GtkCurve GtkCurveType) | |
590 | |
591 | |
592 (gtk-import-function GtkType gtk_data_get_type) | |
593 | |
594 | |
595 (gtk-import-function GtkType gtk_dialog_get_type) | |
596 (gtk-import-function GtkWidget gtk_dialog_new) | |
597 | |
598 | |
599 (gtk-import-function GtkType gtk_drawing_area_get_type) | |
600 (gtk-import-function GtkWidget gtk_drawing_area_new) | |
601 (gtk-import-function nil gtk_drawing_area_size GtkDrawingArea gint gint) | |
602 | |
603 | |
604 (gtk-import-function GtkType gtk_editable_get_type) | |
605 (gtk-import-function nil gtk_editable_select_region GtkEditable gint gint) | |
606 | |
607 ;;;Handcoded in ui-byhand.c... #### FIXME | |
608 ;;;(gtk-import-function nil gtk_editable_insert_text GtkEditable GtkString gint pointer-to-gint) | |
609 | |
610 (gtk-import-function nil gtk_editable_delete_text GtkEditable gint gint) | |
611 (gtk-import-function GtkString gtk_editable_get_chars GtkEditable gint gint) | |
612 (gtk-import-function nil gtk_editable_cut_clipboard GtkEditable) | |
613 (gtk-import-function nil gtk_editable_copy_clipboard GtkEditable) | |
614 (gtk-import-function nil gtk_editable_paste_clipboard GtkEditable) | |
615 (gtk-import-function nil gtk_editable_claim_selection GtkEditable gboolean guint) | |
616 (gtk-import-function nil gtk_editable_delete_selection GtkEditable) | |
617 (gtk-import-function nil gtk_editable_changed GtkEditable) | |
618 (gtk-import-function nil gtk_editable_set_position GtkEditable gint) | |
619 (gtk-import-function gint gtk_editable_get_position GtkEditable) | |
620 (gtk-import-function nil gtk_editable_set_editable GtkEditable gboolean) | |
621 | |
622 | |
623 (gtk-import-function GtkType gtk_entry_get_type) | |
624 (gtk-import-function GtkWidget gtk_entry_new) | |
625 (gtk-import-function GtkWidget gtk_entry_new_with_max_length guint) | |
626 (gtk-import-function nil gtk_entry_set_text GtkEntry GtkString) | |
627 (gtk-import-function nil gtk_entry_append_text GtkEntry GtkString) | |
628 (gtk-import-function nil gtk_entry_prepend_text GtkEntry GtkString) | |
629 (gtk-import-function nil gtk_entry_set_position GtkEntry gint) | |
630 | |
631 ;; returns a reference to the text | |
632 (gtk-import-function GtkString gtk_entry_get_text GtkEntry) | |
633 (gtk-import-function nil gtk_entry_select_region GtkEntry gint gint) | |
634 (gtk-import-function nil gtk_entry_set_visibility GtkEntry gboolean) | |
635 (gtk-import-function nil gtk_entry_set_editable GtkEntry gboolean) | |
636 | |
637 ;; text is truncated if needed | |
638 (gtk-import-function nil gtk_entry_set_max_length GtkEntry guint) | |
639 | |
640 | |
641 (gtk-import-function GtkType gtk_event_box_get_type) | |
642 (gtk-import-function GtkWidget gtk_event_box_new) | |
643 | |
644 | |
645 (gtk-import-function GtkType gtk_file_selection_get_type) | |
646 (gtk-import-function GtkWidget gtk_file_selection_new GtkString) | |
647 (gtk-import-function nil gtk_file_selection_set_filename GtkFileSelection GtkString) | |
648 (gtk-import-function GtkString gtk_file_selection_get_filename GtkFileSelection) | |
649 (gtk-import-function nil gtk_file_selection_complete GtkFileSelection GtkString) | |
650 (gtk-import-function nil gtk_file_selection_show_fileop_buttons GtkFileSelection) | |
651 (gtk-import-function nil gtk_file_selection_hide_fileop_buttons GtkFileSelection) | |
652 | |
653 | |
654 (gtk-import-function GtkType gtk_fixed_get_type) | |
655 (gtk-import-function GtkWidget gtk_fixed_new) | |
656 (gtk-import-function nil gtk_fixed_put GtkFixed GtkWidget gint gint) | |
657 (gtk-import-function nil gtk_fixed_move GtkFixed GtkWidget gint gint) | |
658 | |
659 | |
660 (gtk-import-function GtkType gtk_font_selection_get_type) | |
661 (gtk-import-function GtkWidget gtk_font_selection_new) | |
662 (gtk-import-function GtkString gtk_font_selection_get_font_name GtkFontSelection) | |
663 ;(gtk-import-function GdkFont gtk_font_selection_get_font GtkFontSelection) | |
664 (gtk-import-function gboolean gtk_font_selection_set_font_name GtkFontSelection GtkString) | |
665 | |
666 | |
667 (gtk-import-function nil gtk_font_selection_set_filter | |
668 (GtkFontSelection . fontsel) | |
669 (GtkFontFilterType . filter_type) | |
670 (GtkFontType . font_type) | |
671 (GtkArrayOfString . foundries) | |
672 (GtkArrayOfString . weights) | |
673 (GtkArrayOfString . slants) | |
674 (GtkArrayOfString . setwidths) | |
675 (GtkArrayOfString . spacings) | |
676 (GtkArrayOfString . charsets)) | |
677 | |
678 (gtk-import-function GtkString gtk_font_selection_get_preview_text GtkFontSelection) | |
679 (gtk-import-function nil gtk_font_selection_set_preview_text GtkFontSelection GtkString) | |
680 | |
681 ;; GtkFontSelectionDialog functions. | |
682 ;; most of these functions simply call the corresponding function in the | |
683 ;; GtkFontSelection. | |
684 | |
685 (gtk-import-function GtkType gtk_font_selection_dialog_get_type) | |
686 (gtk-import-function GtkWidget gtk_font_selection_dialog_new GtkString) | |
687 | |
688 ;; This returns the X Logical Font Description fontname, or NULL if no font | |
689 ;; is selected. Note that there is a slight possibility that the font might not | |
690 ;; have been loaded OK. You should call gtk_font_selection_dialog_get_font() | |
691 ;; to see if it has been loaded OK. | |
692 (gtk-import-function GtkString gtk_font_selection_dialog_get_font_name GtkFontSelectionDialog) | |
693 | |
694 ;; This will return the current GdkFont, or NULL if none is selected or there | |
695 ;; was a problem loading it. Remember to use gdk_font_ref/unref() if you want | |
696 ;; to use the font (in a style, for example) | |
697 ;; GdkFont* gtk_font_selection_dialog_get_font (GtkFontSelectionDialog *fsd); | |
698 | |
699 ;; This sets the currently displayed font. It should be a valid X Logical | |
700 ;; Font Description font name (anything else will be ignored), e.g. | |
701 ;; "-adobe-courier-bold-o-normal--25-*-*-*-*-*-*-*" | |
702 ;; It returns TRUE on success. | |
703 (gtk-import-function gboolean gtk_font_selection_dialog_set_font_name GtkFontSelectionDialog GtkString) | |
704 | |
705 ;; This sets one of the font filters, to limit the fonts shown. The filter_type | |
706 ;; is GTK_FONT_FILTER_BASE or GTK_FONT_FILTER_USER. The font type is a | |
707 ;; combination of the bit flags GTK_FONT_BITMAP, GTK_FONT_SCALABLE and | |
708 ;; GTK_FONT_SCALABLE_BITMAP (or GTK_FONT_ALL for all font types). | |
709 ;; The foundries, weights etc. are arrays of strings containing property | |
710 ;; values, e.g. 'bold', 'demibold', and *MUST* finish with a NULL. | |
711 ;; Standard long names are also accepted, e.g. 'italic' instead of 'i'. | |
712 ;; | |
713 ;; e.g. to allow only fixed-width fonts ('char cell' or 'monospaced') to be | |
714 ;; selected use: | |
715 ;; | |
716 ;;gchar *spacings[] = { "c", "m", NULL }; | |
717 ;;gtk_font_selection_dialog_set_filter (GTK_FONT_SELECTION_DIALOG (fontsel), | |
718 ;; GTK_FONT_FILTER_BASE, GTK_FONT_ALL, | |
719 ;; NULL, NULL, NULL, NULL, spacings, NULL); | |
720 ;; | |
721 ;; to allow only true scalable fonts to be selected use: | |
722 ;; | |
723 ;; gtk_font_selection_dialog_set_filter (GTK_FONT_SELECTION_DIALOG (fontsel), | |
724 ;; GTK_FONT_FILTER_BASE, GTK_FONT_SCALABLE, | |
725 ;; NULL, NULL, NULL, NULL, NULL, NULL); | |
726 | |
727 ;;; #### BILL!!! You can do this by just call | |
728 ;;; gtk_font_selection_set_filter on the appropriate slot of the | |
729 ;;; dialog. Why bother with another function? | |
730 ;;;void gtk_font_selection_dialog_set_filter (GtkFontSelectionDialog *fsd, | |
731 ;;; GtkFontFilterType filter_type, | |
732 ;;; GtkFontType font_type, | |
733 ;;; gchar **foundries, | |
734 ;;; gchar **weights, | |
735 ;;; gchar **slants, | |
736 ;;; gchar **setwidths, | |
737 ;;; gchar **spacings, | |
738 ;;; gchar **charsets); | |
739 | |
740 ;; This returns the text in the preview entry. | |
741 (gtk-import-function GtkString gtk_font_selection_dialog_get_preview_text GtkFontSelectionDialog) | |
742 | |
743 ;; This sets the text in the preview entry. It will be copied by the entry, | |
744 ;; so there's no need to g_strdup() it first. | |
745 (gtk-import-function nil gtk_font_selection_dialog_set_preview_text GtkFontSelectionDialog GtkString) | |
746 | |
747 | |
748 (gtk-import-function GtkType gtk_frame_get_type) | |
749 (gtk-import-function GtkWidget gtk_frame_new GtkString) | |
750 (gtk-import-function nil gtk_frame_set_label GtkFrame GtkString) | |
751 (gtk-import-function nil gtk_frame_set_label_align GtkFrame gfloat gfloat) | |
752 (gtk-import-function nil gtk_frame_set_shadow_type GtkFrame GtkShadowType) | |
753 | |
754 | |
755 (gtk-import-function GtkType gtk_gamma_curve_get_type) | |
756 (gtk-import-function GtkWidget gtk_gamma_curve_new) | |
757 | |
758 | |
759 (gtk-import-function GtkType gtk_handle_box_get_type) | |
760 (gtk-import-function GtkWidget gtk_handle_box_new) | |
761 (gtk-import-function nil gtk_handle_box_set_shadow_type GtkHandleBox GtkShadowType) | |
762 (gtk-import-function nil gtk_handle_box_set_handle_position GtkHandleBox GtkPositionType) | |
763 (gtk-import-function nil gtk_handle_box_set_snap_edge GtkHandleBox GtkPositionType) | |
764 | |
765 | |
766 (gtk-import-function GtkType gtk_hbox_get_type) | |
767 (gtk-import-function GtkWidget gtk_hbox_new gboolean gint) | |
768 | |
769 | |
770 (gtk-import-function GtkType gtk_hbutton_box_get_type) | |
771 (gtk-import-function GtkWidget gtk_hbutton_box_new) | |
772 | |
773 ;; buttons can be added by gtk_container_add() | |
774 (gtk-import-function gint gtk_hbutton_box_get_spacing_default) | |
775 (gtk-import-function nil gtk_hbutton_box_set_spacing_default gint) | |
776 | |
777 (gtk-import-function GtkButtonBoxStyle gtk_hbutton_box_get_layout_default) | |
778 (gtk-import-function nil gtk_hbutton_box_set_layout_default GtkButtonBoxStyle) | |
779 | |
780 | |
781 (gtk-import-function GtkType gtk_hpaned_get_type) | |
782 (gtk-import-function GtkWidget gtk_hpaned_new) | |
783 | |
784 | |
785 (gtk-import-function GtkType gtk_hruler_get_type) | |
786 (gtk-import-function GtkWidget gtk_hruler_new) | |
787 | |
788 | |
789 (gtk-import-function GtkType gtk_hscale_get_type) | |
790 (gtk-import-function GtkWidget gtk_hscale_new GtkAdjustment) | |
791 | |
792 | |
793 (gtk-import-function GtkType gtk_hscrollbar_get_type) | |
794 (gtk-import-function GtkWidget gtk_hscrollbar_new GtkAdjustment) | |
795 | |
796 | |
797 (gtk-import-function GtkType gtk_hseparator_get_type) | |
798 (gtk-import-function GtkWidget gtk_hseparator_new) | |
799 | |
800 | |
801 (gtk-import-function GtkType gtk_input_dialog_get_type) | |
802 (gtk-import-function GtkWidget gtk_input_dialog_new) | |
803 | |
804 | |
805 (gtk-import-function GtkType gtk_invisible_get_type) | |
806 (gtk-import-function GtkWidget gtk_invisible_new) | |
807 | |
808 | |
809 (gtk-import-function GtkType gtk_item_get_type) | |
810 (gtk-import-function nil gtk_item_select GtkItem) | |
811 (gtk-import-function nil gtk_item_deselect GtkItem) | |
812 (gtk-import-function nil gtk_item_toggle GtkItem) | |
813 | |
814 | |
815 (gtk-import-function GtkType gtk_label_get_type) | |
816 (gtk-import-function GtkWidget gtk_label_new GtkString) | |
817 (gtk-import-function nil gtk_label_set_text GtkLabel GtkString) | |
818 (gtk-import-function nil gtk_label_set_justify GtkLabel GtkJustification) | |
819 (gtk-import-function nil gtk_label_set_pattern GtkLabel GtkString) | |
820 (gtk-import-function nil gtk_label_set_line_wrap GtkLabel gboolean) | |
821 | |
822 ;;;Handcoded in ui-byhand.c... #### FIXME | |
823 ;void gtk_label_get (GtkLabel *label, | |
824 ; gchar **str); | |
825 | |
826 ;; Convenience function to set the name and pattern by parsing | |
827 ;; a string with embedded underscores, and return the appropriate | |
828 ;; key symbol for the accelerator. | |
829 (gtk-import-function guint gtk_label_parse_uline GtkLabel GtkString) | |
830 | |
831 | |
832 (gtk-import-function GtkType gtk_layout_get_type) | |
833 (gtk-import-function GtkWidget gtk_layout_new GtkAdjustment GtkAdjustment) | |
834 (gtk-import-function nil gtk_layout_put GtkLayout GtkWidget gint gint) | |
835 (gtk-import-function nil gtk_layout_move GtkLayout GtkWidget gint gint) | |
836 (gtk-import-function nil gtk_layout_set_size GtkLayout guint guint) | |
837 | |
838 (gtk-import-function GtkAdjustment gtk_layout_get_hadjustment GtkLayout) | |
839 (gtk-import-function GtkAdjustment gtk_layout_get_vadjustment GtkLayout) | |
840 (gtk-import-function nil gtk_layout_set_hadjustment GtkLayout GtkAdjustment) | |
841 (gtk-import-function nil gtk_layout_set_vadjustment GtkLayout GtkAdjustment) | |
842 | |
843 ;; These disable and enable moving and repainting the scrolling window | |
844 ;; of the GtkLayout, respectively. If you want to update the layout's | |
845 ;; offsets but do not want it to repaint itself, you should use these | |
846 ;; functions. | |
847 | |
848 ;; - I don't understand these are supposed to work, so I suspect | |
849 ;; - they don't now. OWT 1/20/98 | |
850 | |
851 (gtk-import-function nil gtk_layout_freeze GtkLayout) | |
852 (gtk-import-function nil gtk_layout_thaw GtkLayout) | |
853 | |
854 | |
855 (gtk-import-function GtkType gtk_list_get_type) | |
856 (gtk-import-function GtkWidget gtk_list_new) | |
857 | |
858 (gtk-import-function nil gtk_list_insert_items | |
859 (GtkList . list) | |
860 (GtkListOfObject . items) | |
861 (gint . position)) | |
862 | |
863 (gtk-import-function nil gtk_list_append_items | |
864 (GtkList . list) | |
865 (GtkListOfObject . items)) | |
866 (gtk-import-function nil gtk_list_prepend_items | |
867 (GtkList . list) | |
868 (GtkListOfObject . items)) | |
869 (gtk-import-function nil gtk_list_remove_items | |
870 (GtkList . list) | |
871 (GtkListOfObject . items)) | |
872 (gtk-import-function nil gtk_list_remove_items_no_unref | |
873 (GtkList . list) | |
874 (GtkListOfObject . items)) | |
875 | |
876 (gtk-import-function nil gtk_list_clear_items GtkList gint gint) | |
877 (gtk-import-function nil gtk_list_select_item GtkList gint) | |
878 (gtk-import-function nil gtk_list_unselect_item GtkList gint) | |
879 (gtk-import-function nil gtk_list_select_child GtkList GtkWidget) | |
880 (gtk-import-function nil gtk_list_unselect_child GtkList GtkWidget) | |
881 (gtk-import-function gint gtk_list_child_position GtkList GtkWidget) | |
882 (gtk-import-function nil gtk_list_set_selection_mode GtkList GtkSelectionMode) | |
883 (gtk-import-function nil gtk_list_extend_selection GtkList GtkScrollType gfloat gboolean) | |
884 (gtk-import-function nil gtk_list_start_selection GtkList) | |
885 (gtk-import-function nil gtk_list_end_selection GtkList) | |
886 (gtk-import-function nil gtk_list_select_all GtkList) | |
887 (gtk-import-function nil gtk_list_unselect_all GtkList) | |
888 (gtk-import-function nil gtk_list_scroll_horizontal GtkList GtkScrollType gfloat) | |
889 (gtk-import-function nil gtk_list_scroll_vertical GtkList GtkScrollType gfloat) | |
890 (gtk-import-function nil gtk_list_toggle_add_mode GtkList) | |
891 (gtk-import-function nil gtk_list_toggle_focus_row GtkList) | |
892 (gtk-import-function nil gtk_list_toggle_row GtkList GtkWidget) | |
893 (gtk-import-function nil gtk_list_undo_selection GtkList) | |
894 (gtk-import-function nil gtk_list_end_drag_selection GtkList) | |
895 | |
896 | |
897 (gtk-import-function GtkType gtk_list_item_get_type) | |
898 (gtk-import-function GtkWidget gtk_list_item_new) | |
899 (gtk-import-function GtkWidget gtk_list_item_new_with_label GtkString) | |
900 (gtk-import-function nil gtk_list_item_select GtkListItem) | |
901 (gtk-import-function nil gtk_list_item_deselect GtkListItem) | |
902 | |
903 | |
904 (gtk-import-variable guint gtk_major_version) | |
905 (gtk-import-variable guint gtk_minor_version) | |
906 (gtk-import-variable guint gtk_micro_version) | |
907 (gtk-import-variable guint gtk_interface_age) | |
908 (gtk-import-variable guint gtk_binary_age) | |
909 | |
910 (gtk-import-function GtkString gtk_check_version | |
911 (guint . required_major) | |
912 (guint . required_minor) | |
913 (guint . required_micro)) | |
914 | |
915 (gtk-import-function gboolean gtk_events_pending) | |
916 (gtk-import-function guint gtk_main_level) | |
917 (gtk-import-function nil gtk_main) | |
918 (gtk-import-function nil gtk_main_quit) | |
919 (gtk-import-function gint gtk_main_iteration) | |
920 (gtk-import-function gint gtk_main_iteration_do (gboolean . blocking)) | |
921 (gtk-import-function gint gtk_true) | |
922 (gtk-import-function gint gtk_false) | |
923 | |
924 | |
925 (gtk-import-function GtkType gtk_menu_get_type) | |
926 (gtk-import-function GtkWidget gtk_menu_new) | |
927 | |
928 ;; Wrappers for the Menu Shell operations | |
929 (gtk-import-function nil gtk_menu_append GtkMenu GtkWidget) | |
930 (gtk-import-function nil gtk_menu_prepend GtkMenu GtkWidget) | |
931 (gtk-import-function nil gtk_menu_insert GtkMenu GtkWidget gint) | |
932 | |
933 ;; Display the menu onscreen | |
934 (gtk-import-function nil gtk_menu_popup GtkMenu GtkWidget GtkWidget | |
935 gpointer ;; GtkMenuPositionFunc func | |
936 gpointer | |
937 guint | |
938 guint) | |
939 | |
940 ;; Position the menu according to it's position function. Called | |
941 ;; from gtkmenuitem.c when a menu-item changes its allocation | |
942 (gtk-import-function nil gtk_menu_reposition GtkMenu) | |
943 (gtk-import-function nil gtk_menu_popdown GtkMenu) | |
944 | |
945 ;; Keep track of the last menu item selected. (For the purposes | |
946 ;; of the option menu | |
947 (gtk-import-function GtkWidget gtk_menu_get_active GtkMenu) | |
948 (gtk-import-function nil gtk_menu_set_active GtkMenu guint) | |
949 | |
950 ;; set/get the acclerator group that holds global accelerators (should | |
951 ;; be added to the corresponding toplevel with gtk_window_add_accel_group(). | |
952 (gtk-import-function nil gtk_menu_set_accel_group GtkMenu GtkAccelGroup) | |
953 (gtk-import-function GtkAccelGroup gtk_menu_get_accel_group GtkMenu) | |
954 | |
955 ;; get the accelerator group that is used internally by the menu for | |
956 ;; underline accelerators while the menu is popped up. | |
957 (gtk-import-function GtkAccelGroup gtk_menu_get_uline_accel_group GtkMenu) | |
958 (gtk-import-function GtkAccelGroup gtk_menu_ensure_uline_accel_group GtkMenu) | |
959 | |
960 ;; A reference count is kept for a widget when it is attached to | |
961 ;; a particular widget. This is typically a menu item; it may also | |
962 ;; be a widget with a popup menu - for instance, the Notebook widget. | |
963 (gtk-import-function nil gtk_menu_attach_to_widget GtkMenu GtkWidget gpointer) | |
964 (gtk-import-function nil gtk_menu_detach GtkMenu) | |
965 | |
966 ;; This should be dumped in favor of data set when the menu is popped | |
967 ;; up - that is currently in the ItemFactory code, but should be | |
968 ;; in the Menu code. | |
969 (gtk-import-function GtkWidget gtk_menu_get_attach_widget GtkMenu) | |
970 (gtk-import-function nil gtk_menu_set_tearoff_state GtkMenu gboolean) | |
971 | |
972 ;; This sets the window manager title for the window that | |
973 ;; appears when a menu is torn off | |
974 (gtk-import-function nil gtk_menu_set_title GtkMenu GtkString) | |
975 | |
976 (gtk-import-function nil gtk_menu_reorder_child GtkMenu GtkWidget gint) | |
977 | |
978 | |
979 (gtk-import-function GtkType gtk_menu_bar_get_type) | |
980 (gtk-import-function GtkWidget gtk_menu_bar_new) | |
981 (gtk-import-function nil gtk_menu_bar_append GtkMenuBar GtkWidget) | |
982 (gtk-import-function nil gtk_menu_bar_prepend GtkMenuBar GtkWidget) | |
983 (gtk-import-function nil gtk_menu_bar_insert GtkMenuBar GtkWidget gint) | |
984 (gtk-import-function nil gtk_menu_bar_set_shadow_type GtkMenuBar GtkShadowType) | |
985 | |
986 | |
987 (gtk-import-function GtkType gtk_menu_item_get_type) | |
988 (gtk-import-function GtkWidget gtk_menu_item_new) | |
989 (gtk-import-function GtkWidget gtk_menu_item_new_with_label GtkString) | |
990 (gtk-import-function nil gtk_menu_item_set_submenu GtkMenuItem GtkWidget) | |
991 (gtk-import-function nil gtk_menu_item_remove_submenu GtkMenuItem) | |
992 (gtk-import-function nil gtk_menu_item_set_placement GtkMenuItem GtkSubmenuPlacement) | |
993 (gtk-import-function nil gtk_menu_item_configure GtkMenuItem gint gint) | |
994 (gtk-import-function nil gtk_menu_item_select GtkMenuItem) | |
995 (gtk-import-function nil gtk_menu_item_deselect GtkMenuItem) | |
996 (gtk-import-function nil gtk_menu_item_activate GtkMenuItem) | |
997 (gtk-import-function nil gtk_menu_item_right_justify GtkMenuItem) | |
998 | |
999 | |
1000 (gtk-import-function GtkType gtk_misc_get_type) | |
1001 (gtk-import-function nil gtk_misc_set_alignment | |
1002 (GtkMisc . misc) | |
1003 (gfloat . xalign) | |
1004 (gfloat . yalign)) | |
1005 | |
1006 (gtk-import-function nil gtk_misc_set_padding | |
1007 (GtkMisc . misc) | |
1008 (gint . xpad) | |
1009 (gint . ypad)) | |
1010 | |
1011 | |
1012 (gtk-import-function GtkType gtk_notebook_get_type) | |
1013 (gtk-import-function GtkWidget gtk_notebook_new) | |
1014 (gtk-import-function nil gtk_notebook_append_page GtkNotebook GtkWidget GtkWidget) | |
1015 (gtk-import-function nil gtk_notebook_append_page_menu GtkNotebook GtkWidget GtkWidget GtkWidget) | |
1016 (gtk-import-function nil gtk_notebook_prepend_page GtkNotebook GtkWidget GtkWidget) | |
1017 (gtk-import-function nil gtk_notebook_prepend_page_menu GtkNotebook GtkWidget GtkWidget GtkWidget) | |
1018 (gtk-import-function nil gtk_notebook_insert_page GtkNotebook GtkWidget GtkWidget gint) | |
1019 (gtk-import-function nil gtk_notebook_insert_page_menu GtkNotebook GtkWidget GtkWidget GtkWidget gint) | |
1020 (gtk-import-function nil gtk_notebook_remove_page GtkNotebook gint) | |
1021 | |
1022 ;;query, set current NoteebookPage | |
1023 (gtk-import-function gint gtk_notebook_get_current_page GtkNotebook) | |
1024 (gtk-import-function GtkWidget gtk_notebook_get_nth_page GtkNotebook gint) | |
1025 (gtk-import-function gint gtk_notebook_page_num GtkNotebook GtkWidget) | |
1026 (gtk-import-function nil gtk_notebook_set_page GtkNotebook gint) | |
1027 (gtk-import-function nil gtk_notebook_next_page GtkNotebook) | |
1028 (gtk-import-function nil gtk_notebook_prev_page GtkNotebook) | |
1029 | |
1030 ;; set Notebook, NotebookTab style | |
1031 (gtk-import-function nil gtk_notebook_set_show_border GtkNotebook gboolean) | |
1032 (gtk-import-function nil gtk_notebook_set_show_tabs GtkNotebook gboolean) | |
1033 (gtk-import-function nil gtk_notebook_set_tab_pos GtkNotebook GtkPositionType) | |
1034 (gtk-import-function nil gtk_notebook_set_homogeneous_tabs GtkNotebook gboolean) | |
1035 (gtk-import-function nil gtk_notebook_set_tab_border GtkNotebook guint) | |
1036 (gtk-import-function nil gtk_notebook_set_tab_hborder GtkNotebook guint) | |
1037 (gtk-import-function nil gtk_notebook_set_tab_vborder GtkNotebook guint) | |
1038 (gtk-import-function nil gtk_notebook_set_scrollable GtkNotebook gboolean) | |
1039 | |
1040 ;; enable/disable PopupMenu | |
1041 (gtk-import-function nil gtk_notebook_popup_enable GtkNotebook) | |
1042 (gtk-import-function nil gtk_notebook_popup_disable GtkNotebook) | |
1043 | |
1044 ;; query/set NotebookPage Properties | |
1045 (gtk-import-function GtkWidget gtk_notebook_get_tab_label GtkNotebook GtkWidget) | |
1046 (gtk-import-function nil gtk_notebook_set_tab_label GtkNotebook GtkWidget GtkWidget) | |
1047 (gtk-import-function nil gtk_notebook_set_tab_label_text GtkNotebook GtkWidget GtkString) | |
1048 (gtk-import-function GtkWidget gtk_notebook_get_menu_label GtkNotebook GtkWidget) | |
1049 (gtk-import-function nil gtk_notebook_set_menu_label GtkNotebook GtkWidget GtkWidget) | |
1050 (gtk-import-function nil gtk_notebook_set_menu_label_text GtkNotebook GtkWidget GtkString) | |
1051 | |
1052 ;;;Handcoded in ui-byhand.c... #### FIXME | |
1053 ;;;void gtk_notebook_query_tab_label_packing (GtkNotebook *notebook, | |
1054 ;;; GtkWidget *child, | |
1055 ;;; gboolean *expand, | |
1056 ;;; gboolean *fill, | |
1057 ;;; GtkPackType *pack_type); | |
1058 (gtk-import-function nil gtk_notebook_set_tab_label_packing GtkNotebook GtkWidget gboolean gboolean GtkPackType) | |
1059 | |
1060 (gtk-import-function nil gtk_notebook_reorder_child GtkNotebook GtkWidget gint) | |
1061 | |
1062 | |
1063 (gtk-import-function GtkType gtk_object_get_type) | |
1064 ;(gtk-import-function 'GtkObject gtk_object_newv 'guint 'guint 'GtkArg) | |
1065 (gtk-import-function nil gtk_object_sink GtkObject) | |
1066 (gtk-import-function nil gtk_object_ref GtkObject) | |
1067 (gtk-import-function nil gtk_object_unref GtkObject) | |
1068 | |
1069 ;; Need to implement callbacks better before I can do this. | |
1070 ;;void gtk_object_weakref (GtkObject *object, | |
1071 ;; GtkDestroyNotify notify, | |
1072 ;; gpointer data); | |
1073 ;;void gtk_object_weakunref (GtkObject *object, | |
1074 ;; GtkDestroyNotify notify, | |
1075 ;; gpointer data); | |
1076 | |
1077 (gtk-import-function nil gtk_object_destroy GtkObject) | |
1078 | |
1079 ;; gtk_object_[gs]etv* () are handled by our generic 'get' and 'put' | |
1080 ;; handlers for types of GtkObject | |
1081 | |
1082 | |
1083 (gtk-import-function GtkType gtk_option_menu_get_type) | |
1084 (gtk-import-function GtkWidget gtk_option_menu_new) | |
1085 (gtk-import-function GtkWidget gtk_option_menu_get_menu GtkOptionMenu) | |
1086 (gtk-import-function nil gtk_option_menu_set_menu GtkOptionMenu GtkWidget) | |
1087 (gtk-import-function nil gtk_option_menu_remove_menu GtkOptionMenu) | |
1088 (gtk-import-function nil gtk_option_menu_set_history GtkOptionMenu guint) | |
1089 | |
1090 | |
1091 (gtk-import-function GtkType gtk_packer_get_type) | |
1092 (gtk-import-function GtkWidget gtk_packer_new) | |
1093 (gtk-import-function nil gtk_packer_add_defaults GtkPacker GtkWidget | |
1094 GtkSideType GtkAnchorType GtkPackerOptions) | |
1095 (gtk-import-function nil gtk_packer_add GtkPacker | |
1096 GtkWidget | |
1097 GtkSideType | |
1098 GtkAnchorType | |
1099 GtkPackerOptions | |
1100 guint | |
1101 guint | |
1102 guint | |
1103 guint | |
1104 guint) | |
1105 | |
1106 (gtk-import-function nil gtk_packer_set_child_packing GtkPacker | |
1107 GtkWidget | |
1108 GtkSideType | |
1109 GtkAnchorType | |
1110 GtkPackerOptions | |
1111 guint | |
1112 guint | |
1113 guint | |
1114 guint | |
1115 guint) | |
1116 | |
1117 (gtk-import-function nil gtk_packer_reorder_child GtkPacker GtkWidget gint) | |
1118 (gtk-import-function nil gtk_packer_set_spacing GtkPacker guint) | |
1119 (gtk-import-function nil gtk_packer_set_default_border_width GtkPacker guint) | |
1120 (gtk-import-function nil gtk_packer_set_default_pad GtkPacker guint guint) | |
1121 (gtk-import-function nil gtk_packer_set_default_ipad GtkPacker guint guint) | |
1122 | |
1123 | |
1124 (gtk-import-function GtkType gtk_paned_get_type) | |
1125 (gtk-import-function nil gtk_paned_add1 GtkPaned GtkWidget) | |
1126 (gtk-import-function nil gtk_paned_add2 GtkPaned GtkWidget) | |
1127 (gtk-import-function nil gtk_paned_pack1 GtkPaned GtkWidget gboolean gboolean) | |
1128 (gtk-import-function nil gtk_paned_pack2 GtkPaned GtkWidget gboolean gboolean) | |
1129 (gtk-import-function nil gtk_paned_set_position GtkPaned gint) | |
1130 (gtk-import-function nil gtk_paned_set_handle_size GtkPaned guint) | |
1131 (gtk-import-function nil gtk_paned_set_gutter_size GtkPaned guint) | |
1132 | |
1133 ;; Internal function... do we need to expose this? | |
1134 (gtk-import-function nil gtk_paned_compute_position GtkPaned gint gint gint) | |
1135 | |
1136 | |
1137 (gtk-import-function GtkType gtk_pixmap_get_type) | |
1138 (gtk-import-function GtkWidget gtk_pixmap_new | |
1139 (GdkPixmap . pixmap) | |
1140 (GdkPixmap . mask)) | |
1141 (gtk-import-function nil gtk_pixmap_set | |
1142 (GtkPixmap . object) | |
1143 (GdkPixmap . pixmap) | |
1144 (GdkPixmap . mask)) | |
1145 | |
1146 ;Handcoded in ui-byhand.c... #### FIXME | |
1147 ;;;void gtk_pixmap_get (GtkPixmap *pixmap, | |
1148 ;;; GdkPixmap **val, | |
1149 ;;; GdkBitmap **mask); | |
1150 | |
1151 (gtk-import-function nil gtk_pixmap_set_build_insensitive | |
1152 (GtkPixmap . pixmap) | |
1153 (guint . build)) | |
1154 | |
1155 | |
1156 (gtk-import-function GtkType gtk_plug_get_type) | |
1157 (gtk-import-function GtkWidget gtk_plug_new guint) | |
1158 (gtk-import-function nil gtk_plug_construct GtkPlug guint) | |
1159 | |
1160 | |
1161 (gtk-import-function GtkType gtk_progress_get_type) | |
1162 (gtk-import-function nil gtk_progress_set_show_text GtkProgress gint) | |
1163 (gtk-import-function nil gtk_progress_set_text_alignment GtkProgress gfloat gfloat) | |
1164 (gtk-import-function nil gtk_progress_set_format_string GtkProgress GtkString) | |
1165 (gtk-import-function nil gtk_progress_set_adjustment GtkProgress GtkAdjustment) | |
1166 (gtk-import-function nil gtk_progress_configure GtkProgress gfloat gfloat gfloat) | |
1167 (gtk-import-function nil gtk_progress_set_percentage GtkProgress gfloat) | |
1168 (gtk-import-function nil gtk_progress_set_value GtkProgress gfloat) | |
1169 (gtk-import-function gfloat gtk_progress_get_value GtkProgress) | |
1170 (gtk-import-function nil gtk_progress_set_activity_mode GtkProgress guint) | |
1171 (gtk-import-function GtkString gtk_progress_get_current_text GtkProgress) | |
1172 (gtk-import-function GtkString gtk_progress_get_text_from_value GtkProgress gfloat) | |
1173 (gtk-import-function gfloat gtk_progress_get_current_percentage GtkProgress) | |
1174 (gtk-import-function gfloat gtk_progress_get_percentage_from_value GtkProgress gfloat) | |
1175 | |
1176 | |
1177 (gtk-import-function GtkType gtk_progress_bar_get_type) | |
1178 (gtk-import-function GtkWidget gtk_progress_bar_new) | |
1179 (gtk-import-function GtkWidget gtk_progress_bar_new_with_adjustment GtkAdjustment) | |
1180 (gtk-import-function nil gtk_progress_bar_set_bar_style GtkProgressBar GtkProgressBarStyle) | |
1181 (gtk-import-function nil gtk_progress_bar_set_discrete_blocks GtkProgressBar guint) | |
1182 (gtk-import-function nil gtk_progress_bar_set_activity_step GtkProgressBar guint) | |
1183 (gtk-import-function nil gtk_progress_bar_set_activity_blocks GtkProgressBar guint) | |
1184 (gtk-import-function nil gtk_progress_bar_set_orientation GtkProgressBar GtkProgressBarOrientation) | |
1185 (gtk-import-function nil gtk_progress_bar_update GtkProgressBar gfloat) | |
1186 | |
1187 | |
1188 ;; All of the gpointers below really need to be `GSList *' | |
1189 ;; For now, need to create the first radio button with 'nil' and then use | |
1190 ;; (gtk-radio-button-group first-radio) for the rest. | |
1191 (gtk-import-function GtkType gtk_radio_button_get_type) | |
1192 (gtk-import-function GtkWidget gtk_radio_button_new gpointer) | |
1193 (gtk-import-function GtkWidget gtk_radio_button_new_from_widget GtkRadioButton) | |
1194 (gtk-import-function GtkWidget gtk_radio_button_new_with_label gpointer GtkString) | |
1195 (gtk-import-function GtkWidget gtk_radio_button_new_with_label_from_widget GtkRadioButton GtkString) | |
1196 (gtk-import-function gpointer gtk_radio_button_group GtkRadioButton) | |
1197 (gtk-import-function nil gtk_radio_button_set_group GtkRadioButton gpointer) | |
1198 | |
1199 | |
1200 (gtk-import-function GtkType gtk_radio_menu_item_get_type) | |
1201 | |
1202 ;; #### BILLL!! | |
1203 ;; All of these gpointer args should be GList * | |
1204 (gtk-import-function GtkWidget gtk_radio_menu_item_new gpointer) | |
1205 (gtk-import-function GtkWidget gtk_radio_menu_item_new_with_label gpointer GtkString) | |
1206 (gtk-import-function gpointer gtk_radio_menu_item_group GtkRadioMenuItem) | |
1207 (gtk-import-function nil gtk_radio_menu_item_set_group GtkRadioMenuItem gpointer) | |
1208 | |
1209 | |
1210 (gtk-import-function GtkType gtk_range_get_type) | |
1211 (gtk-import-function GtkAdjustment gtk_range_get_adjustment GtkRange) | |
1212 (gtk-import-function nil gtk_range_set_update_policy GtkRange GtkUpdateType) | |
1213 (gtk-import-function nil gtk_range_set_adjustment GtkRange GtkAdjustment) | |
1214 | |
1215 (gtk-import-function nil gtk_range_draw_background GtkRange) | |
1216 (gtk-import-function nil gtk_range_clear_background GtkRange) | |
1217 (gtk-import-function nil gtk_range_draw_trough GtkRange) | |
1218 (gtk-import-function nil gtk_range_draw_slider GtkRange) | |
1219 (gtk-import-function nil gtk_range_draw_step_forw GtkRange) | |
1220 (gtk-import-function nil gtk_range_draw_step_back GtkRange) | |
1221 (gtk-import-function nil gtk_range_slider_update GtkRange) | |
1222 | |
1223 ;;; #### BILL!!! I think all of these are just for subclassing | |
1224 ;;; widgets, which we will not be able to do. Maybe much later. | |
1225 ;;;gint gtk_range_trough_click (GtkRange *range, | |
1226 ;;; gint x, | |
1227 ;;; gint y, | |
1228 ;;; gfloat *jump_perc); | |
1229 | |
1230 (gtk-import-function nil gtk_range_default_hslider_update GtkRange) | |
1231 (gtk-import-function nil gtk_range_default_vslider_update GtkRange) | |
1232 | |
1233 ;;;gint gtk_range_default_htrough_click (GtkRange *range, | |
1234 ;;; gint x, | |
1235 ;;; gint y, | |
1236 ;;; gfloat *jump_perc); | |
1237 ;;;gint gtk_range_default_vtrough_click (GtkRange *range, | |
1238 ;;; gint x, | |
1239 ;;; gint y, | |
1240 ;;; gfloat *jump_perc); | |
1241 | |
1242 (gtk-import-function nil gtk_range_default_hmotion GtkRange gint gint) | |
1243 (gtk-import-function nil gtk_range_default_vmotion GtkRange gint gint) | |
1244 | |
1245 | |
1246 (gtk-import-function GtkType gtk_ruler_get_type) | |
1247 (gtk-import-function nil gtk_ruler_set_metric GtkRuler GtkMetricType) | |
1248 (gtk-import-function nil gtk_ruler_set_range GtkRuler gfloat gfloat gfloat gfloat) | |
1249 (gtk-import-function nil gtk_ruler_draw_ticks GtkRuler) | |
1250 (gtk-import-function nil gtk_ruler_draw_pos GtkRuler) | |
1251 | |
1252 | |
1253 (gtk-import-function GtkType gtk_scale_get_type) | |
1254 (gtk-import-function nil gtk_scale_set_digits GtkScale gint) | |
1255 (gtk-import-function nil gtk_scale_set_draw_value GtkScale gboolean) | |
1256 (gtk-import-function nil gtk_scale_set_value_pos GtkScale GtkPositionType) | |
1257 (gtk-import-function gint gtk_scale_get_value_width GtkScale) | |
1258 (gtk-import-function nil gtk_scale_draw_value GtkScale) | |
1259 | |
1260 | |
1261 (gtk-import-function GtkType gtk_scrollbar_get_type) | |
1262 | |
1263 | |
1264 (gtk-import-function GtkType gtk_scrolled_window_get_type) | |
1265 (gtk-import-function GtkWidget gtk_scrolled_window_new GtkAdjustment GtkAdjustment) | |
1266 (gtk-import-function nil gtk_scrolled_window_set_hadjustment GtkScrolledWindow GtkAdjustment) | |
1267 (gtk-import-function nil gtk_scrolled_window_set_vadjustment GtkScrolledWindow GtkAdjustment) | |
1268 (gtk-import-function GtkAdjustment gtk_scrolled_window_get_hadjustment GtkScrolledWindow) | |
1269 (gtk-import-function GtkAdjustment gtk_scrolled_window_get_vadjustment GtkScrolledWindow) | |
1270 (gtk-import-function nil gtk_scrolled_window_set_policy GtkScrolledWindow GtkPolicyType GtkPolicyType) | |
1271 (gtk-import-function nil gtk_scrolled_window_set_placement GtkScrolledWindow GtkCornerType) | |
1272 (gtk-import-function nil gtk_scrolled_window_add_with_viewport GtkScrolledWindow GtkWidget) | |
1273 | |
1274 | |
1275 (gtk-import-function GtkType gtk_separator_get_type) | |
1276 | |
1277 | |
1278 (gtk-import-function GtkType gtk_socket_get_type) | |
1279 (gtk-import-function GtkWidget gtk_socket_new) | |
1280 (gtk-import-function nil gtk_socket_steal GtkSocket guint) | |
1281 | |
1282 | |
1283 (gtk-import-function GtkType gtk_table_get_type) | |
1284 (gtk-import-function GtkWidget gtk_table_new guint guint gboolean) | |
1285 (gtk-import-function nil gtk_table_resize GtkTable guint guint) | |
1286 | |
1287 (gtk-import-function nil gtk_table_attach GtkTable GtkWidget | |
1288 guint guint guint guint GtkAttachOptions GtkAttachOptions guint | |
1289 guint) | |
1290 | |
1291 (gtk-import-function nil gtk_table_attach_defaults GtkTable GtkWidget guint guint guint guint) | |
1292 (gtk-import-function nil gtk_table_set_row_spacing GtkTable guint guint) | |
1293 (gtk-import-function nil gtk_table_set_col_spacing GtkTable guint guint) | |
1294 (gtk-import-function nil gtk_table_set_row_spacings GtkTable guint) | |
1295 (gtk-import-function nil gtk_table_set_col_spacings GtkTable guint) | |
1296 (gtk-import-function nil gtk_table_set_homogeneous GtkTable gboolean) | |
1297 | |
1298 | |
1299 (gtk-import-function GtkType gtk_tearoff_menu_item_get_type) | |
1300 (gtk-import-function GtkWidget gtk_tearoff_menu_item_new) | |
1301 | |
1302 | |
1303 (gtk-import-function GtkType gtk_text_get_type) | |
1304 (gtk-import-function GtkWidget gtk_text_new GtkAdjustment GtkAdjustment) | |
1305 (gtk-import-function nil gtk_text_set_editable GtkText gboolean) | |
1306 (gtk-import-function nil gtk_text_set_word_wrap GtkText gint) | |
1307 (gtk-import-function nil gtk_text_set_line_wrap GtkText gint) | |
1308 (gtk-import-function nil gtk_text_set_adjustments GtkText GtkAdjustment GtkAdjustment) | |
1309 (gtk-import-function nil gtk_text_set_point GtkText guint) | |
1310 (gtk-import-function guint gtk_text_get_point GtkText) | |
1311 (gtk-import-function guint gtk_text_get_length GtkText) | |
1312 (gtk-import-function nil gtk_text_freeze GtkText) | |
1313 (gtk-import-function nil gtk_text_thaw GtkText) | |
1314 (gtk-import-function nil gtk_text_insert GtkText GdkFont GdkColor GdkColor GtkString gint) | |
1315 (gtk-import-function nil gtk_text_backward_delete GtkText guint) | |
1316 (gtk-import-function nil gtk_text_forward_delete GtkText guint) | |
1317 | |
1318 | |
1319 (gtk-import-function GtkType gtk_tips_query_get_type) | |
1320 (gtk-import-function GtkWidget gtk_tips_query_new) | |
1321 (gtk-import-function nil gtk_tips_query_start_query GtkTipsQuery) | |
1322 (gtk-import-function nil gtk_tips_query_stop_query GtkTipsQuery) | |
1323 (gtk-import-function nil gtk_tips_query_set_caller GtkTipsQuery GtkWidget) | |
1324 (gtk-import-function nil gtk_tips_query_set_labels GtkTipsQuery GtkString GtkString) | |
1325 | |
1326 | |
1327 (gtk-import-function GtkType gtk_toggle_button_get_type) | |
1328 (gtk-import-function GtkWidget gtk_toggle_button_new) | |
1329 (gtk-import-function GtkWidget gtk_toggle_button_new_with_label GtkString) | |
1330 (gtk-import-function nil gtk_toggle_button_set_mode GtkToggleButton gboolean) | |
1331 (gtk-import-function nil gtk_toggle_button_set_active GtkToggleButton gboolean) | |
1332 (gtk-import-function gboolean gtk_toggle_button_get_active GtkToggleButton) | |
1333 (gtk-import-function nil gtk_toggle_button_toggled GtkToggleButton) | |
1334 | |
1335 | |
1336 (gtk-import-function GtkType gtk_toolbar_get_type) | |
1337 (gtk-import-function GtkWidget gtk_toolbar_new GtkOrientation GtkToolbarStyle) | |
1338 | |
1339 ;; Simple button items | |
1340 ;;; Handcoded in ui-byhand.c... #### FIXME | |
1341 ;;;GtkWidget* gtk_toolbar_append_item (GtkToolbar *toolbar, | |
1342 ;;; const char *text, | |
1343 ;;; const char *tooltip_text, | |
1344 ;;; const char *tooltip_private_text, | |
1345 ;;; GtkWidget *icon, | |
1346 ;;; GtkSignalFunc callback, | |
1347 ;;; gpointer user_data); | |
1348 ;;;GtkWidget* gtk_toolbar_prepend_item (GtkToolbar *toolbar, | |
1349 ;;; const char *text, | |
1350 ;;; const char *tooltip_text, | |
1351 ;;; const char *tooltip_private_text, | |
1352 ;;; GtkWidget *icon, | |
1353 ;;; GtkSignalFunc callback, | |
1354 ;;; gpointer user_data); | |
1355 ;;;GtkWidget* gtk_toolbar_insert_item (GtkToolbar *toolbar, | |
1356 ;;; const char *text, | |
1357 ;;; const char *tooltip_text, | |
1358 ;;; const char *tooltip_private_text, | |
1359 ;;; GtkWidget *icon, | |
1360 ;;; GtkSignalFunc callback, | |
1361 ;;; gpointer user_data, | |
1362 ;;; gint position); | |
1363 | |
1364 ;; Space Items | |
1365 (gtk-import-function nil gtk_toolbar_append_space GtkToolbar) | |
1366 (gtk-import-function nil gtk_toolbar_prepend_space GtkToolbar) | |
1367 (gtk-import-function nil gtk_toolbar_insert_space GtkToolbar gint) | |
1368 | |
1369 ;; Any element type | |
1370 ;; Cannot currently do this! Need to have something similar to | |
1371 ;; GtkCallback in order to deal with this. | |
1372 ;; Of what possible use are these functions? I don't see the | |
1373 ;; difference between them and the _item functions. | |
1374 ;; | |
1375 ;; From looking at the code in gtktoolbar.c, the GtkWidget argument | |
1376 ;; here is ignored!!! | |
1377 '(gtk-import-function GtkWidget gtk_toolbar_append_element GtkToolbar | |
1378 GtkToolbarChildType | |
1379 GtkWidget | |
1380 GtkString | |
1381 GtkString | |
1382 GtkString | |
1383 GtkWidget | |
1384 GtkSignal | |
1385 gpointer) | |
1386 | |
1387 '(gtk-import-function GtkWidget gtk_toolbar_prepend_element GtkToolbar | |
1388 GtkToolbarChildType | |
1389 GtkWidget | |
1390 GtkString | |
1391 GtkString | |
1392 GtkString | |
1393 GtkWidget | |
1394 GtkSignal | |
1395 gpointer) | |
1396 | |
1397 '(gtk-import-function GtkWidget gtk_toolbar_insert_element GtkToolbar | |
1398 GtkToolbarChildType | |
1399 GtkWidget | |
1400 GtkString | |
1401 GtkString | |
1402 GtkString | |
1403 GtkWidget | |
1404 GtkSignal | |
1405 gpointer | |
1406 gint) | |
1407 | |
1408 ;; Generic Widgets | |
1409 (gtk-import-function nil gtk_toolbar_append_widget GtkToolbar GtkWidget GtkString GtkString) | |
1410 (gtk-import-function nil gtk_toolbar_prepend_widget GtkToolbar GtkWidget GtkString GtkString) | |
1411 (gtk-import-function nil gtk_toolbar_insert_widget GtkToolbar GtkWidget GtkString GtkString gint) | |
1412 | |
1413 ;; Style functions | |
1414 (gtk-import-function nil gtk_toolbar_set_orientation GtkToolbar GtkOrientation) | |
1415 (gtk-import-function nil gtk_toolbar_set_style GtkToolbar GtkToolbarStyle) | |
1416 (gtk-import-function nil gtk_toolbar_set_space_size GtkToolbar gint) | |
1417 (gtk-import-function nil gtk_toolbar_set_space_style GtkToolbar GtkToolbarSpaceStyle) | |
1418 (gtk-import-function nil gtk_toolbar_set_tooltips GtkToolbar gint) | |
1419 (gtk-import-function nil gtk_toolbar_set_button_relief GtkToolbar GtkReliefStyle) | |
1420 (gtk-import-function GtkReliefStyle gtk_toolbar_get_button_relief GtkToolbar) | |
1421 | |
1422 | |
1423 (gtk-import-function GtkType gtk_tooltips_get_type) | |
1424 (gtk-import-function GtkObject gtk_tooltips_new) | |
1425 (gtk-import-function nil gtk_tooltips_enable GtkTooltips) | |
1426 (gtk-import-function nil gtk_tooltips_disable GtkTooltips) | |
1427 (gtk-import-function nil gtk_tooltips_set_delay GtkTooltips guint) | |
1428 (gtk-import-function nil gtk_tooltips_set_tip GtkTooltips GtkWidget GtkString GtkString) | |
1429 (gtk-import-function nil gtk_tooltips_set_colors GtkTooltips GdkColor GdkColor) | |
1430 | |
1431 ;;;GtkTooltipsData* gtk_tooltips_data_get (GtkWidget *widget); | |
1432 | |
1433 (gtk-import-function nil gtk_tooltips_force_window GtkTooltips) | |
1434 | |
1435 | |
1436 (gtk-import-function GtkType gtk_tree_get_type) | |
1437 (gtk-import-function GtkWidget gtk_tree_new) | |
1438 | |
1439 (gtk-import-function nil gtk_tree_append | |
1440 (GtkTree . tree) | |
1441 (GtkWidget . tree_item)) | |
1442 (gtk-import-function nil gtk_tree_prepend | |
1443 (GtkTree . tree) | |
1444 (GtkWidget . tree_item)) | |
1445 | |
1446 (gtk-import-function nil gtk_tree_insert | |
1447 (GtkTree . tree) | |
1448 (GtkWidget . tree_item) | |
1449 (gint . position)) | |
1450 | |
1451 (gtk-import-function nil gtk_tree_remove_items | |
1452 (GtkTree . tree) | |
1453 (GtkListOfObject . items)) | |
1454 | |
1455 (gtk-import-function nil gtk_tree_clear_items | |
1456 (GtkTree . tree) | |
1457 (gint . start) | |
1458 (gint . end)) | |
1459 | |
1460 (gtk-import-function nil gtk_tree_select_item | |
1461 (GtkTree . tree) | |
1462 (gint . item)) | |
1463 | |
1464 (gtk-import-function nil gtk_tree_unselect_item | |
1465 (GtkTree . tree) | |
1466 (gint . item)) | |
1467 | |
1468 (gtk-import-function nil gtk_tree_select_child | |
1469 (GtkTree . tree) | |
1470 (GtkWidget . tree_item)) | |
1471 | |
1472 (gtk-import-function nil gtk_tree_unselect_child | |
1473 (GtkTree . tree) | |
1474 (GtkWidget . tree_item)) | |
1475 | |
1476 (gtk-import-function gint gtk_tree_child_position | |
1477 (GtkTree . tree) | |
1478 (GtkWidget . child)) | |
1479 | |
1480 (gtk-import-function nil gtk_tree_set_selection_mode | |
1481 (GtkTree . tree) | |
1482 (GtkSelectionMode . mode)) | |
1483 | |
1484 (gtk-import-function nil gtk_tree_set_view_mode | |
1485 (GtkTree . tree) | |
1486 (GtkTreeViewMode . mode)) | |
1487 | |
1488 (gtk-import-function nil gtk_tree_set_view_lines | |
1489 (GtkTree . tree) | |
1490 (gboolean . flag)) | |
1491 | |
1492 ;; deprecated function, use gtk_container_remove instead. | |
1493 (gtk-import-function nil gtk_tree_remove_item | |
1494 (GtkTree . tree) | |
1495 (GtkWidget . child)) | |
1496 | |
1497 | |
1498 (gtk-import-function GtkType gtk_tree_item_get_type) | |
1499 (gtk-import-function GtkWidget gtk_tree_item_new) | |
1500 (gtk-import-function GtkWidget gtk_tree_item_new_with_label GtkString) | |
1501 (gtk-import-function nil gtk_tree_item_set_subtree GtkTreeItem GtkWidget) | |
1502 (gtk-import-function nil gtk_tree_item_remove_subtree GtkTreeItem) | |
1503 (gtk-import-function nil gtk_tree_item_select GtkTreeItem) | |
1504 (gtk-import-function nil gtk_tree_item_deselect GtkTreeItem) | |
1505 (gtk-import-function nil gtk_tree_item_expand GtkTreeItem) | |
1506 (gtk-import-function nil gtk_tree_item_collapse GtkTreeItem) | |
1507 | |
1508 | |
1509 (gtk-import-function GtkString gtk_type_name GtkType) | |
1510 (gtk-import-function guint gtk_type_from_name GtkString) | |
1511 | |
1512 | |
1513 (gtk-import-function GtkType gtk_vbox_get_type) | |
1514 (gtk-import-function GtkWidget gtk_vbox_new gboolean gint) | |
1515 | |
1516 | |
1517 (gtk-import-function GtkType gtk_vbutton_box_get_type) | |
1518 (gtk-import-function GtkWidget gtk_vbutton_box_new) | |
1519 | |
1520 ;; buttons can be added by gtk_container_add() | |
1521 (gtk-import-function gint gtk_vbutton_box_get_spacing_default) | |
1522 (gtk-import-function nil gtk_vbutton_box_set_spacing_default gint) | |
1523 | |
1524 (gtk-import-function GtkButtonBoxStyle gtk_vbutton_box_get_layout_default) | |
1525 (gtk-import-function nil gtk_vbutton_box_set_layout_default GtkButtonBoxStyle) | |
1526 | |
1527 | |
1528 (gtk-import-function GtkType gtk_viewport_get_type) | |
1529 (gtk-import-function GtkWidget gtk_viewport_new GtkAdjustment GtkAdjustment) | |
1530 (gtk-import-function GtkAdjustment gtk_viewport_get_hadjustment GtkViewport) | |
1531 (gtk-import-function GtkAdjustment gtk_viewport_get_vadjustment GtkViewport) | |
1532 (gtk-import-function nil gtk_viewport_set_hadjustment GtkViewport GtkAdjustment) | |
1533 (gtk-import-function nil gtk_viewport_set_vadjustment GtkViewport GtkAdjustment) | |
1534 (gtk-import-function nil gtk_viewport_set_shadow_type GtkViewport GtkShadowType) | |
1535 | |
1536 | |
1537 (gtk-import-function GtkType gtk_vpaned_get_type) | |
1538 (gtk-import-function GtkWidget gtk_vpaned_new) | |
1539 | |
1540 | |
1541 (gtk-import-function GtkType gtk_vruler_get_type) | |
1542 (gtk-import-function GtkWidget gtk_vruler_new) | |
1543 | |
1544 | |
1545 (gtk-import-function GtkType gtk_vscale_get_type) | |
1546 (gtk-import-function GtkWidget gtk_vscale_new GtkAdjustment) | |
1547 | |
1548 | |
1549 (gtk-import-function GtkType gtk_vscrollbar_get_type) | |
1550 (gtk-import-function GtkWidget gtk_vscrollbar_new GtkAdjustment) | |
1551 | |
1552 | |
1553 (gtk-import-function GtkType gtk_vseparator_get_type) | |
1554 (gtk-import-function GtkWidget gtk_vseparator_new) | |
1555 | |
1556 | |
1557 (gtk-import-function GtkType gtk_widget_get_type) | |
1558 (gtk-import-function nil gtk_widget_ref GtkWidget) | |
1559 (gtk-import-function nil gtk_widget_unref GtkWidget) | |
1560 (gtk-import-function nil gtk_widget_destroy GtkWidget) | |
1561 (gtk-import-function nil gtk_widget_unparent GtkWidget) | |
1562 (gtk-import-function nil gtk_widget_show GtkWidget) | |
1563 (gtk-import-function nil gtk_widget_show_now GtkWidget) | |
1564 (gtk-import-function nil gtk_widget_hide GtkWidget) | |
1565 (gtk-import-function nil gtk_widget_show_all GtkWidget) | |
1566 (gtk-import-function nil gtk_widget_hide_all GtkWidget) | |
1567 (gtk-import-function nil gtk_widget_map GtkWidget) | |
1568 (gtk-import-function nil gtk_widget_unmap GtkWidget) | |
1569 (gtk-import-function nil gtk_widget_realize GtkWidget) | |
1570 (gtk-import-function nil gtk_widget_unrealize GtkWidget) | |
1571 | |
1572 (gtk-import-function nil gtk_widget_queue_draw GtkWidget) | |
1573 (gtk-import-function nil gtk_widget_queue_draw_area GtkWidget gint gint gint gint) | |
1574 (gtk-import-function nil gtk_widget_queue_clear GtkWidget) | |
1575 (gtk-import-function nil gtk_widget_queue_clear_area GtkWidget gint gint gint gint) | |
1576 (gtk-import-function nil gtk_widget_queue_resize GtkWidget) | |
1577 | |
1578 ;;; #### BILL!!! | |
1579 ;(gtk-import-function nil gtk_widget_draw 'GtkWidget 'GdkRectangle) | |
1580 ;(gtk-import-function nil gtk_widget_size_request 'GtkWidget 'GtkRequisition) | |
1581 ;(gtk-import-function nil gtk_widget_size_allocate 'GtkWidget 'GtkAllocation) | |
1582 ;(gtk-import-function nil gtk_widget_get_child_requisition 'GtkWidget 'GtkRequisition) | |
1583 ;(gtk-import-function 'gint gtk_widget_intersect 'GtkWidget 'GdkRectangle 'GdkRectangle) | |
1584 | |
1585 (gtk-import-function nil gtk_widget_draw_focus GtkWidget) | |
1586 (gtk-import-function nil gtk_widget_draw_default GtkWidget) | |
1587 (gtk-import-function nil gtk_widget_add_accelerator GtkWidget GtkString GtkAccelGroup | |
1588 guint guint GtkAccelFlags) | |
1589 (gtk-import-function nil gtk_widget_remove_accelerator GtkWidget GtkAccelGroup guint guint) | |
1590 (gtk-import-function nil gtk_widget_remove_accelerators GtkWidget GtkString gboolean) | |
1591 (gtk-import-function guint gtk_widget_accelerator_signal GtkWidget GtkAccelGroup guint guint) | |
1592 (gtk-import-function nil gtk_widget_lock_accelerators GtkWidget) | |
1593 (gtk-import-function nil gtk_widget_unlock_accelerators GtkWidget) | |
1594 (gtk-import-function gboolean gtk_widget_accelerators_locked GtkWidget) | |
1595 (gtk-import-function gint gtk_widget_event GtkWidget GdkEvent) | |
1596 (gtk-import-function gboolean gtk_widget_activate GtkWidget) | |
1597 (gtk-import-function gboolean gtk_widget_set_scroll_adjustments GtkWidget GtkAdjustment GtkAdjustment) | |
1598 (gtk-import-function nil gtk_widget_reparent GtkWidget GtkWidget) | |
1599 (gtk-import-function nil gtk_widget_popup GtkWidget gint gint) | |
1600 (gtk-import-function nil gtk_widget_grab_focus GtkWidget) | |
1601 (gtk-import-function nil gtk_widget_grab_default GtkWidget) | |
1602 (gtk-import-function nil gtk_widget_set_name GtkWidget GtkString) | |
1603 (gtk-import-function GtkString gtk_widget_get_name GtkWidget) | |
1604 (gtk-import-function nil gtk_widget_set_state GtkWidget GtkStateType) | |
1605 (gtk-import-function nil gtk_widget_set_sensitive GtkWidget gboolean) | |
1606 (gtk-import-function nil gtk_widget_set_app_paintable GtkWidget gboolean) | |
1607 (gtk-import-function nil gtk_widget_set_parent GtkWidget GtkWidget) | |
1608 (gtk-import-function nil gtk_widget_set_parent_window GtkWindow GdkWindow) | |
1609 (gtk-import-function GdkWindow gtk_widget_get_parent_window GtkWidget) | |
1610 (gtk-import-function nil gtk_widget_set_uposition GtkWidget gint gint) | |
1611 (gtk-import-function nil gtk_widget_set_usize GtkWidget gint gint) | |
1612 (gtk-import-function nil gtk_widget_set_events GtkWidget GdkEventMask) | |
1613 (gtk-import-function nil gtk_widget_add_events GtkWidget GdkEventMask) | |
1614 (gtk-import-function nil gtk_widget_set_extension_events GtkWidget GdkExtensionMode) | |
1615 (gtk-import-function GdkExtensionMode gtk_widget_get_extension_events GtkWidget) | |
1616 (gtk-import-function GtkWidget gtk_widget_get_toplevel GtkWidget) | |
1617 (gtk-import-function GtkWidget gtk_widget_get_ancestor GtkWidget guint) | |
1618 (gtk-import-function GdkColormap gtk_widget_get_colormap GtkWidget) | |
1619 (gtk-import-function GdkVisual gtk_widget_get_visual GtkWidget) | |
1620 | |
1621 (gtk-import-function nil gtk_widget_set_colormap GtkWidget GdkColormap) | |
1622 (gtk-import-function nil gtk_widget_set_visual GtkWidget GdkVisual) | |
1623 (gtk-import-function GdkEventMask gtk_widget_get_events GtkWidget) | |
1624 | |
1625 ;;; Hrm - this should return a cons cell. | |
1626 ;;; Handcoded in ui-byhand.c... #### FIXME | |
1627 ;;void gtk_widget_get_pointer (GtkWidget *widget, | |
1628 ;; gint *x, | |
1629 ;; gint *y); | |
1630 | |
1631 (gtk-import-function gboolean gtk_widget_is_ancestor GtkWidget GtkWidget) | |
1632 (gtk-import-function gboolean gtk_widget_hide_on_delete GtkWidget) | |
1633 | |
1634 ;;; Widget styles | |
1635 (gtk-import-function nil gtk_widget_set_style GtkWidget GtkStyle) | |
1636 (gtk-import-function nil gtk_widget_set_rc_style GtkWidget) | |
1637 (gtk-import-function nil gtk_widget_ensure_style GtkWidget) | |
1638 (gtk-import-function GtkStyle gtk_widget_get_style GtkWidget) | |
1639 (gtk-import-function nil gtk_widget_restore_default_style GtkWidget) | |
1640 (gtk-import-function nil gtk_widget_modify_style GtkWidget GtkStyle) | |
1641 | |
1642 (gtk-import-function nil gtk_widget_set_composite_name GtkWidget GtkString) | |
1643 (gtk-import-function GtkString gtk_widget_get_composite_name GtkWidget) | |
1644 (gtk-import-function nil gtk_widget_reset_rc_styles GtkWidget) | |
1645 | |
1646 ;; Push/pop pairs, to change default values upon a widget's creation. | |
1647 ;; This will override the values that got set by the | |
1648 ;; gtk_widget_set_default_* () functions. | |
1649 (gtk-import-function nil gtk_widget_push_style GtkStyle) | |
1650 (gtk-import-function nil gtk_widget_push_colormap GdkColormap) | |
1651 (gtk-import-function nil gtk_widget_push_visual GdkVisual) | |
1652 (gtk-import-function nil gtk_widget_push_composite_child) | |
1653 (gtk-import-function nil gtk_widget_pop_composite_child) | |
1654 (gtk-import-function nil gtk_widget_pop_style) | |
1655 (gtk-import-function nil gtk_widget_pop_colormap) | |
1656 (gtk-import-function nil gtk_widget_pop_visual) | |
1657 | |
1658 ;; Set certain default values to be used at widget creation time. | |
1659 (gtk-import-function nil gtk_widget_set_default_style GtkStyle) | |
1660 (gtk-import-function nil gtk_widget_set_default_colormap GdkColormap) | |
1661 (gtk-import-function nil gtk_widget_set_default_visual GdkVisual) | |
1662 (gtk-import-function GtkStyle gtk_widget_get_default_style) | |
1663 (gtk-import-function GdkColormap gtk_widget_get_default_colormap) | |
1664 (gtk-import-function GdkVisual gtk_widget_get_default_visual) | |
1665 | |
1666 ;; Counterpart to gdk_window_shape_combine_mask. | |
1667 (gtk-import-function nil gtk_widget_shape_combine_mask GtkWidget GdkBitmap gint gint) | |
1668 | |
1669 ;; internal function | |
1670 (gtk-import-function nil gtk_widget_reset_shapes GtkWidget) | |
1671 | |
1672 ;; Compute a widget's path in the form "GtkWindow.MyLabel", and | |
1673 ;; return newly alocated strings. | |
1674 ;; Ignored for now #### BILL!!! | |
1675 ;void gtk_widget_path (GtkWidget *widget, | |
1676 ; guint *path_length, | |
1677 ; gchar **path, | |
1678 ; gchar **path_reversed); | |
1679 ;void gtk_widget_class_path (GtkWidget *widget, | |
1680 ; guint *path_length, | |
1681 ; gchar **path, | |
1682 ; gchar **path_reversed); | |
1683 | |
1684 | |
1685 (gtk-import-function GtkType gtk_window_get_type) | |
1686 (gtk-import-function GtkWidget gtk_window_new GtkWindowType) | |
1687 (gtk-import-function nil gtk_window_set_title GtkWindow GtkString) | |
1688 (gtk-import-function nil gtk_window_set_wmclass GtkWindow GtkString GtkString) | |
1689 (gtk-import-function nil gtk_window_set_policy GtkWindow gint gint gint) | |
1690 (gtk-import-function nil gtk_window_add_accel_group GtkWindow GtkAccelGroup) | |
1691 (gtk-import-function nil gtk_window_remove_accel_group GtkWindow GtkAccelGroup) | |
1692 (gtk-import-function nil gtk_window_set_position GtkWindow GtkWindowPosition) | |
1693 (gtk-import-function gint gtk_window_activate_focus GtkWindow) | |
1694 (gtk-import-function gint gtk_window_activate_default GtkWindow) | |
1695 (gtk-import-function nil gtk_window_set_transient_for GtkWindow GtkWindow) | |
1696 ;(gtk-import-function nil gtk_window_set_geometry_hints GtkWindow GtkWidget GdkGeometry GdkWindowHints) | |
1697 (gtk-import-function nil gtk_window_set_default_size GtkWindow gint gint) | |
1698 (gtk-import-function nil gtk_window_set_modal GtkWindow gboolean) | |
1699 | |
1700 ;; Internal functions - do we really want to expose these? | |
1701 ;; NO | |
1702 '(gtk-import-function nil gtk_window_set_focus GtkWindow GtkWidget) | |
1703 '(gtk-import-function nil gtk_window_set_default GtkWindow GtkWidget) | |
1704 '(gtk-import-function nil gtk_window_remove_embedded_xid GtkWindow guint) | |
1705 '(gtk-import-function nil gtk_window_add_embedded_xid GtkWindow guint) | |
1706 '(gtk-import-function nil gtk_window_reposition GtkWindow gint gint) | |
1707 | |
1708 | |
1709 (gtk-import-function GtkType gtk_spin_button_get_type) | |
1710 (gtk-import-function nil gtk_spin_button_configure | |
1711 (GtkSpinButton . spin_button) | |
1712 (GtkAdjustment . adjustment) | |
1713 (gfloat . climb_rate) | |
1714 (guint . digits)) | |
1715 (gtk-import-function GtkWidget gtk_spin_button_new | |
1716 (GtkAdjustment . adjustment) | |
1717 (gfloat . climb_rate) | |
1718 (guint . digits)) | |
1719 (gtk-import-function nil gtk_spin_button_set_adjustment | |
1720 (GtkSpinButton . spin_button) | |
1721 (GtkAdjustment . adjustment)) | |
1722 (gtk-import-function GtkAdjustment gtk_spin_button_get_adjustment | |
1723 (GtkSpinButton . spin_button)) | |
1724 (gtk-import-function nil gtk_spin_button_set_digits | |
1725 (GtkSpinButton . spin_button) | |
1726 (guint . digits)) | |
1727 (gtk-import-function gfloat gtk_spin_button_get_value_as_float | |
1728 (GtkSpinButton . spin_button)) | |
1729 (gtk-import-function gint gtk_spin_button_get_value_as_int | |
1730 (GtkSpinButton . spin_button)) | |
1731 (gtk-import-function nil gtk_spin_button_set_value | |
1732 (GtkSpinButton . spin_button) | |
1733 (gfloat . value)) | |
1734 (gtk-import-function nil gtk_spin_button_set_update_policy | |
1735 (GtkSpinButton . spin_button) | |
1736 (GtkSpinButtonUpdatePolicy . policy)) | |
1737 (gtk-import-function nil gtk_spin_button_set_numeric | |
1738 (GtkSpinButton . spin_button) | |
1739 (gboolean . numeric)) | |
1740 (gtk-import-function nil gtk_spin_button_spin | |
1741 (GtkSpinButton . spin_button) | |
1742 (GtkSpinType . direction) | |
1743 (gfloat . increment)) | |
1744 (gtk-import-function nil gtk_spin_button_set_wrap | |
1745 (GtkSpinButton . spin_button) | |
1746 (gboolean . wrap)) | |
1747 (gtk-import-function nil gtk_spin_button_set_shadow_type | |
1748 (GtkSpinButton . spin_button) | |
1749 (GtkShadowType . shadow_type)) | |
1750 (gtk-import-function nil gtk_spin_button_set_snap_to_ticks | |
1751 (GtkSpinButton . spin_button) | |
1752 (gboolean . snap_to_ticks)) | |
1753 (gtk-import-function nil gtk_spin_button_update | |
1754 (GtkSpinButton . spin_button)) | |
1755 | |
1756 | |
1757 (gtk-import-function GtkType gtk_statusbar_get_type) | |
1758 (gtk-import-function GtkWidget gtk_statusbar_new) | |
1759 (gtk-import-function guint gtk_statusbar_get_context_id | |
1760 (GtkStatusbar . statusbar) | |
1761 (GtkString . context_description)) | |
1762 | |
1763 ;; Returns message_id used for gtk_statusbar_remove | |
1764 (gtk-import-function guint gtk_statusbar_push | |
1765 (GtkStatusbar . statusbar) | |
1766 (guint . context_id) | |
1767 (GtkString . text)) | |
1768 (gtk-import-function nil gtk_statusbar_pop | |
1769 (GtkStatusbar . statusbar) | |
1770 (guint . context_id)) | |
1771 (gtk-import-function nil gtk_statusbar_remove | |
1772 (GtkStatusbar . statusbar) | |
1773 (guint . context_id) | |
1774 (guint . message_id)) | |
1775 | |
1776 | |
1777 (gtk-import-function GtkType gtk_ctree_get_type) | |
1778 (gtk-import-function none gtk_ctree_construct | |
1779 (GtkCTree . ctree) | |
1780 (gint . columns) | |
1781 (gint . tree_column) | |
1782 (GtkArrayOfString . titles)) | |
1783 (gtk-import-function GtkWidget gtk_ctree_new_with_titles | |
1784 (gint . columns) | |
1785 (gint . tree_column) | |
1786 (GtkArrayOfString . titles)) | |
1787 (gtk-import-function GtkWidget gtk_ctree_new | |
1788 (gint . columns) | |
1789 (gint . tree_column)) | |
1790 | |
1791 (gtk-import-function GtkCTreeNode gtk_ctree_insert_node | |
1792 (GtkCTree . ctree) | |
1793 (GtkCTreeNode . parent) | |
1794 (GtkCTreeNode . sibling) | |
1795 (GtkArrayOfString . text) | |
1796 (guint . spacing) | |
1797 (GdkPixmap . pixmap_closed) | |
1798 (GdkBitmap . mask_closed) | |
1799 (GdkPixmap . pixmap_opened) | |
1800 (GdkBitmap . mask_opened) | |
1801 (gboolean . is_leaf) | |
1802 (gboolean . expanded)) | |
1803 | |
1804 (gtk-import-function none gtk_ctree_remove_node | |
1805 (GtkCTree . ctree) | |
1806 (GtkCTreeNode . node)) | |
1807 | |
1808 (gtk-import-function none gtk_ctree_expand | |
1809 (GtkCTree . ctree) | |
1810 (GtkCTreeNode . node)) | |
1811 | |
1812 (gtk-import-function none gtk_ctree_move | |
1813 (GtkCTree . ctree) | |
1814 (GtkCTreeNode . node) | |
1815 (GtkCTreeNode . new_parent) | |
1816 (GtkCTreeNode . new_sibling)) | |
1817 | |
1818 (gtk-import-function void gtk_ctree_expand_recursive | |
1819 (GtkCTree . ctree) | |
1820 (GtkCTreeNode . node)) | |
1821 | |
1822 (gtk-import-function void gtk_ctree_expand_to_depth | |
1823 (GtkCTree . ctree) | |
1824 (GtkCTreeNode . node) | |
1825 (gint . depth)) | |
1826 | |
1827 (gtk-import-function void gtk_ctree_collapse | |
1828 (GtkCTree . ctree) | |
1829 (GtkCTreeNode . node)) | |
1830 | |
1831 (gtk-import-function void gtk_ctree_collapse_recursive | |
1832 (GtkCTree . ctree) | |
1833 (GtkCTreeNode . node)) | |
1834 | |
1835 (gtk-import-function void gtk_ctree_collapse_to_depth | |
1836 (GtkCTree . ctree) | |
1837 (GtkCTreeNode . node) | |
1838 (gint . depth)) | |
1839 | |
1840 (gtk-import-function void gtk_ctree_toggle_expansion | |
1841 (GtkCTree . ctree) | |
1842 (GtkCTreeNode . node)) | |
1843 | |
1844 (gtk-import-function void gtk_ctree_toggle_expansion_recursive | |
1845 (GtkCTree . ctree) | |
1846 (GtkCTreeNode . node)) | |
1847 | |
1848 (gtk-import-function void gtk_ctree_select | |
1849 (GtkCTree . ctree) | |
1850 (GtkCTreeNode . node)) | |
1851 | |
1852 (gtk-import-function void gtk_ctree_select_recursive | |
1853 (GtkCTree . ctree) | |
1854 (GtkCTreeNode . node)) | |
1855 | |
1856 (gtk-import-function void gtk_ctree_unselect | |
1857 (GtkCTree . ctree) | |
1858 (GtkCTreeNode . node)) | |
1859 | |
1860 (gtk-import-function void gtk_ctree_unselect_recursive | |
1861 (GtkCTree . ctree) | |
1862 (GtkCTreeNode . node)) | |
1863 | |
1864 ;; NOTE!!! The header file here was WRONG! It had a third arg 'gint state' | |
1865 (gtk-import-function void gtk_ctree_real_select_recursive | |
1866 (GtkCTree . ctree) | |
1867 (GtkCTreeNode . node)) | |
1868 | |
1869 ;; Analogs of GtkCList functions | |
1870 (gtk-import-function void gtk_ctree_node_set_text | |
1871 (GtkCTree . ctree) | |
1872 (GtkCTreeNode . node) | |
1873 (gint . column) | |
1874 (GtkString . text)) | |
1875 | |
1876 (gtk-import-function void gtk_ctree_node_set_pixmap | |
1877 (GtkCTree . ctree) | |
1878 (GtkCTreeNode . node) | |
1879 (gint . column) | |
1880 (GdkPixmap . pixmap) | |
1881 (GdkBitmap . mask)) | |
1882 | |
1883 (gtk-import-function void gtk_ctree_node_set_pixtext | |
1884 (GtkCTree . ctree) | |
1885 (GtkCTreeNode . node) | |
1886 (gint . column) | |
1887 (GtkString . text) | |
1888 (guint . spacing) | |
1889 (GdkPixmap . pixmap) | |
1890 (GdkBitmap . mask)) | |
1891 | |
1892 (gtk-import-function void gtk_ctree_set_node_info | |
1893 (GtkCTree . ctree) | |
1894 (GtkCTreeNode . node) | |
1895 (GtkString . text) | |
1896 (guint . spacing) | |
1897 (GdkPixmap . pixmap_closed) | |
1898 (GdkBitmap . mask_closed) | |
1899 (GdkPixmap . pixmap_opened) | |
1900 (GdkBitmap . mask_opened) | |
1901 (gboolean . is_leaf) | |
1902 (gboolean . expanded)) | |
1903 | |
1904 (gtk-import-function void gtk_ctree_node_set_shift | |
1905 (GtkCTree . ctree) | |
1906 (GtkCTreeNode . node) | |
1907 (gint . column) | |
1908 (gint . vertical) | |
1909 (gint . horizontal)) | |
1910 | |
1911 (gtk-import-function void gtk_ctree_node_set_selectable | |
1912 (GtkCTree . ctree) | |
1913 (GtkCTreeNode . node) | |
1914 (gboolean . selectable)) | |
1915 | |
1916 (gtk-import-function gboolean gtk_ctree_node_get_selectable | |
1917 (GtkCTree . ctree) | |
1918 (GtkCTreeNode . node)) | |
1919 | |
1920 (gtk-import-function GtkCellType gtk_ctree_node_get_cell_type | |
1921 (GtkCTree . ctree) | |
1922 (GtkCTreeNode . node) | |
1923 (gint . column)) | |
1924 | |
1925 (gtk-import-function void gtk_ctree_node_set_row_style | |
1926 (GtkCTree . ctree) | |
1927 (GtkCTreeNode . node) | |
1928 (GtkStyle . style)) | |
1929 | |
1930 (gtk-import-function GtkStyle gtk_ctree_node_get_row_style | |
1931 (GtkCTree . ctree) | |
1932 (GtkCTreeNode . node)) | |
1933 | |
1934 (gtk-import-function void gtk_ctree_node_set_cell_style | |
1935 (GtkCTree . ctree) | |
1936 (GtkCTreeNode . node) | |
1937 (gint . column) | |
1938 (GtkStyle . style)) | |
1939 | |
1940 (gtk-import-function GtkStyle gtk_ctree_node_get_cell_style | |
1941 (GtkCTree . ctree) | |
1942 (GtkCTreeNode . node) | |
1943 (gint . column)) | |
1944 | |
1945 (gtk-import-function void gtk_ctree_node_set_foreground | |
1946 (GtkCTree . ctree) | |
1947 (GtkCTreeNode . node) | |
1948 (GdkColor . color)) | |
1949 | |
1950 (gtk-import-function void gtk_ctree_node_set_background | |
1951 (GtkCTree . ctree) | |
1952 (GtkCTreeNode . node) | |
1953 (GdkColor . color)) | |
1954 | |
1955 (gtk-import-function void gtk_ctree_node_moveto | |
1956 (GtkCTree . ctree) | |
1957 (GtkCTreeNode . node) | |
1958 (gint . column) | |
1959 (gfloat . row_align) | |
1960 (gfloat . col_align)) | |
1961 | |
1962 (gtk-import-function GtkVisibility gtk_ctree_node_is_visible | |
1963 (GtkCTree . ctree) | |
1964 (GtkCTreeNode . node)) | |
1965 | |
1966 ;; GtkCTree specific functions | |
1967 (gtk-import-function void gtk_ctree_set_indent | |
1968 (GtkCTree . ctree) | |
1969 (gint . indent)) | |
1970 | |
1971 (gtk-import-function void gtk_ctree_set_spacing | |
1972 (GtkCTree . ctree) | |
1973 (gint . spacing)) | |
1974 | |
1975 (gtk-import-function void gtk_ctree_set_show_stub | |
1976 (GtkCTree . ctree) | |
1977 (gboolean . show_stub)) | |
1978 | |
1979 (gtk-import-function void gtk_ctree_set_line_style | |
1980 (GtkCTree . ctree) | |
1981 (GtkCTreeLineStyle . line_style)) | |
1982 | |
1983 (gtk-import-function void gtk_ctree_set_expander_style | |
1984 (GtkCTree . ctree) | |
1985 (GtkCTreeExpanderStyle . expander_style)) | |
1986 | |
1987 ;; Tree sorting functions | |
1988 (gtk-import-function void gtk_ctree_sort_node | |
1989 (GtkCTree . ctree) | |
1990 (GtkCTreeNode . node)) | |
1991 | |
1992 (gtk-import-function void gtk_ctree_sort_recursive | |
1993 (GtkCTree . ctree) | |
1994 (GtkCTreeNode . node)) | |
1995 | |
1996 ;; Finding tree information | |
1997 (gtk-import-function gboolean gtk_ctree_is_viewable | |
1998 (GtkCTree . ctree) | |
1999 (GtkCTreeNode . node)) | |
2000 (gtk-import-function GtkCTreeNode gtk_ctree_last | |
2001 (GtkCTree . ctree) | |
2002 (GtkCTreeNode . node)) | |
2003 (gtk-import-function GtkCTreeNode gtk_ctree_find_node_ptr | |
2004 (GtkCTree . ctree) | |
2005 (GtkCTreeRow . ctree_row)) | |
2006 (gtk-import-function GtkCTreeNode gtk_ctree_node_nth | |
2007 (GtkCTree . ctree) | |
2008 (guint . row)) | |
2009 (gtk-import-function gboolean gtk_ctree_find | |
2010 (GtkCTree . ctree) | |
2011 (GtkCTreeNode . node) | |
2012 (GtkCTreeNode . child)) | |
2013 (gtk-import-function gboolean gtk_ctree_is_ancestor | |
2014 (GtkCTree . ctree) | |
2015 (GtkCTreeNode . node) | |
2016 (GtkCTreeNode . child)) | |
2017 (gtk-import-function gboolean gtk_ctree_is_hot_spot | |
2018 (GtkCTree . ctree) | |
2019 (gint . x) | |
2020 (gint . y)) | |
2021 | |
2022 (defun gtk-ctree-post-recursive (ctree node func data) | |
2023 (gtk-ctree-recurse ctree node func data t nil)) | |
2024 | |
2025 (defun gtk-ctree-post-recursive-to-depth (ctree node depth func data) | |
2026 (gtk-ctree-recurse ctree node func data t depth)) | |
2027 | |
2028 (defun gtk-ctree-pre-recursive (ctree node func data) | |
2029 (gtk-ctree-recurse ctree node func data nil nil)) | |
2030 | |
2031 (defun gtk-ctree-pre-recursive-to-depth (ctree node depth func data) | |
2032 (gtk-ctree-recurse ctree node func data nil depth)) | |
2033 | |
2034 | |
2035 (gtk-import-function GtkType gtk_preview_get_type) | |
2036 (gtk-import-function void gtk_preview_uninit) | |
2037 (gtk-import-function GtkWidget gtk_preview_new | |
2038 (GtkPreviewType . type)) | |
2039 (gtk-import-function void gtk_preview_size | |
2040 (GtkPreview . preview) | |
2041 (gint . width) | |
2042 (gint . height)) | |
2043 (gtk-import-function void gtk_preview_put | |
2044 (GtkPreview . preview) | |
2045 (GdkWindow . window) | |
2046 (GdkGC . gc) | |
2047 (gint . srcx) | |
2048 (gint . srcy) | |
2049 (gint . destx) | |
2050 (gint . desty) | |
2051 (gint . width) | |
2052 (gint . height)) | |
2053 (gtk-import-function void gtk_preview_draw_row | |
2054 (GtkPreview . preview) | |
2055 (GtkString . data) | |
2056 (gint . x) | |
2057 (gint . y) | |
2058 (gint . w)) | |
2059 (gtk-import-function void gtk_preview_set_expand | |
2060 (GtkPreview . preview) | |
2061 (gboolean . expand)) | |
2062 (gtk-import-function void gtk_preview_set_gamma | |
2063 (double . gamma)) | |
2064 (gtk-import-function void gtk_preview_set_color_cube | |
2065 (guint . nred_shades) | |
2066 (guint . ngreen_shades) | |
2067 (guint . nblue_shades) | |
2068 (guint . ngray_shades)) | |
2069 (gtk-import-function void gtk_preview_set_install_cmap | |
2070 (gboolean . install_cmap)) | |
2071 (gtk-import-function void gtk_preview_set_reserved | |
2072 (gint . nreserved)) | |
2073 ;;;(gtk-import-function void gtk_preview_set_dither | |
2074 ;;; (GtkPreview . preview) | |
2075 ;;; (GdkRgbDither . dither)) | |
2076 | |
2077 (gtk-import-function GdkVisual gtk_preview_get_visual) | |
2078 (gtk-import-function GdkColormap gtk_preview_get_cmap) | |
2079 (gtk-import-function GtkPreviewInfo gtk_preview_get_info) | |
2080 | |
2081 ;; This function reinitializes the preview colormap and visual from | |
2082 ;; the current gamma/color_cube/install_cmap settings. It must only | |
2083 ;; be called if there are no previews or users's of the preview | |
2084 ;; colormap in existence. | |
2085 (gtk-import-function void gtk_preview_reset) |