Debian Codegraph @

gtk/src/gtk_docs_override.xml

raw symbols SCIP
1 <root>
2 <substitute_type_name from="GObject" to="Glib::Object" />
3 <substitute_type_name from="GClosure" to="GClosure" />
4 <substitute_type_name from="GMenu" to="Gio::Menu" />
5 <substitute_type_name from="GAction" to="Gio::Action" />
6 <substitute_type_name from="GVariant" to="Glib::Variant" />
7 <substitute_type_name from="GAppInfo" to="Gio::AppInfo" />
8 <substitute_type_name from="GApplication" to="Gio::Application" />
9 <substitute_type_name from="GActionGroup" to="Gio::ActionGroup" />
10 <substitute_type_name from="GActionMap" to="Gio::ActionMap" />
11 <substitute_type_name from="GMenuModel" to="Gio::MenuModel" />
12 <substitute_type_name from="GType" to="GType" />
13 <substitute_type_name from="GError" to="GError" />
14 <substitute_type_name from="GFile" to="Gio::File" />
15 <substitute_type_name from="GIcon" to="Gio::Icon" />
16 <substitute_type_name from="GPermission" to="Gio::Permission" />
17 <substitute_type_name from="GParamSpec" to="GParamSpec" />
18 <substitute_type_name from="GResource" to="Gio::Resource" />
19 <substitute_type_name from="GAsyncResult" to="Gio::AsyncResult" />
20 <substitute_type_name from="GKeyFile" to="Glib::KeyFile" />
21 <substitute_type_name from="GVolume" to="Gio::Volume" />
22 <substitute_type_name from="GMountOperation" to="Gio::MountOperation" />
23 <substitute_type_name from="GFileError" to="Glib::FileError" />
24 <substitute_type_name from="GKeyFileError" to="Glib::KeyFileError" />
25
26 <!-- GdkWindowWindowClass is not wrapped in gtkmm. Don't substitute its enumerator names. -->
27 <substitute_enumerator_name from="GDK_INPUT_ONLY" to="GDK_INPUT_ONLY" />
28 <substitute_enumerator_name from="GDK_INPUT_OUTPUT" to="GDK_INPUT_OUTPUT" />
29 <!-- GSignalFlags is not wrapped in gtkmm. Don't substitute its enumerator names. -->
30 <substitute_enumerator_name from_prefix="G_SIGNAL_" to_prefix="G_SIGNAL_" />
31 <!-- These are preprocessor defines. Don't substitute. -->
32 <substitute_enumerator_name from="GTK_BUILDER_ERROR" to="GTK_BUILDER_ERROR" />
33 <substitute_enumerator_name from="G_MARKUP_ERROR" to="G_MARKUP_ERROR" />
34 <substitute_enumerator_name from="G_FILE_ERROR" to="G_FILE_ERROR" />
35 <substitute_enumerator_name from="G_RESOURCE_ERROR" to="G_RESOURCE_ERROR" />
36 <substitute_enumerator_name from="G_MAXINT" to="G_MAXINT" />
37 <substitute_enumerator_name from="GDK_SELECTION_CLIPBOARD" to="GDK_SELECTION_CLIPBOARD" />
38 <substitute_enumerator_name from="GDK_SELECTION_PRIMARY" to="GDK_SELECTION_PRIMARY" />
39 <substitute_enumerator_name from="GDK_NONE" to="GDK_NONE" />
40 <substitute_enumerator_name from="G_TYPE_STRING" to="G_TYPE_STRING" />
41 <substitute_enumerator_name from="G_TYPE_INT" to="G_TYPE_INT" />
42 <substitute_enumerator_name from="G_TYPE_NONE" to="G_TYPE_NONE" />
43 <substitute_enumerator_name from="GTK_CSS_PROVIDER_ERROR" to="GTK_CSS_PROVIDER_ERROR" />
44 <substitute_enumerator_name from="GDK_TYPE_PIXBUF" to="GDK_TYPE_PIXBUF" />
45 <substitute_enumerator_name from_prefix="GTK_PRINT_SETTINGS_" to_prefix="GTK_PRINT_SETTINGS_" />
46 <substitute_enumerator_name from="GTK_RECENT_MANAGER_ERROR" to="GTK_RECENT_MANAGER_ERROR" />
47 <substitute_enumerator_name from="G_IO_ERROR" to="G_IO_ERROR" />
48 <substitute_enumerator_name from="GDK_CURRENT_TIME" to="GDK_CURRENT_TIME" />
49 <substitute_enumerator_name from="GDK_EVENT_STOP" to="GDK_EVENT_STOP" />
50 <substitute_enumerator_name from="GDK_EVENT_PROPAGATE" to="GDK_EVENT_PROPAGATE" />
51 <substitute_enumerator_name from="GTK_INPUT_ERROR" to="GTK_INPUT_ERROR" />
52 <substitute_enumerator_name from_prefix="GTK_STYLE_PROVIDER_PRIORITY_" to_prefix="GTK_STYLE_PROVIDER_PRIORITY_" />
53 <substitute_enumerator_name from="G_PI" to="G_PI" />
54 <substitute_enumerator_name from="G_TYPE_BOOLEAN" to="G_TYPE_BOOLEAN" />
55 <substitute_enumerator_name from_prefix="GTK_TREE_SORTABLE_" to_prefix="GTK_TREE_SORTABLE_" />
56 <substitute_enumerator_name from="GTK_CAN_FOCUS" to="GTK_CAN_FOCUS" />
57
58 <function name="gtk_box_pack_start">
59 <description>
60 Left side insert a widget to a box.
61 The expand argument to pack_start() or pack_end()
62 controls whether the widgets are laid out in the box to fill in all
63 the extra space in the box so the box is expanded to fill the area
64 allocated to it (%TRUE). Or the box is shrunk to just fit the widgets
65 (%FALSE). Setting @expand to %FALSE will allow you to do right and left
66 justifying of your widgets. Otherwise, they will all expand to fit in
67 the box, and the same effect could be achieved by using only one of
68 pack_start() or pack_end() functions.
69
70 The @fill argument to the pack_start()/pack_end() functions control whether the
71 extra space is allocated to the objects themselves (%TRUE), or as extra
72 padding in the box around these objects (%FALSE). It only has an effect
73 if the @expand argument is also %TRUE.
74
75 The difference between spacing (set when the box is created)
76 and padding (set when elements are packed) is, that spacing is added between
77 objects, and padding is added on either side of an object.
78 </description>
79 </function>
80
81 <function name="gtk_text_view_get_default_attributes">
82 <description>
83 Obtains a copy of the default text attributes. These are the
84 attributes used for text unless a tag overrides them.
85 You&apos;d typically pass the default attributes in to
86 Gtk::TextIter::get_attributes() in order to get the
87 attributes in effect at a given text position.
88 </description>
89 </function>
90
91 <function name="gtk_label_get_label">
92 <return> the text of the label widget.
93 </return>
94 </function>
95
96 <function name="gtk_label_get_text">
97 <return> the text in the label widget.
98 </return>
99 </function>
100
101 <function name="gtk_label_get_layout">
102 <description>
103 Gets the #PangoLayout used to display the label.
104 The layout is useful to e.g. convert text positions to
105 pixel positions, in combination with gtk_label_get_layout_offsets().
106 </description>
107 </function>
108
109 <function name="gtk_notebook_get_tab_label_text">
110 <return>the text of the tab label.
111 </return>
112 </function>
113
114 <function name="gtk_notebook_get_menu_label_text">
115 <return>the text of the tab label.
116 </return>
117 </function>
118
119 <function name="gtk_text_buffer_create_mark">
120 <description>
121 Creates a mark at position @where. The mark can be retrieved by name using
122 gtk_text_buffer_get_mark (). If a mark has left gravity, and text is
123 inserted at the mark&apos;s current location, the mark will be moved to
124 the left of the newly-inserted text. If the mark has right gravity
125 (@left_gravity = %FALSE), the mark will end up on the right of
126 newly-inserted text. The standard left-to-right cursor is a mark
127 with right gravity (when you type, the cursor stays on the right
128 side of the text you&apos;re typing).
129
130 Emits the &quot;mark_set&quot; signal as notification of the mark&apos;s initial
131 placement.
132 </description>
133 </function>
134
135
136 <function name="gtk_text_buffer_delete_mark">
137 <description>
138 Deletes @mark, so that it&apos;s no longer located anywhere in the
139 buffer. Removes the reference the buffer holds to the mark, so if
140 you don't keep a Glib::RefPtr to the mark, it will be freed. Even
141 if the mark isn&apos;t freed, most operations on @mark become
142 invalid. There is no way to undelete a
143 mark. gtk_text_mark_get_deleted () will return TRUE after this
144 function has been called on a mark; gtk_text_mark_get_deleted ()
145 indicates that a mark no longer belongs to a buffer. The &quot;mark_deleted&quot;
146 signal will be emitted as notification after the mark is deleted.
147 </description>
148 </function>
149
150 <function name="gtk_text_iter_get_tags">
151 <description>
152 Returns a list of tags that apply to @iter, in ascending order of
153 priority (highest-priority tags are last).
154 </description>
155 </function>
156
157 <function name="gtk_text_view_get_tabs">
158 <description>
159 Gets the default tabs for @text_view. Tags in the buffer may
160 override the defaults. The returned array will be empty if
161 &quot;standard&quot; (8-space) tabs are used.
162 </description>
163 <return> copy of default tab array, or an empty array if &quot;standard&quot; tabs are used.
164 </return>
165 </function>
166
167 <function name="gtk_accel_label_get_accel_width">
168 <description>
169 Gets the width needed to display this accelerator label. This is used by menus to align all of the Gtk::MenuItem widgets, and shouldn't be needed by applications.
170 </description>
171 <parameters>
172 </parameters>
173 <return> width of this accelerator label.
174 </return>
175 </function>
176
177 <function name="gtk_accel_label_refetch">
178 <description>
179 Recreates the string representing the accelerator keys.
180 </description>
181 <parameters>
182 </parameters>
183 <return> always returns %FALSE.
184 </return>
185 </function>
186
187 <function name="gtk_adjustment_changed">
188 <description>
189 Emits a "changed" signal from the Adjustment. This is typically called by the owner of the Adjustment after it has changed any of the Adjustment fields other than the value.
190 </description>
191 <parameters>
192 </parameters>
193 <return>
194 </return>
195 </function>
196
197 <function name="gtk_adjustment_value_changed">
198 <description>
199 Emits a "value_changed" signal from the Adjustment. This is typically called by the owner of the Adjustment after it has changed the Adjustment value field.
200 </description>
201 <parameters>
202 </parameters>
203 <return>
204 </return>
205 </function>
206
207 <function name="gtk_adjustment_clamp_page">
208 <description>
209 Updates the Adjustment value to ensure that the range between the parameters @lower and @upper is in the current page (i.e. between @value and @value + @page_size). If this range is larger than the page size, then only the start of it will be in the current page. A "changed" signal will be emitted if the value is changed.
210 </description>
211 </function>
212
213 <function name="gtk_adjustment_set_value">
214 <description>
215 Sets the current value of the Adjustment
216 </description>
217 <parameters>
218 <parameter name="adjustment">
219 <parameter_description> Ignored :)
220 </parameter_description>
221 </parameter>
222 <parameter name="value">
223 <parameter_description> The new value of the Adjustment
224 </parameter_description>
225 </parameter>
226 </parameters>
227 <return></return>
228 </function>
229
230 <function name="gtk_alignment_set">
231 <description>
232 Sets the Alignment values.
233 </description>
234 <parameters>
235 <parameter name="alignment">
236 <parameter_description> Ignored :)
237 </parameter_description>
238 </parameter>
239 <parameter name="xalign">
240 <parameter_description> The horizontal alignment of the child of this Alignment, from 0 (left) to 1 (right).
241 </parameter_description>
242 </parameter>
243 <parameter name="yalign">
244 <parameter_description> The vertical alignment of the child of this Alignment, from 0 (top) to 1 (bottom).
245 </parameter_description>
246 </parameter>
247 <parameter name="xscale">
248 <parameter_description> The amount that the child expands horizontally to fill up unused space, from 0 to 1. A value of 0 indicates that the child widget should never expand. A value of 1 indicates that the child widget will expand to fill all the space allocated for the Alignment.
249 </parameter_description>
250 </parameter>
251 <parameter name="yscale">
252 <parameter_description> The amount that the child widget expands vertically to fill up unused space from 0 to 1. The values are similar to @xscale.
253 </parameter_description>
254 </parameter>
255 </parameters>
256 <return></return>
257 </function>
258
259 <function name="gtk_arrow_set">
260 <description>
261 Sets the direction and shadow of this Arrow.
262 </description>
263 <parameters>
264 <parameter name="arrow">
265 <parameter_description> Ignored :)
266 </parameter_description>
267 </parameter>
268 <parameter name="arrow_type">
269 <parameter_description> A Gtk::ArrowType enum describing what arrow type to set this Arrow to.
270 </parameter_description>
271 </parameter>
272 <parameter name="shadow_type">
273 <parameter_description> A Gtk::ShadowType enum describing what shadow type to set this Arrow to.
274 </parameter_description>
275 </parameter>
276 </parameters>
277 <return></return>
278 </function>
279
280
281 <function name="gtk_text_child_anchor_get_widgets">
282 <description>
283 Gets a list of all widgets anchored at this child anchor.
284
285 </description>
286 </function>
287
288
289 <function name="gtk_tree_model_get_path">
290 <description>
291 Returns a #GtkTreePath referenced by @iter.
292
293
294 </description>
295 <parameters>
296 <parameter name="tree_model">
297 <parameter_description> A #GtkTreeModel.
298 </parameter_description>
299 </parameter>
300 <parameter name="iter">
301 <parameter_description> The #GtkTreeIter.
302 </parameter_description>
303 </parameter>
304 </parameters>
305 <return> a #GtkTreePath.
306 </return>
307 </function>
308
309 <!-- Avoid using @ on a parameter name used in a code example,
310 because that confuses doxygen, which then gets the start and end tags out of
311 sequence. -->
312 <function name="gtk_tree_model_rows_reordered">
313 <description>
314 Emits the #GtkTreeModel::rows-reordered signal on @tree_model.
315
316 This should be called by models when their rows have been
317 reordered.
318
319 </description>
320 <parameters>
321 <parameter name="tree_model">
322 <parameter_description> a #GtkTreeModel
323 </parameter_description>
324 </parameter>
325 <parameter name="path">
326 <parameter_description> a #GtkTreePath pointing to the tree node whose children
327 have been reordered
328 </parameter_description>
329 </parameter>
330 <parameter name="iter">
331 <parameter_description> a valid #GtkTreeIter pointing to the node whose children
332 have been reordered, or %NULL if the depth of @path is 0
333 </parameter_description>
334 </parameter>
335 <parameter name="new_order">
336 <parameter_description> an array of integers mapping the current position of
337 each child to its old position before the re-ordering,
338 i.e. new_order&lt;literal&gt;[newpos] = oldpos&lt;/literal&gt;
339 </parameter_description>
340 </parameter>
341 </parameters>
342 <return></return>
343 </function>
344
345
346 <function name="gtk_tree_view_get_columns">
347 <description>
348 Returns a list of all the #GtkTreeViewColumn s currently in @tree_view.
349 </description>
350 </function>
351
352 <function name="gtk_window_get_default_icon_list">
353 <description>
354 Gets the value set by Gtk::Window::set_default_icon_list().
355 </description>
356 </function>
357
358
359 <function name="gtk_window_set_default">
360 <description>
361 The default widget is the widget that&apos;s activated when the user
362 presses Enter in a dialog (for example). This function sets or
363 unsets the default widget for a #GtkWindow. When setting
364 (rather than unsetting) the default widget it&apos;s generally easier to
365 call gtk_widget_grab_focus() on the widget. Before making a widget
366 the default widget, you must set the #GTK_CAN_DEFAULT flag on the
367 widget you&apos;d like to make the default using Gtk::Widget::set_flags().
368
369 </description>
370 <parameters>
371 <parameter name="window">
372 <parameter_description> a #GtkWindow
373 </parameter_description>
374 </parameter>
375 <parameter name="default_widget">
376 <parameter_description> widget to be the default.
377 </parameter_description>
378 </parameter>
379 </parameters>
380 <return></return>
381 </function>
382
383 <function name="gtk_menu_item_set_accel_path">
384 <description>
385 Set the accelerator path on @menu_item, through which runtime changes of the
386 menu item&apos;s accelerator caused by the user can be identified and saved to
387 persistant storage (see gtk_accel_map_save() on this).
388 To setup a default accelerator for this menu item, call
389 gtk_accel_map_add_entry() with the same @accel_path.
390 See also gtk_accel_map_add_entry() on the specifics of accelerator paths,
391 and gtk_menu_set_accel_path() for a more convenient variant of this function.
392
393 This function is basically a convenience wrapper that handles calling
394 gtk_widget_set_accel_path() with the appropriate accelerator group for
395 the menu item.
396
397 Note that you do need to set an accelerator on the parent menu with
398 gtk_menu_set_accel_group() for this to work.
399
400 </description>
401 <parameters>
402 <parameter name="menu_item">
403 <parameter_description> a valid #GtkMenuItem
404 </parameter_description>
405 </parameter>
406 <parameter name="accel_path">
407 <parameter_description> accelerator path, corresponding to this menu item&apos;s
408 functionality.
409 </parameter_description>
410 </parameter>
411 </parameters>
412 <return></return>
413 </function>
414
415 <function name="gtk_notebook_append_page">
416 <parameters>
417 <parameter name="notebook">
418 <parameter_description> a #GtkNotebook
419 </parameter_description>
420 </parameter>
421 <parameter name="child">
422 <parameter_description> the #GtkWidget to use as the contents of the page.
423 </parameter_description>
424 </parameter>
425 <parameter name="tab_label">
426 <parameter_description> the #GtkWidget to be used as the label for the page.
427 </parameter_description>
428 </parameter>
429 </parameters>
430 <return></return>
431 </function>
432
433 <function name="gtk_notebook_append_page_menu">
434 <parameters>
435 <parameter name="notebook">
436 <parameter_description> a #GtkNotebook
437 </parameter_description>
438 </parameter>
439 <parameter name="child">
440 <parameter_description> the #GtkWidget to use as the contents of the page.
441 </parameter_description>
442 </parameter>
443 <parameter name="tab_label">
444 <parameter_description> the #GtkWidget to be used as the label for the page.
445 </parameter_description>
446 </parameter>
447 <parameter name="menu_label">
448 <parameter_description> the widget to use as a label for the page-switch
449 menu.
450 </parameter_description>
451 </parameter>
452 </parameters>
453 <return></return>
454 </function>
455
456 <function name="gtk_notebook_insert_page">
457 <parameters>
458 <parameter name="notebook">
459 <parameter_description> a #GtkNotebook
460 </parameter_description>
461 </parameter>
462 <parameter name="child">
463 <parameter_description> the #GtkWidget to use as the contents of the page.
464 </parameter_description>
465 </parameter>
466 <parameter name="tab_label">
467 <parameter_description> the #GtkWidget to be used as the label for the page.
468 </parameter_description>
469 </parameter>
470 <parameter name="position">
471 <parameter_description> the index (starting at 0) at which to insert the page,
472 or -1 to append the page after all other pages.
473 </parameter_description>
474 </parameter>
475 </parameters>
476 <return></return>
477 </function>
478
479 <function name="gtk_notebook_insert_page_menu">
480 <parameters>
481 <parameter name="notebook">
482 <parameter_description> a #GtkNotebook
483 </parameter_description>
484 </parameter>
485 <parameter name="child">
486 <parameter_description> the #GtkWidget to use as the contents of the page.
487 </parameter_description>
488 </parameter>
489 <parameter name="tab_label">
490 <parameter_description> the #GtkWidget to be used as the label for the page..
491 </parameter_description>
492 </parameter>
493 <parameter name="menu_label">
494 <parameter_description> the widget to use as a label for the page-switch
495 menu.
496 </parameter_description>
497 </parameter>
498 <parameter name="position">
499 <parameter_description> the index (starting at 0) at which to insert the page,
500 or -1 to append the page after all other pages.
501 </parameter_description>
502 </parameter>
503 </parameters>
504 <return></return>
505 </function>
506
507 <function name="gtk_notebook_prepend_page">
508 <parameters>
509 <parameter name="notebook">
510 <parameter_description> a #GtkNotebook
511 </parameter_description>
512 </parameter>
513 <parameter name="child">
514 <parameter_description> the #GtkWidget to use as the contents of the page.
515 </parameter_description>
516 </parameter>
517 <parameter name="tab_label">
518 <parameter_description> the #GtkWidget to be used as the label for the page.
519 </parameter_description>
520 </parameter>
521 </parameters>
522 <return></return>
523 </function>
524
525 <function name="gtk_notebook_prepend_page_menu">
526 <parameters>
527 <parameter name="notebook">
528 <parameter_description> a #GtkNotebook
529 </parameter_description>
530 </parameter>
531 <parameter name="child">
532 <parameter_description> the #GtkWidget to use as the contents of the page.
533 </parameter_description>
534 </parameter>
535 <parameter name="tab_label">
536 <parameter_description> the #GtkWidget to be used as the label for the page.
537 </parameter_description>
538 </parameter>
539 <parameter name="menu_label">
540 <parameter_description> the widget to use as a label for the page-switch
541 menu.
542 </parameter_description>
543 </parameter>
544 </parameters>
545 <return></return>
546 </function>
547
548 <function name="gtk_tree_view_get_background_area">
549 <description>
550 Fills the bounding rectangle in tree window coordinates for the cell at the
551 row specified by @path and the column specified by @column. The returned rectangle is equivalent to the
552 @background_area passed to gtk_cell_renderer_render(). These background
553 areas tile to cover the entire tree window (except for the area used for
554 header buttons). Contrast with the @cell_area, returned by
555 gtk_tree_view_get_cell_area(), which returns only the cell itself, excluding
556 surrounding borders and the tree expander area.
557
558
559 </description>
560 <parameters>
561 <parameter name="tree_view">
562 <parameter_description> a #GtkTreeView
563 </parameter_description>
564 </parameter>
565 <parameter name="path">
566 <parameter_description> a #GtkTreePath for the row.
567 </parameter_description>
568 </parameter>
569 <parameter name="column">
570 <parameter_description> a #GtkTreeViewColumn for the column.
571 </parameter_description>
572 </parameter>
573 <parameter name="rect">
574 <parameter_description> rectangle to fill with cell background rect
575 </parameter_description>
576 </parameter>
577 </parameters>
578 <return></return>
579 </function>
580
581 <function name="gtk_tree_view_get_cell_area">
582 <description>
583 Fills the bounding rectangle in tree window coordinates for the cell at the
584 row specified by @path and the column specified by @column. If @path points to a path not currently displayed, the @y and @height fields
585 of the rectangle will be filled with 0. The sum of all cell rects does not cover the
586 entire tree; there are extra pixels in between rows, for example. The
587 returned rectangle is equivalent to the @cell_area passed to
588 gtk_cell_renderer_render(). This function is only valid if #tree_view is
589 realized.
590
591 </description>
592 <parameters>
593 <parameter name="tree_view">
594 <parameter_description> a #GtkTreeView
595 </parameter_description>
596 </parameter>
597 <parameter name="path">
598 <parameter_description> a #GtkTreePath for the row.
599 </parameter_description>
600 </parameter>
601 <parameter name="column">
602 <parameter_description> a #GtkTreeViewColumn for the column.
603 </parameter_description>
604 </parameter>
605 <parameter name="rect">
606 <parameter_description> rectangle to fill with cell rect
607 </parameter_description>
608 </parameter>
609 </parameters>
610 <return></return>
611 </function>
612
613 <function name="gtk_widget_set_tooltip_markup">
614 <description>
615 Sets @markup as the contents of the tooltip, which is marked up with
616 the &lt;link linkend=&quot;PangoMarkupFormat&quot;&gt;Pango text markup language&lt;/link&gt;.
617
618 This function will take care of setting GtkWidget:has-tooltip to %TRUE
619 and of the default handler for the GtkWidget::query-tooltip signal.
620
621 See also the GtkWidget:tooltip-markup property and
622 gtk_tooltip_set_markup().
623
624 Since: 2.12
625
626 </description>
627 <parameters>
628 <parameter name="widget">
629 <parameter_description> a #GtkWidget
630 </parameter_description>
631 </parameter>
632 <parameter name="markup">
633 <parameter_description> the contents of the tooltip for @widget.
634 </parameter_description>
635 </parameter>
636 </parameters>
637 <return></return>
638 </function>
639
640 <function name="gtk_widget_get_composite_name">
641 <return> the composite name of @widget, or an empty string if @widget is not
642 a composite child.
643 </return>
644 </function>
645
646 <function name="gtk_window_set_default">
647 <description>
648 The default widget is the widget that&apos;s activated when the user
649 presses Enter in a dialog (for example). This function sets the default widget for a #GtkWindow. When setting
650 (rather than unsetting) the default widget it&apos;s generally easier to
651 call gtk_widget_grab_focus() on the widget. Before making a widget
652 the default widget, you must set the #GTK_CAN_DEFAULT flag on the
653 widget you&apos;d like to make the default using GTK_WIDGET_SET_FLAGS().
654
655 </description>
656 <parameters>
657 <parameter name="window">
658 <parameter_description> a #GtkWindow
659 </parameter_description>
660 </parameter>
661 <parameter name="default_widget">
662 <parameter_description> widget to be the default.
663 </parameter_description>
664 </parameter>
665 </parameters>
666 <return></return>
667 </function>
668
669
670 <function name="gtk_window_set_focus">
671 <description>
672 If @focus is not the current focus widget, and is focusable, sets
673 it as the focus widget for the window. To set the focus to a particular
674 widget in the toplevel, it is usually more convenient to use
675 gtk_widget_grab_focus() instead of this function.
676
677 </description>
678 <parameters>
679 <parameter name="window">
680 <parameter_description> a #GtkWindow
681 </parameter_description>
682 </parameter>
683 <parameter name="focus">
684 <parameter_description> widget to be the new focus widget.
685 </parameter_description>
686 </parameter>
687 </parameters>
688 <return></return>
689 </function>
690
691 <function name="gtk_drag_dest_find_target">
692 <description>
693 Looks for a match between @context-&amp;gt;targets and the
694 @dest_target_list, returning the first matching target, otherwise
695 returning %GDK_NONE. @dest_target_list should usually be the return
696 value from gtk_drag_dest_get_target_list(), but some widgets may
697 have different valid targets for different parts of the widget; in
698 that case, they will have to implement a drag_motion handler that
699 passes the correct target list to this function.
700 </description>
701 <parameters>
702 <parameter name="widget">
703 <parameter_description> drag destination widget
704 </parameter_description>
705 </parameter>
706 <parameter name="context">
707 <parameter_description> drag context
708 </parameter_description>
709 </parameter>
710 <parameter name="target_list">
711 <parameter_description> list of droppable targets.
712 </parameter_description>
713 </parameter>
714 </parameters>
715 <return> first target that the source offers and the dest can accept, or %GDK_NONE
716 </return>
717 <mapping class="Widget" />
718 </function>
719
720 <function name="gtk_clipboard_wait_for_text">
721 <return> A UTF-8 string, which is empty if retrieving
722 the selection data failed. (This could happen
723 for various reasons, in particular if the
724 clipboard was empty or if the contents of the
725 clipboard could not be converted into text form.)
726 </return>
727 </function>
728
729 <function name="gtk_tree_path_to_string">
730 <parameters>
731 <parameter name="path">
732 <parameter_description> A #GtkTreePath
733 </parameter_description>
734 </parameter>
735 </parameters>
736 <return> The string.
737 </return>
738 </function>
739
740 <function name="gtk_tree_model_get_string_from_iter">
741 <parameters>
742 <parameter name="tree_model">
743 <parameter_description> A #GtkTreeModel.
744 </parameter_description>
745 </parameter>
746 <parameter name="iter">
747 <parameter_description> An #GtkTreeIter.
748 </parameter_description>
749 </parameter>
750 </parameters>
751 <return> The string.
752 </return>
753 </function>
754
755 <function name="gtk_window_set_icon_from_file">
756 <description>
757 Sets the icon for the window.
758
759 This function is equivalent to calling gtk_window_set_icon()
760 with a pixbuf created by loading the image from @filename.
761 </description>
762 <parameters>
763 <parameter name="window">
764 <parameter_description> a #GtkWindow
765 </parameter_description>
766 </parameter>
767 <parameter name="filename">
768 <parameter_description> location of icon file
769 </parameter_description>
770 </parameter>
771 </parameters>
772 </function>
773
774 <function name="gtk_window_get_position">
775 <parameters>
776 <parameter name="window">
777 <parameter_description> a #GtkWindow
778 </parameter_description>
779 </parameter>
780 <parameter name="root_x">
781 <parameter_description> return location for X coordinate of gravity-determined reference point
782 </parameter_description>
783 </parameter>
784 <parameter name="root_y">
785 <parameter_description> return location for Y coordinate of gravity-determined reference point
786 </parameter_description>
787 </parameter>
788 </parameters>
789 </function>
790
791 <function name="gtk_window_set_default_icon_from_file">
792 <parameters>
793 <parameter name="filename">
794 <parameter_description> location of icon file
795 </parameter_description>
796 </parameter>
797 </parameters>
798 </function>
799
800 <function name="gtk_drag_dest_get_target_list">
801 <mapping class="Widget" />
802 </function>
803
804 <function name="gtk_drag_source_set_icon">
805 <mapping class="Widget" />
806 </function>
807
808 <function name="gtk_drag_source_set_icon_pixbuf">
809 <mapping class="Widget" />
810 </function>
811
812 <function name="gtk_drag_source_set_icon_stock">
813 <mapping class="Widget" />
814 </function>
815
816 <function name="gtk_drag_begin">
817 <mapping class="Widget" />
818 </function>
819
820 <function name="gtk_drag_check_threshold">
821 <mapping class="Widget" />
822 </function>
823
824 <function name="gtk_drag_dest_set_target_list">
825 <mapping class="Widget" />
826 </function>
827
828
829 <function name="gtk_icon_theme_get_example_icon_name">
830 <return>
831 </return>
832 </function>
833
834 <function name="gtk_tree_view_move_column_after">
835 <description>
836 Moves @column to be after to @base_column. See also move_column_to_start().
837
838 </description>
839 <parameters>
840 <parameter name="tree_view">
841 <parameter_description> A #GtkTreeView
842 </parameter_description>
843 </parameter>
844 <parameter name="column">
845 <parameter_description> The #GtkTreeViewColumn to be moved.
846 </parameter_description>
847 </parameter>
848 <parameter name="base_column">
849 <parameter_description> The #GtkTreeViewColumn to be moved relative to.
850 </parameter_description>
851 </parameter>
852 </parameters>
853 <return></return>
854 </function>
855
856 <function name="gtk_cell_renderer_get_size">
857 <description>
858 Obtains the width and height needed to render the cell. Used by view widgets
859 to determine the appropriate size for the cell_area passed to
860 gtk_cell_renderer_render(). Fills in the x and y
861 offsets of the cell relative to this location. Please note that the
862 values set in @width and @height, as well as those in @x_offset and @y_offset
863 are inclusive of the xpad and ypad properties.
864
865 </description>
866 <parameters>
867 <parameter name="cell">
868 <parameter_description> a #GtkCellRenderer
869 </parameter_description>
870 </parameter>
871 <parameter name="widget">
872 <parameter_description> the widget the renderer is rendering to
873 </parameter_description>
874 </parameter>
875 <parameter name="cell_area">
876 <parameter_description> The area a cell will be allocated.
877 </parameter_description>
878 </parameter>
879 <parameter name="x_offset">
880 <parameter_description> location to return x offset of cell relative to @cell_area.
881 </parameter_description>
882 </parameter>
883 <parameter name="y_offset">
884 <parameter_description> location to return y offset of cell relative to @cell_area.
885 </parameter_description>
886 </parameter>
887 <parameter name="width">
888 <parameter_description> location to return width needed to render a cell.
889 </parameter_description>
890 </parameter>
891 <parameter name="height">
892 <parameter_description> location to return height needed to render a cell.
893 </parameter_description>
894 </parameter>
895 </parameters>
896 <return></return>
897 </function>
898
899 <function name="gtk_menu_popup">
900 <description>
901 Displays a menu and makes it available for selection. Applications can use
902 this function to display context-sensitive menus. The default menu positioning function will position the menu
903 at the current mouse cursor position.
904
905 The @button parameter should be the mouse button pressed to initiate
906 the menu popup. If the menu popup was initiated by something other than
907 a mouse button press, such as a mouse button release or a keypress,
908 @button should be 0.
909
910 The @activate_time parameter should be the time stamp of the event that
911 initiated the popup. If such an event is not available, use
912 gtk_get_current_event_time() instead.
913
914
915 </description>
916 <parameters>
917 <parameter name="menu">
918 <parameter_description> a #GtkMenu.
919 </parameter_description>
920 </parameter>
921 <parameter name="parent_menu_shell">
922 <parameter_description> the menu shell containing the triggering menu item.
923 </parameter_description>
924 </parameter>
925 <parameter name="parent_menu_item">
926 <parameter_description> the menu item whose activation triggered the popup.
927 </parameter_description>
928 </parameter>
929 <parameter name="func">
930 <parameter_description> a user supplied function used to position the menu, or %NULL
931 </parameter_description>
932 </parameter>
933 <parameter name="data">
934 <parameter_description> user supplied data to be passed to @func.
935 </parameter_description>
936 </parameter>
937 <parameter name="button">
938 <parameter_description> the mouse button which was pressed to initiate the event.
939 </parameter_description>
940 </parameter>
941 <parameter name="activate_time">
942 <parameter_description> the time at which the activation event occurred.
943 </parameter_description>
944 </parameter>
945 </parameters>
946 <return></return>
947 </function>
948
949 <function name="gtk_tree_view_column_cell_get_size">
950 <parameters>
951 <parameter name="tree_column">
952 <parameter_description> A #GtkTreeViewColumn.
953 </parameter_description>
954 </parameter>
955 <parameter name="cell_area">
956 <parameter_description> The area a cell in the column will be allocated.
957 </parameter_description>
958 </parameter>
959 <parameter name="x_offset">
960 <parameter_description> location to return x offset of a cell relative to @cell_area.
961 </parameter_description>
962 </parameter>
963 <parameter name="y_offset">
964 <parameter_description> location to return y offset of a cell relative to @cell_area.
965 </parameter_description>
966 </parameter>
967 <parameter name="width">
968 <parameter_description> location to return width needed to render a cell.
969 </parameter_description>
970 </parameter>
971 <parameter name="height">
972 <parameter_description> location to return height needed to render a cell.
973 </parameter_description>
974 </parameter>
975 </parameters>
976 <return></return>
977 </function>
978
979
980 <function name="gtk_tree_view_column_cell_get_position">
981 <parameters>
982 <parameter name="tree_column">
983 <parameter_description> a #GtkTreeViewColumn
984 </parameter_description>
985 </parameter>
986 <parameter name="cell_renderer">
987 <parameter_description> a #GtkCellRenderer
988 </parameter_description>
989 </parameter>
990 <parameter name="start_pos">
991 <parameter_description> return location for the horizontal position of @cell within
992 @tree_column.
993 </parameter_description>
994 </parameter>
995 <parameter name="width">
996 <parameter_description> return location for the width of @cell.
997 </parameter_description>
998 </parameter>
999 </parameters>
1000 </function>
1001
1002 <function name="gtk_tree_view_set_vadjustment">
1003 <description>
1004 Sets the #GtkAdjustment for the current vertical aspect. See also unset_vadjustment().
1005
1006 </description>
1007 <parameters>
1008 <parameter name="tree_view">
1009 <parameter_description> A #GtkTreeView
1010 </parameter_description>
1011 </parameter>
1012 <parameter name="adjustment">
1013 <parameter_description> The #GtkAdjustment to set.
1014 </parameter_description>
1015 </parameter>
1016 </parameters>
1017 <return></return>
1018 </function>
1019
1020 <function name="gtk_tree_view_set_hadjustment">
1021 <description>
1022 Sets the #GtkAdjustment for the current horizontal aspect. See also unset_hadjustment().
1023
1024 </description>
1025 <parameters>
1026 <parameter name="tree_view">
1027 <parameter_description> A #GtkTreeView
1028 </parameter_description>
1029 </parameter>
1030 <parameter name="adjustment">
1031 <parameter_description> The #GtkAdjustment to set.
1032 </parameter_description>
1033 </parameter>
1034 </parameters>
1035 <return></return>
1036 </function>
1037
1038 <function name="gtk_tree_view_set_expander_column">
1039 <description>
1040 Sets the column to draw the expander arrow at. It must be in the TreeView. See also reset_expander_column().
1041
1042 </description>
1043 <parameters>
1044 <parameter name="tree_view">
1045 <parameter_description> A #GtkTreeView
1046 </parameter_description>
1047 </parameter>
1048 <parameter name="column">
1049 <parameter_description>The column to draw the expander arrow at.
1050 </parameter_description>
1051 </parameter>
1052 </parameters>
1053 <return></return>
1054 </function>
1055
1056 <function name="gtk_tree_view_set_cursor">
1057 <description>
1058 Sets the current keyboard focus to be at @path, and selects it. This is
1059 useful when you want to focus the user&apos;s attention on a particular row. Focus is given to the column specified.
1060 Additionally, if @start_editing is
1061 %TRUE, then editing should be started in the specified cell.
1062 This function is often followed by Gtk::Widget::grab_focus(@tree_view)
1063 in order to give keyboard focus to the widget. Please note that editing
1064 can only happen when the widget is realized.
1065
1066 </description>
1067 <parameters>
1068 <parameter name="tree_view">
1069 <parameter_description> A #GtkTreeView
1070 </parameter_description>
1071 </parameter>
1072 <parameter name="path">
1073 <parameter_description> A #GtkTreePath
1074 </parameter_description>
1075 </parameter>
1076 <parameter name="focus_column">
1077 <parameter_description> A #GtkTreeViewColumn.
1078 </parameter_description>
1079 </parameter>
1080 <parameter name="start_editing">
1081 <parameter_description> %TRUE if the specified cell should start being edited.
1082 </parameter_description>
1083 </parameter>
1084 </parameters>
1085 <return></return>
1086 </function>
1087
1088 <function name="gtk_tree_view_set_model">
1089 <description>
1090 Sets the model for a #GtkTreeView. If the @tree_view already has a model
1091 set, it will remove it before setting the new model. Use unset_model() to
1092 unset the old model.
1093 </description>
1094 </function>
1095
1096 <function name="gtk_ui_manager_add_ui">
1097 <description>
1098 Adds a UI element to the current contents of @self.
1099
1100 If @type is %GTK_UI_MANAGER_AUTO, GTK+ inserts a menuitem, toolitem or
1101 separator if such an element can be inserted at the place determined by
1102 @path. Otherwise @type must indicate an element that can be inserted at
1103 the place determined by @path.
1104
1105 @see add_ui_separator().
1106
1107 Since: 2.4
1108
1109 </description>
1110 <parameters>
1111 <parameter name="self">
1112 <parameter_description> a #GtkUIManager
1113 </parameter_description>
1114 </parameter>
1115 <parameter name="merge_id">
1116 <parameter_description> the merge id for the merged UI, see gtk_ui_manager_new_merge_id()
1117 </parameter_description>
1118 </parameter>
1119 <parameter name="path">
1120 <parameter_description> a path
1121 </parameter_description>
1122 </parameter>
1123 <parameter name="name">
1124 <parameter_description> the name for the added UI element
1125 </parameter_description>
1126 </parameter>
1127 <parameter name="action">
1128 <parameter_description> the name of the action to be proxied, if this is not a separator.
1129 </parameter_description>
1130 </parameter>
1131 <parameter name="type">
1132 <parameter_description> the type of UI element to add.
1133 </parameter_description>
1134 </parameter>
1135 <parameter name="top">
1136 <parameter_description> if %TRUE, the UI element is added before its siblings, otherwise it
1137 is added after its siblings.
1138 </parameter_description>
1139 </parameter>
1140 </parameters>
1141 <return></return>
1142 </function>
1143
1144
1145 <function name="gtk_window_get_default_size">
1146 <parameters>
1147 <parameter name="window">
1148 <parameter_description> a #GtkWindow
1149 </parameter_description>
1150 </parameter>
1151 <parameter name="width">
1152 <parameter_description> location to store the default width.
1153 </parameter_description>
1154 </parameter>
1155 <parameter name="height">
1156 <parameter_description> location to store the default height.
1157 </parameter_description>
1158 </parameter>
1159 </parameters>
1160 <return></return>
1161 </function>
1162
1163 <function name="gtk_window_get_size">
1164 <parameters>
1165 <parameter name="window">
1166 <parameter_description> a #GtkWindow
1167 </parameter_description>
1168 </parameter>
1169 <parameter name="width">
1170 <parameter_description> return location for width.
1171 </parameter_description>
1172 </parameter>
1173 <parameter name="height">
1174 <parameter_description> return location for height.
1175 </parameter_description>
1176 </parameter>
1177 </parameters>
1178 <return></return>
1179 </function>
1180
1181 <function name="gtk_icon_info_get_filename">
1182 <return> the filename for the icon, or %NULL
1183 if gtk_icon_info_get_builtin_pixbuf() should
1184 be used instead.
1185 </return>
1186 </function>
1187
1188 <function name="gtk_icon_info_get_builtin_pixbuf">
1189 <parameters>
1190 <parameter name="icon_info">
1191 <parameter_description> a #GtkIconInfo structure
1192 </parameter_description>
1193 </parameter>
1194 </parameters>
1195 <return> the built-in image pixbuf, or %NULL.
1196 The returned image must not be modified.
1197 </return>
1198 </function>
1199
1200 <function name="gtk_file_chooser_get_preview_filename">
1201 <return> the filename to preview, or an empty string if no file
1202 is selected, or if the selected file cannot be represented
1203 as a local filename.
1204 </return>
1205 </function>
1206
1207 <function name="gtk_file_chooser_get_preview_uri">
1208 <return> the URI for the file to preview, or an empty string if no file is
1209 selected.
1210 </return>
1211 </function>
1212
1213 <function name="gtk_file_chooser_get_current_folder_uri">
1214 <return> the URI for the current folder.
1215 </return>
1216 </function>
1217
1218 <function name="gtk_file_chooser_get_uri">
1219 <return> The currently selected URI, or an empty string
1220 if no file is selected.
1221 </return>
1222 </function>
1223
1224 <function name="gtk_file_chooser_get_filename">
1225 <return> The currently selected filename, or an empty string
1226 if no file is selected, or the selected file can&apos;t
1227 be represented with a local filename.
1228 </return>
1229 </function>
1230
1231 <function name="gtk_cell_renderer_get_fixed_size">
1232 <parameters>
1233 <parameter name="cell">
1234 <parameter_description> A #GtkCellRenderer
1235 </parameter_description>
1236 </parameter>
1237 <parameter name="width">
1238 <parameter_description> location to fill in with the fixed width of the widget.
1239 </parameter_description>
1240 </parameter>
1241 <parameter name="height">
1242 <parameter_description> location to fill in with the fixed height of the widget.
1243 </parameter_description>
1244 </parameter>
1245 </parameters>
1246 <return></return>
1247 </function>
1248
1249 <function name="gtk_cell_view_set_model">
1250 <description>
1251 Sets the model for @cell_view. If @cell_view already has a model
1252 set, it will remove it before setting the new model. Use unset_model() to
1253 unset the old model.
1254
1255 Since: 2.6
1256
1257 </description>
1258 </function>
1259
1260 <function name="gtk_text_iter_forward_search">
1261 <description>
1262 Searches forward for @str. Any match is returned by setting
1263 @match_start to the first character of the match and @match_end to the
1264 first character after the match. The search will not continue past
1265 @limit. Note that a search is a linear or O(n) operation, so you
1266 may wish to use @limit to avoid locking up your UI on large
1267 buffers.
1268
1269 If the #GTK_TEXT_SEARCH_VISIBLE_ONLY flag is present, the match may
1270 have invisible text interspersed in @str. i.e. @str will be a
1271 possibly-noncontiguous subsequence of the matched range. similarly,
1272 if you specify #GTK_TEXT_SEARCH_TEXT_ONLY, the match may have
1273 pixbufs or child widgets mixed inside the matched range. If these
1274 flags are not given, the match must be exact; the special 0xFFFC
1275 character in @str will match embedded pixbufs or child widgets.
1276 </description>
1277 <parameters>
1278 <parameter name="iter">
1279 <parameter_description> start of search
1280 </parameter_description>
1281 </parameter>
1282 <parameter name="str">
1283 <parameter_description> a search string
1284 </parameter_description>
1285 </parameter>
1286 <parameter name="flags">
1287 <parameter_description> flags affecting how the search is done
1288 </parameter_description>
1289 </parameter>
1290 <parameter name="match_start">
1291 <parameter_description> return location for start of match
1292 </parameter_description>
1293 </parameter>
1294 <parameter name="match_end">
1295 <parameter_description> return location for end of match
1296 </parameter_description>
1297 </parameter>
1298 <parameter name="limit">
1299 <parameter_description> bound for the search
1300 </parameter_description>
1301 </parameter>
1302 </parameters>
1303 </function>
1304
1305
1306 <function name="gtk_text_iter_backward_search">
1307 <description>
1308 Same as gtk_text_iter_forward_search(), but moves backward.
1309 </description>
1310 <parameters>
1311 <parameter name="iter">
1312 <parameter_description> a #GtkTextIter where the search begins
1313 </parameter_description>
1314 </parameter>
1315 <parameter name="str">
1316 <parameter_description> search string
1317 </parameter_description>
1318 </parameter>
1319 <parameter name="flags">
1320 <parameter_description> bitmask of flags affecting the search
1321 </parameter_description>
1322 </parameter>
1323 <parameter name="match_start">
1324 <parameter_description> return location for start of match
1325 </parameter_description>
1326 </parameter>
1327 <parameter name="match_end">
1328 <parameter_description> return location for end of match
1329 </parameter_description>
1330 </parameter>
1331 <parameter name="limit">
1332 <parameter_description> location of last possible @match_start
1333 </parameter_description>
1334 </parameter>
1335 </parameters>
1336 </function>
1337
1338 <function name="gtk_button_get_image">
1339 <description>
1340 Gets the widget that is currenty set as the image of @button.
1341 This may have been explicitly set by set_image()
1342 or specified as a stock item to the constructor.
1343
1344 Since: 2.6
1345 </description>
1346 <return></return>
1347 </function>
1348
1349
1350 <function name="gtk_image_set_from_stock">
1351 <description>
1352 See the Image::Image(const Gtk::StockID&amp; stock_id, IconSize size) constructor for details.
1353 </description>
1354 </function>
1355
1356 <function name="gtk_image_set_from_pixbuf">
1357 <description>
1358 See the Image::Image(const Glib::RefPtr&lt;Gdk::Pixbuf&gt;&amp; pixbuf) constructor for details.
1359 </description>
1360 <parameters>
1361 <parameter name="image">
1362 <parameter_description> a #GtkImage
1363 </parameter_description>
1364 </parameter>
1365 <parameter name="pixbuf">
1366 <parameter_description> a #Gdk::Pixbuf
1367 </parameter_description>
1368 </parameter>
1369 </parameters>
1370 <return></return>
1371 </function>
1372
1373 <function name="gtk_image_set_from_file">
1374 <description>
1375 See the Image::Image(const std::string&amp; file) constructor for details.
1376 </description>
1377 <parameters>
1378 <parameter name="image">
1379 <parameter_description> a #GtkImage
1380 </parameter_description>
1381 </parameter>
1382 <parameter name="filename">
1383 <parameter_description> a filename.
1384 </parameter_description>
1385 </parameter>
1386 </parameters>
1387 <return></return>
1388 </function>
1389
1390 <!-- Don't just refer to a constructor for this one,
1391 because there is no such constructor,
1392 to avoid ambiguity with the filename constructor.
1393 -->
1394 <function name="gtk_image_set_from_icon_name">
1395 <description>
1396 Causes the Image to display an icon from the current icon theme.
1397 If the icon name isn&apos;t known, a &quot;broken image&quot; icon will be
1398 displayed instead. If the current icon theme is changed, the icon
1399 will be updated appropriately.
1400
1401 Since: 2.6
1402 </description>
1403 </function>
1404
1405 <function name="gtk_icon_factory_add_default">
1406 <description>
1407 Adds an icon factory to the list of icon factories searched by
1408 gtk_style_lookup_icon_set(). This means that, for example,
1409 the Image::Image(const Gtk::StockID&amp; stock_id, IconSize size) constructor will be able to find icons in @factory.
1410 There will normally be an icon factory added for each library or
1411 application that comes with icons. The default icon factories
1412 can be overridden by themes.
1413 </description>
1414 </function>
1415
1416 <function name="gtk_tool_button_set_stock_id">
1417 <description>
1418 Sets the name of the stock item. See the ToolButton::ToolButton(const Gtk::StockID&amp; stock_id, IconSize size) constructor.
1419 The stock_id property only has an effect if not
1420 overridden by &quot;label&quot; and &quot;icon_widget&quot; properties.
1421
1422 Since: 2.4
1423 </description>
1424 </function>
1425
1426 <function name="gtk_image_get_icon_name">
1427 <description>
1428 Gets the icon name and size being displayed by the #GtkImage.
1429 The storage type of the image must be %GTK_IMAGE_EMPTY or
1430 %GTK_IMAGE_ICON_NAME (see gtk_image_get_storage_type()).
1431
1432 Since: 2.6
1433
1434 </description>
1435 <parameters>
1436 <parameter name="image">
1437 <parameter_description> a #GtkImage
1438 </parameter_description>
1439 </parameter>
1440 <parameter name="icon_name">
1441 <parameter_description> place to store an icon name
1442 </parameter_description>
1443 </parameter>
1444 <parameter name="size">
1445 <parameter_description> place to store an icon size
1446 </parameter_description>
1447 </parameter>
1448 </parameters>
1449 <return></return>
1450 </function>
1451
1452 <function name="gtk_progress_bar_get_text">
1453 <description>
1454 Retrieves the text displayed superimposed on the progress bar,
1455 if any.
1456 </description>
1457 <return> text.
1458 </return>
1459 </function>
1460
1461 <function name="gtk_color_button_get_title">
1462 <return>The title
1463 </return>
1464 </function>
1465
1466 <function name="gtk_file_chooser_get_current_folder">
1467 <return> the full path of the current folder, possibly empty if the current
1468 path cannot be represented as a local filename. This function may also return
1469 an empty string if the file chooser was unable to load the last folder that was
1470 requested from it; for example, as would be for calling
1471 gtk_file_chooser_set_current_folder() on a nonexistent folder.
1472 </return>
1473 </function>
1474
1475 <function name="gtk_file_chooser_list_shortcut_folders">
1476 <return> A list of folder filenames, if there are any shortcut
1477 folders.
1478 </return>
1479 </function>
1480
1481 <function name="gtk_file_chooser_list_shortcut_folder_uris">
1482 <return> A list of folder URIs
1483 </return>
1484 </function>
1485
1486 <function name="gtk_file_chooser_list_filters">
1487 <return> a list containing the current set of
1488 user selectable filters.
1489 </return>
1490 </function>
1491
1492
1493 <function name="gtk_file_chooser_get_uris">
1494 <return> a list containing the URIs of all selected
1495 files and subfolders in the current folder.
1496 </return>
1497 </function>
1498
1499
1500 <function name="gtk_file_chooser_get_filenames">
1501 <return> a list containing the filenames of all selected
1502 files and subfolders in the current folder.
1503 </return>
1504 </function>
1505
1506 <function name="gtk_icon_theme_list_icons">
1507 <description>
1508 Lists a subset of icons in the current icon theme, by providing a context string.
1509 The set of values for the context string is system dependent,
1510 but will typically include such values as &apos;Applications&apos; and
1511 &apos;MimeTypes&apos;.
1512
1513 Since: 2.4
1514 </description>
1515 <parameters>
1516 <parameter name="icon_theme">
1517 <parameter_description> a #GtkIconTheme
1518 </parameter_description>
1519 </parameter>
1520 <parameter name="context">
1521 <parameter_description> a string identifying a particular type of icon.
1522 </parameter_description>
1523 </parameter>
1524 </parameters>
1525 <return> The names of all the
1526 icons in the theme.
1527 </return>
1528 </function>
1529
1530
1531 <!-- I don't know what this GTK+ documentation means by "update its internal state". murrayc. -->
1532 <function name="gtk_widget_add_mnemonic_label">
1533 <description>
1534 Adds a widget to the list of mnemonic labels for
1535 this widget. (See gtk_widget_list_mnemonic_labels()). Note the
1536 list of mnemonic labels for the widget is cleared when the
1537 widget is destroyed, so the caller must make sure to update
1538 its internal state at this point as well.
1539
1540 Since: 2.4
1541 </description>
1542 </function>
1543
1544 <function name="gtk_page_setup_to_key_file">
1545 <parameters>
1546 <parameter name="setup">
1547 <parameter_description> a #GtkPageSetup
1548 </parameter_description>
1549 </parameter>
1550 <parameter name="key_file">
1551 <parameter_description> the Glib::KeyFile to save the page setup to
1552 </parameter_description>
1553 </parameter>
1554 <parameter name="group_name">
1555 <parameter_description> the group to add the settings to in @key_file.
1556 </parameter_description>
1557 </parameter>
1558 </parameters>
1559 <return></return>
1560 </function>
1561
1562 <function name="gtk_print_settings_to_key_file">
1563 <parameters>
1564 <parameter name="settings">
1565 <parameter_description> a #GtkPrintSettings
1566 </parameter_description>
1567 </parameter>
1568 <parameter name="key_file">
1569 <parameter_description> the Glib::KeyFile to save the print settings to
1570 </parameter_description>
1571 </parameter>
1572 <parameter name="group_name">
1573 <parameter_description> the group to add the settings to in @key_file.
1574 </parameter_description>
1575 </parameter>
1576 </parameters>
1577 <return></return>
1578 </function>
1579
1580
1581 <function name="gtk_about_dialog_get_program_name">
1582 <return> The program name.
1583 </return>
1584 </function>
1585
1586 <function name="gtk_about_dialog_get_website_label">
1587 <return> The label used for the website link.
1588 </return>
1589 </function>
1590
1591
1592 <function name="gtk_entry_completion_get_completion_prefix">
1593 <description>
1594 Get the original text entered by the user that triggered
1595 the completion or an empty string if there&apos;s no completion ongoing.
1596
1597 Since: 2.12
1598 </description>
1599 </function>
1600
1601
1602 <function name="gtk_entry_completion_set_model">
1603 <description>
1604 Sets the model for a #GtkEntryCompletion. If @completion already has
1605 a model set, it will remove it before setting the new model.
1606 Use unset_model() to unset the old model.
1607
1608 Since: 2.4
1609 </description>
1610 </function>
1611
1612
1613 <function name="gtk_icon_theme_choose_icon">
1614 <description>
1615 Looks up a named icon and returns a structure containing
1616 information such as the filename of the icon. The icon
1617 can then be rendered into a pixbuf using
1618 gtk_icon_info_load_icon(). (gtk_icon_theme_load_icon()
1619 combines these two steps if all you need is the pixbuf.)
1620
1621 If @icon_names contains more than one name, this function
1622 tries them all in the given order before falling back to
1623 inherited icon themes.
1624
1625 Since: 2.12
1626 </description>
1627 <parameters>
1628 <parameter name="icon_theme">
1629 <parameter_description> a #GtkIconTheme
1630 </parameter_description>
1631 </parameter>
1632 <parameter name="icon_names">
1633 <parameter_description> array of icon names to lookup
1634 </parameter_description>
1635 </parameter>
1636 <parameter name="size">
1637 <parameter_description> desired icon size
1638 </parameter_description>
1639 </parameter>
1640 <parameter name="flags">
1641 <parameter_description> flags modifying the behavior of the icon lookup
1642 </parameter_description>
1643 </parameter>
1644 </parameters>
1645 <return> a #GtkIconInfo structure containing information
1646 about the icon. IconInfo::operator bool() will be false if the icon wasn&apos;t found -
1647 for instance, if (icon_info) { ... }.
1648 </return>
1649 </function>
1650
1651
1652 <function name="gtk_icon_theme_list_contexts">
1653 <description>
1654 Gets the list of contexts available within the current
1655 hierarchy of icon themes.
1656
1657 Since: 2.12
1658 </description>
1659 <return> a list holding the names of all the
1660 contexts in the theme.
1661 </return>
1662 </function>
1663
1664
1665 <function name="gtk_icon_view_set_model">
1666 <description>
1667 Sets the model for a #GtkIconView.
1668 If the @icon_view already has a model set, it will remove
1669 it before setting the new model. Use unset_model() to
1670 unset the old model.
1671
1672 Since: 2.6
1673 </description>
1674 </function>
1675
1676
1677 <function name="gtk_icon_view_set_tooltip_cell">
1678 <description>
1679 Sets the tip area of @tooltip to the area which @cell occupies in
1680 the item pointed to by @path. See also Tooltip::set_tip_area().
1681
1682 Since: 2.12
1683
1684 </description>
1685 <parameters>
1686 <parameter name="icon_view">
1687 <parameter_description> a #GtkIconView
1688 </parameter_description>
1689 </parameter>
1690 <parameter name="tooltip">
1691 <parameter_description> a #GtkTooltip
1692 </parameter_description>
1693 </parameter>
1694 <parameter name="path">
1695 <parameter_description> a #GtkTreePath
1696 </parameter_description>
1697 </parameter>
1698 <parameter name="cell">
1699 <parameter_description> a #GtkCellRenderer.
1700 </parameter_description>
1701 </parameter>
1702 </parameters>
1703 <return></return>
1704 </function>
1705
1706
1707 <function name="gtk_icon_view_set_tooltip_item">
1708 <description>
1709 Sets the tip area of @tooltip to be the area covered by the item at @path.
1710 See also Tooltip::set_tip_area().
1711
1712 Since: 2.12
1713 </description>
1714 </function>
1715
1716 <function name="gtk_combo_box_set_model">
1717 <description>
1718 Sets the model used by @combo_box to be @model. Will unset a previously set
1719 model (if applicable). Use unset_model() to unset the old model.
1720
1721 Note that this function does not clear the cell renderers, you have to
1722 call gtk_cell_layout_clear() yourself if you need to set up different
1723 cell renderers for the new model.
1724
1725 Since: 2.4
1726 </description>
1727 </function>
1728
1729 <function name="gtk_page_setup_to_file">
1730 <description>
1731 This function saves the information from @setup to @file_name.
1732 @throws Glib::FileError
1733
1734 Since: 2.12
1735 </description>
1736 </function>
1737
1738
1739 <function name="gtk_print_settings_to_file">
1740 <description>
1741 This function saves the print settings from @settings to @file_name.
1742 @throws FileError
1743
1744 Since: 2.12
1745 </description>
1746 </function>
1747
1748
1749 <function name="gtk_printer_request_details">
1750 <description>
1751 Requests the printer details. When the details are available,
1752 the details_acquired signal will be emitted.
1753
1754 Since: 2.12
1755 </description>
1756 </function>
1757
1758
1759 <function name="gtk_cell_layout_get_cells">
1760 <description>
1761 Return value: a list of cell renderers.
1762
1763 Since: 2.12
1764 </description>
1765 <return> a list of cell renderers.
1766 </return>
1767 </function>
1768
1769
1770 <function name="gtk_widget_error_bell">
1771 <description>
1772 Notifies the user about an input-related error on this widget.
1773 If the Gtk::Settings gtk-error-bell property is true, it calls
1774 Gdk::Window::beep(), otherwise it does nothing.
1775
1776 Note that the effect of Gdk::Window::beep() can be configured in many
1777 ways, depending on the windowing backend and the desktop environment
1778 or window manager that is used.
1779
1780 Since: 2.12
1781 </description>
1782 </function>
1783
1784
1785 <function name="gtk_widget_get_tooltip_markup">
1786 <return> the tooltip text.
1787 </return>
1788 </function>
1789
1790
1791 <function name="gtk_widget_get_tooltip_text">
1792 <return> the tooltip text.
1793 </return>
1794 </function>
1795
1796 <function name="gtk_icon_theme_lookup_icon">
1797 <description>
1798 Looks up a named icon and returns a structure containing
1799 information such as the filename of the icon. The icon
1800 can then be rendered into a pixbuf using
1801 gtk_icon_info_load_icon(). (gtk_icon_theme_load_icon()
1802 combines these two steps if all you need is the pixbuf.)
1803
1804 Since: 2.4
1805 </description>
1806 <return> an IconInfo structure containing information
1807 about the icon. IconInfo::operator bool() will return false if the icon wasn&apos;t found.
1808 For instance, if (icon_info) { ... }.
1809 </return>
1810 </function>
1811
1812
1813 <function name="gtk_entry_get_text">
1814 <description>
1815 Retrieves the contents of the entry widget.
1816 See also gtk_editable_get_chars().
1817 </description>
1818 <return>The contents of the entry widget.
1819 </return>
1820 </function>
1821
1822
1823 <function name="gtk_selection_data_get_uris">
1824 <description>
1825 Gets the contents of the selection data as a container of URIs.
1826
1827 Since: 2.6
1828 </description>
1829 <return>If the selection data contains a list of
1830 URIs, a container containing the URIs, otherwise an empty container.
1831 </return>
1832 </function>
1833
1834 <function name="gtk_builder_get_objects">
1835 <description>
1836 Gets all objects that have been constructed by the Gtk::Builder.
1837
1838 Since: 3.8
1839 </description>
1840 <return> a vector containing all the objects
1841 constructed by the Gtk::Builder instance.
1842 </return>
1843 </function>
1844
1845 </root>