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