7
7
<link rel="home" href="index.html" title="GAIL Reference Manual">
8
8
<link rel="up" href="libgail-util-main.html" title="GAIL libgail-util Library">
9
9
<link rel="prev" href="gail-libgail-util-GailTextUtil.html" title="GailTextUtil">
10
<meta name="generator" content="GTK-Doc V1.17 (XML mode)">
10
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
11
11
<link rel="stylesheet" href="style.css" type="text/css">
13
13
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
48
48
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *end_offset</code></em>);
49
49
<a href="/usr/share/gtk-doc/html/atk/AtkText.html#AtkAttributeSet"><span class="returnvalue">AtkAttributeSet</span></a> * <a class="link" href="gail-libgail-util-GailMisc.html#gail-misc-get-default-attributes" title="gail_misc_get_default_attributes ()">gail_misc_get_default_attributes</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/atk/AtkText.html#AtkAttributeSet"><span class="type">AtkAttributeSet</span></a> *attrib_set</code></em>,
50
50
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
51
<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk3/GtkWidget.html"><span class="type">GtkWidget</span></a> *widget</code></em>);
51
<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/GtkWidget.html"><span class="type">GtkWidget</span></a> *widget</code></em>);
52
52
<span class="returnvalue">void</span> <a class="link" href="gail-libgail-util-GailMisc.html#gail-misc-get-extents-from-pango-rectangle" title="gail_misc_get_extents_from_pango_rectangle ()">gail_misc_get_extents_from_pango_rectangle</a>
53
(<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk3/GtkWidget.html"><span class="type">GtkWidget</span></a> *widget</code></em>,
53
(<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/GtkWidget.html"><span class="type">GtkWidget</span></a> *widget</code></em>,
54
54
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/pango/pango-Glyph-Storage.html#PangoRectangle"><span class="type">PangoRectangle</span></a> *char_rect</code></em>,
55
55
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x_layout</code></em>,
56
56
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y_layout</code></em>,
60
60
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *height</code></em>,
61
61
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/atk/AtkUtil.html#AtkCoordType"><span class="type">AtkCoordType</span></a> coords</code></em>);
62
62
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="gail-libgail-util-GailMisc.html#gail-misc-get-index-at-point-in-layout" title="gail_misc_get_index_at_point_in_layout ()">gail_misc_get_index_at_point_in_layout</a>
63
(<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk3/GtkWidget.html"><span class="type">GtkWidget</span></a> *widget</code></em>,
63
(<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/GtkWidget.html"><span class="type">GtkWidget</span></a> *widget</code></em>,
64
64
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
65
65
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x_layout</code></em>,
66
66
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y_layout</code></em>,
67
67
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
68
68
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>,
69
69
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/atk/AtkUtil.html#AtkCoordType"><span class="type">AtkCoordType</span></a> coords</code></em>);
70
<span class="returnvalue">void</span> <a class="link" href="gail-libgail-util-GailMisc.html#gail-misc-get-origins" title="gail_misc_get_origins ()">gail_misc_get_origins</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk3/GtkWidget.html"><span class="type">GtkWidget</span></a> *widget</code></em>,
70
<span class="returnvalue">void</span> <a class="link" href="gail-libgail-util-GailMisc.html#gail-misc-get-origins" title="gail_misc_get_origins ()">gail_misc_get_origins</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/GtkWidget.html"><span class="type">GtkWidget</span></a> *widget</code></em>,
71
71
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *x_window</code></em>,
72
72
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *y_window</code></em>,
73
73
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *x_toplevel</code></em>,
74
74
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *y_toplevel</code></em>);
75
75
<a href="/usr/share/gtk-doc/html/atk/AtkText.html#AtkAttributeSet"><span class="returnvalue">AtkAttributeSet</span></a> * <a class="link" href="gail-libgail-util-GailMisc.html#gail-misc-add-to-attr-set" title="gail_misc_add_to_attr_set ()">gail_misc_add_to_attr_set</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/atk/AtkText.html#AtkAttributeSet"><span class="type">AtkAttributeSet</span></a> *attrib_set</code></em>,
76
<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk3/GtkTextTag.html#GtkTextAttributes"><span class="type">GtkTextAttributes</span></a> *attrs</code></em>,
76
<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/GtkTextTag.html#GtkTextAttributes"><span class="type">GtkTextAttributes</span></a> *attrs</code></em>,
77
77
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/atk/AtkText.html#AtkTextAttribute"><span class="type">AtkTextAttribute</span></a> attr</code></em>);
78
<a href="/usr/share/gtk-doc/html/atk/AtkText.html#AtkAttributeSet"><span class="returnvalue">AtkAttributeSet</span></a> * <a class="link" href="gail-libgail-util-GailMisc.html#gail-misc-buffer-get-run-attributes" title="gail_misc_buffer_get_run_attributes ()">gail_misc_buffer_get_run_attributes</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk3/GtkTextBuffer.html"><span class="type">GtkTextBuffer</span></a> *buffer</code></em>,
78
<a href="/usr/share/gtk-doc/html/atk/AtkText.html#AtkAttributeSet"><span class="returnvalue">AtkAttributeSet</span></a> * <a class="link" href="gail-libgail-util-GailMisc.html#gail-misc-buffer-get-run-attributes" title="gail_misc_buffer_get_run_attributes ()">gail_misc_buffer_get_run_attributes</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/GtkTextBuffer.html"><span class="type">GtkTextBuffer</span></a> *buffer</code></em>,
79
79
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> offset</code></em>,
80
80
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *start_offset</code></em>,
81
81
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *end_offset</code></em>);
174
174
<a name="gail-misc-get-default-attributes"></a><h3>gail_misc_get_default_attributes ()</h3>
175
175
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/atk/AtkText.html#AtkAttributeSet"><span class="returnvalue">AtkAttributeSet</span></a> * gail_misc_get_default_attributes (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/atk/AtkText.html#AtkAttributeSet"><span class="type">AtkAttributeSet</span></a> *attrib_set</code></em>,
176
176
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
177
<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk3/GtkWidget.html"><span class="type">GtkWidget</span></a> *widget</code></em>);</pre>
177
<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/GtkWidget.html"><span class="type">GtkWidget</span></a> *widget</code></em>);</pre>
179
179
Adds the default attributes to the specified attribute set.
204
204
<div class="refsect2">
205
205
<a name="gail-misc-get-extents-from-pango-rectangle"></a><h3>gail_misc_get_extents_from_pango_rectangle ()</h3>
206
206
<pre class="programlisting"><span class="returnvalue">void</span> gail_misc_get_extents_from_pango_rectangle
207
(<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk3/GtkWidget.html"><span class="type">GtkWidget</span></a> *widget</code></em>,
207
(<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/GtkWidget.html"><span class="type">GtkWidget</span></a> *widget</code></em>,
208
208
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/pango/pango-Glyph-Storage.html#PangoRectangle"><span class="type">PangoRectangle</span></a> *char_rect</code></em>,
209
209
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x_layout</code></em>,
210
210
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y_layout</code></em>,
273
273
<div class="refsect2">
274
274
<a name="gail-misc-get-index-at-point-in-layout"></a><h3>gail_misc_get_index_at_point_in_layout ()</h3>
275
275
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gail_misc_get_index_at_point_in_layout
276
(<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk3/GtkWidget.html"><span class="type">GtkWidget</span></a> *widget</code></em>,
276
(<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/GtkWidget.html"><span class="type">GtkWidget</span></a> *widget</code></em>,
277
277
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoLayout"><span class="type">PangoLayout</span></a> *layout</code></em>,
278
278
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x_layout</code></em>,
279
279
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y_layout</code></em>,
335
335
<div class="refsect2">
336
336
<a name="gail-misc-get-origins"></a><h3>gail_misc_get_origins ()</h3>
337
<pre class="programlisting"><span class="returnvalue">void</span> gail_misc_get_origins (<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk3/GtkWidget.html"><span class="type">GtkWidget</span></a> *widget</code></em>,
337
<pre class="programlisting"><span class="returnvalue">void</span> gail_misc_get_origins (<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/GtkWidget.html"><span class="type">GtkWidget</span></a> *widget</code></em>,
338
338
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *x_window</code></em>,
339
339
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *y_window</code></em>,
340
340
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *x_toplevel</code></em>,
374
374
<div class="refsect2">
375
375
<a name="gail-misc-add-to-attr-set"></a><h3>gail_misc_add_to_attr_set ()</h3>
376
376
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/atk/AtkText.html#AtkAttributeSet"><span class="returnvalue">AtkAttributeSet</span></a> * gail_misc_add_to_attr_set (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/atk/AtkText.html#AtkAttributeSet"><span class="type">AtkAttributeSet</span></a> *attrib_set</code></em>,
377
<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk3/GtkTextTag.html#GtkTextAttributes"><span class="type">GtkTextAttributes</span></a> *attrs</code></em>,
377
<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/GtkTextTag.html#GtkTextAttributes"><span class="type">GtkTextAttributes</span></a> *attrs</code></em>,
378
378
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/atk/AtkText.html#AtkTextAttribute"><span class="type">AtkTextAttribute</span></a> attr</code></em>);</pre>
380
380
Gets the value for the AtkTextAttribute from the GtkTextAttributes
407
407
<div class="refsect2">
408
408
<a name="gail-misc-buffer-get-run-attributes"></a><h3>gail_misc_buffer_get_run_attributes ()</h3>
409
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/atk/AtkText.html#AtkAttributeSet"><span class="returnvalue">AtkAttributeSet</span></a> * gail_misc_buffer_get_run_attributes (<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk3/GtkTextBuffer.html"><span class="type">GtkTextBuffer</span></a> *buffer</code></em>,
409
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/atk/AtkText.html#AtkAttributeSet"><span class="returnvalue">AtkAttributeSet</span></a> * gail_misc_buffer_get_run_attributes (<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/GtkTextBuffer.html"><span class="type">GtkTextBuffer</span></a> *buffer</code></em>,
410
410
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> offset</code></em>,
411
411
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *start_offset</code></em>,
412
412
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *end_offset</code></em>);</pre>