/usr/share/gtk-doc/html/meta/meta-Utility-functions.html is in libmutter-dev 3.10.4-0ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Mutter Reference Manual: Utility functions</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Mutter Reference Manual">
<link rel="up" href="core-reference.html" title="Part III. Mutter Core Reference">
<link rel="prev" href="meta-Preferences.html" title="Preferences">
<link rel="next" href="meta-Errors.html" title="Errors">
<meta name="generator" content="GTK-Doc V1.19.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
<td width="100%" align="left">
<a href="#" class="shortcut">Top</a>
|
<a href="#meta-Utility-functions.description" class="shortcut">Description</a>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="core-reference.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="meta-Preferences.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="meta-Errors.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="meta-Utility-functions"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="meta-Utility-functions.top_of_page"></a>Utility functions</span></h2>
<p>Utility functions — Miscellaneous utility functions</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="meta-Utility-functions.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis"><span class="returnvalue">gboolean</span> <a class="link" href="meta-Utility-functions.html#meta-is-verbose" title="meta_is_verbose ()">meta_is_verbose</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
<span class="returnvalue">void</span> <a class="link" href="meta-Utility-functions.html#meta-set-verbose" title="meta_set_verbose ()">meta_set_verbose</a> (<em class="parameter"><code><span class="type">gboolean</span> setting</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="meta-Utility-functions.html#meta-is-debugging" title="meta_is_debugging ()">meta_is_debugging</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
<span class="returnvalue">void</span> <a class="link" href="meta-Utility-functions.html#meta-set-debugging" title="meta_set_debugging ()">meta_set_debugging</a> (<em class="parameter"><code><span class="type">gboolean</span> setting</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="meta-Utility-functions.html#meta-is-syncing" title="meta_is_syncing ()">meta_is_syncing</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
<span class="returnvalue">void</span> <a class="link" href="meta-Utility-functions.html#meta-set-syncing" title="meta_set_syncing ()">meta_set_syncing</a> (<em class="parameter"><code><span class="type">gboolean</span> setting</code></em>);
<span class="returnvalue">void</span> <a class="link" href="meta-Utility-functions.html#meta-set-replace-current-wm" title="meta_set_replace_current_wm ()">meta_set_replace_current_wm</a> (<em class="parameter"><code><span class="type">gboolean</span> setting</code></em>);
<span class="returnvalue">void</span> <a class="link" href="meta-Utility-functions.html#meta-debug-spew-real" title="meta_debug_spew_real ()">meta_debug_spew_real</a> (<em class="parameter"><code>const <span class="type">char</span> *format</code></em>,
<em class="parameter"><code>...</code></em>);
<span class="returnvalue">void</span> <a class="link" href="meta-Utility-functions.html#meta-verbose-real" title="meta_verbose_real ()">meta_verbose_real</a> (<em class="parameter"><code>const <span class="type">char</span> *format</code></em>,
<em class="parameter"><code>...</code></em>);
<span class="returnvalue">void</span> <a class="link" href="meta-Utility-functions.html#meta-bug" title="meta_bug ()">meta_bug</a> (<em class="parameter"><code>const <span class="type">char</span> *format</code></em>,
<em class="parameter"><code>...</code></em>);
<span class="returnvalue">void</span> <a class="link" href="meta-Utility-functions.html#meta-warning" title="meta_warning ()">meta_warning</a> (<em class="parameter"><code>const <span class="type">char</span> *format</code></em>,
<em class="parameter"><code>...</code></em>);
<span class="returnvalue">void</span> <a class="link" href="meta-Utility-functions.html#meta-fatal" title="meta_fatal ()">meta_fatal</a> (<em class="parameter"><code>const <span class="type">char</span> *format</code></em>,
<em class="parameter"><code>...</code></em>);
enum <a class="link" href="meta-Utility-functions.html#MetaDebugTopic" title="enum MetaDebugTopic">MetaDebugTopic</a>;
<span class="returnvalue">void</span> <a class="link" href="meta-Utility-functions.html#meta-topic-real" title="meta_topic_real ()">meta_topic_real</a> (<em class="parameter"><code><a class="link" href="meta-Utility-functions.html#MetaDebugTopic" title="enum MetaDebugTopic"><span class="type">MetaDebugTopic</span></a> topic</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *format</code></em>,
<em class="parameter"><code>...</code></em>);
<span class="returnvalue">void</span> <a class="link" href="meta-Utility-functions.html#meta-add-verbose-topic" title="meta_add_verbose_topic ()">meta_add_verbose_topic</a> (<em class="parameter"><code><a class="link" href="meta-Utility-functions.html#MetaDebugTopic" title="enum MetaDebugTopic"><span class="type">MetaDebugTopic</span></a> topic</code></em>);
<span class="returnvalue">void</span> <a class="link" href="meta-Utility-functions.html#meta-remove-verbose-topic" title="meta_remove_verbose_topic ()">meta_remove_verbose_topic</a> (<em class="parameter"><code><a class="link" href="meta-Utility-functions.html#MetaDebugTopic" title="enum MetaDebugTopic"><span class="type">MetaDebugTopic</span></a> topic</code></em>);
<span class="returnvalue">void</span> <a class="link" href="meta-Utility-functions.html#meta-push-no-msg-prefix" title="meta_push_no_msg_prefix ()">meta_push_no_msg_prefix</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
<span class="returnvalue">void</span> <a class="link" href="meta-Utility-functions.html#meta-pop-no-msg-prefix" title="meta_pop_no_msg_prefix ()">meta_pop_no_msg_prefix</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
<span class="returnvalue">gint</span> <a class="link" href="meta-Utility-functions.html#meta-unsigned-long-equal" title="meta_unsigned_long_equal ()">meta_unsigned_long_equal</a> (<em class="parameter"><code><span class="type">gconstpointer</span> v1</code></em>,
<em class="parameter"><code><span class="type">gconstpointer</span> v2</code></em>);
<span class="returnvalue">guint</span> <a class="link" href="meta-Utility-functions.html#meta-unsigned-long-hash" title="meta_unsigned_long_hash ()">meta_unsigned_long_hash</a> (<em class="parameter"><code><span class="type">gconstpointer</span> v</code></em>);
const <span class="returnvalue">char</span> * <a class="link" href="meta-Utility-functions.html#meta-frame-type-to-string" title="meta_frame_type_to_string ()">meta_frame_type_to_string</a> (<em class="parameter"><code><a class="link" href="meta-Common.html#MetaFrameType" title="enum MetaFrameType"><span class="type">MetaFrameType</span></a> type</code></em>);
const <span class="returnvalue">char</span> * <a class="link" href="meta-Utility-functions.html#meta-gravity-to-string" title="meta_gravity_to_string ()">meta_gravity_to_string</a> (<em class="parameter"><code><span class="type">int</span> gravity</code></em>);
#define <a class="link" href="meta-Utility-functions.html#gettext-macro" title="_()">_</a> (x)
#define <a class="link" href="meta-Utility-functions.html#N-:CAPS" title="N_()">N_</a> (x)
<span class="returnvalue">char</span> * <a class="link" href="meta-Utility-functions.html#meta-g-utf8-strndup" title="meta_g_utf8_strndup ()">meta_g_utf8_strndup</a> (<em class="parameter"><code>const <span class="type">gchar</span> *src</code></em>,
<em class="parameter"><code><span class="type">gsize</span> n</code></em>);
<span class="returnvalue">void</span> <a class="link" href="meta-Utility-functions.html#meta-free-gslist-and-elements" title="meta_free_gslist_and_elements ()">meta_free_gslist_and_elements</a> (<em class="parameter"><code><span class="type">GSList</span> *list_to_deep_free</code></em>);
<span class="returnvalue">GPid</span> <a class="link" href="meta-Utility-functions.html#meta-show-dialog" title="meta_show_dialog ()">meta_show_dialog</a> (<em class="parameter"><code>const <span class="type">char</span> *type</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *message</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *timeout</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *display</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *ok_text</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *cancel_text</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *icon_name</code></em>,
<em class="parameter"><code>const <span class="type">int</span> transient_for</code></em>,
<em class="parameter"><code><span class="type">GSList</span> *columns</code></em>,
<em class="parameter"><code><span class="type">GSList</span> *entries</code></em>);
#define <a class="link" href="meta-Utility-functions.html#meta-debug-spew" title="meta_debug_spew">meta_debug_spew</a>
#define <a class="link" href="meta-Utility-functions.html#meta-verbose" title="meta_verbose">meta_verbose</a>
#define <a class="link" href="meta-Utility-functions.html#meta-topic" title="meta_topic">meta_topic</a>
enum <a class="link" href="meta-Utility-functions.html#MetaLaterType" title="enum MetaLaterType">MetaLaterType</a>;
<span class="returnvalue">guint</span> <a class="link" href="meta-Utility-functions.html#meta-later-add" title="meta_later_add ()">meta_later_add</a> (<em class="parameter"><code><a class="link" href="meta-Utility-functions.html#MetaLaterType" title="enum MetaLaterType"><span class="type">MetaLaterType</span></a> when</code></em>,
<em class="parameter"><code><span class="type">GSourceFunc</span> func</code></em>,
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>,
<em class="parameter"><code><span class="type">GDestroyNotify</span> notify</code></em>);
<span class="returnvalue">void</span> <a class="link" href="meta-Utility-functions.html#meta-later-remove" title="meta_later_remove ()">meta_later_remove</a> (<em class="parameter"><code><span class="type">guint</span> later_id</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="meta-Utility-functions.description"></a><h2>Description</h2>
</div>
<div class="refsect1">
<a name="meta-Utility-functions.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="meta-is-verbose"></a><h3>meta_is_verbose ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> meta_is_verbose (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="meta-set-verbose"></a><h3>meta_set_verbose ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> meta_set_verbose (<em class="parameter"><code><span class="type">gboolean</span> setting</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="meta-is-debugging"></a><h3>meta_is_debugging ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> meta_is_debugging (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="meta-set-debugging"></a><h3>meta_set_debugging ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> meta_set_debugging (<em class="parameter"><code><span class="type">gboolean</span> setting</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="meta-is-syncing"></a><h3>meta_is_syncing ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> meta_is_syncing (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Returns whether X synchronisation is currently enabled.
</p>
<p>
FIXME: This is *only* called by <code class="function">meta_display_open()</code>, but by that time
we have already turned syncing on or off on startup, and we don't
have any way to do so while Mutter is running, so it's rather
pointless.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<code class="literal">TRUE</code> if we must wait for events whenever we send X requests;
<code class="literal">FALSE</code> otherwise.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="meta-set-syncing"></a><h3>meta_set_syncing ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> meta_set_syncing (<em class="parameter"><code><span class="type">gboolean</span> setting</code></em>);</pre>
<p>
A handy way to turn on synchronisation on or off for every display.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>setting</code></em> :</span></p></td>
<td>whether to turn syncing on or off</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="meta-set-replace-current-wm"></a><h3>meta_set_replace_current_wm ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> meta_set_replace_current_wm (<em class="parameter"><code><span class="type">gboolean</span> setting</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="meta-debug-spew-real"></a><h3>meta_debug_spew_real ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> meta_debug_spew_real (<em class="parameter"><code>const <span class="type">char</span> *format</code></em>,
<em class="parameter"><code>...</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="meta-verbose-real"></a><h3>meta_verbose_real ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> meta_verbose_real (<em class="parameter"><code>const <span class="type">char</span> *format</code></em>,
<em class="parameter"><code>...</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="meta-bug"></a><h3>meta_bug ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> meta_bug (<em class="parameter"><code>const <span class="type">char</span> *format</code></em>,
<em class="parameter"><code>...</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="meta-warning"></a><h3>meta_warning ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> meta_warning (<em class="parameter"><code>const <span class="type">char</span> *format</code></em>,
<em class="parameter"><code>...</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="meta-fatal"></a><h3>meta_fatal ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> meta_fatal (<em class="parameter"><code>const <span class="type">char</span> *format</code></em>,
<em class="parameter"><code>...</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="MetaDebugTopic"></a><h3>enum MetaDebugTopic</h3>
<pre class="programlisting">typedef enum {
META_DEBUG_VERBOSE = -1,
META_DEBUG_FOCUS = 1 << 0,
META_DEBUG_WORKAREA = 1 << 1,
META_DEBUG_STACK = 1 << 2,
META_DEBUG_THEMES = 1 << 3,
META_DEBUG_SM = 1 << 4,
META_DEBUG_EVENTS = 1 << 5,
META_DEBUG_WINDOW_STATE = 1 << 6,
META_DEBUG_WINDOW_OPS = 1 << 7,
META_DEBUG_GEOMETRY = 1 << 8,
META_DEBUG_PLACEMENT = 1 << 9,
META_DEBUG_PING = 1 << 10,
META_DEBUG_XINERAMA = 1 << 11,
META_DEBUG_KEYBINDINGS = 1 << 12,
META_DEBUG_SYNC = 1 << 13,
META_DEBUG_ERRORS = 1 << 14,
META_DEBUG_STARTUP = 1 << 15,
META_DEBUG_PREFS = 1 << 16,
META_DEBUG_GROUPS = 1 << 17,
META_DEBUG_RESIZING = 1 << 18,
META_DEBUG_SHAPES = 1 << 19,
META_DEBUG_COMPOSITOR = 1 << 20,
META_DEBUG_EDGE_RESISTANCE = 1 << 21,
META_DEBUG_DBUS = 1 << 22
} MetaDebugTopic;
</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><a name="META-DEBUG-VERBOSE:CAPS"></a><span class="term"><code class="literal">META_DEBUG_VERBOSE</code></span></p></td>
<td>verbose logging
</td>
</tr>
<tr>
<td><p><a name="META-DEBUG-FOCUS:CAPS"></a><span class="term"><code class="literal">META_DEBUG_FOCUS</code></span></p></td>
<td>focus
</td>
</tr>
<tr>
<td><p><a name="META-DEBUG-WORKAREA:CAPS"></a><span class="term"><code class="literal">META_DEBUG_WORKAREA</code></span></p></td>
<td>workarea
</td>
</tr>
<tr>
<td><p><a name="META-DEBUG-STACK:CAPS"></a><span class="term"><code class="literal">META_DEBUG_STACK</code></span></p></td>
<td>stack
</td>
</tr>
<tr>
<td><p><a name="META-DEBUG-THEMES:CAPS"></a><span class="term"><code class="literal">META_DEBUG_THEMES</code></span></p></td>
<td>themes
</td>
</tr>
<tr>
<td><p><a name="META-DEBUG-SM:CAPS"></a><span class="term"><code class="literal">META_DEBUG_SM</code></span></p></td>
<td>session management
</td>
</tr>
<tr>
<td><p><a name="META-DEBUG-EVENTS:CAPS"></a><span class="term"><code class="literal">META_DEBUG_EVENTS</code></span></p></td>
<td>events
</td>
</tr>
<tr>
<td><p><a name="META-DEBUG-WINDOW-STATE:CAPS"></a><span class="term"><code class="literal">META_DEBUG_WINDOW_STATE</code></span></p></td>
<td>window state
</td>
</tr>
<tr>
<td><p><a name="META-DEBUG-WINDOW-OPS:CAPS"></a><span class="term"><code class="literal">META_DEBUG_WINDOW_OPS</code></span></p></td>
<td>window operations
</td>
</tr>
<tr>
<td><p><a name="META-DEBUG-GEOMETRY:CAPS"></a><span class="term"><code class="literal">META_DEBUG_GEOMETRY</code></span></p></td>
<td>geometry
</td>
</tr>
<tr>
<td><p><a name="META-DEBUG-PLACEMENT:CAPS"></a><span class="term"><code class="literal">META_DEBUG_PLACEMENT</code></span></p></td>
<td>window placement
</td>
</tr>
<tr>
<td><p><a name="META-DEBUG-PING:CAPS"></a><span class="term"><code class="literal">META_DEBUG_PING</code></span></p></td>
<td>ping
</td>
</tr>
<tr>
<td><p><a name="META-DEBUG-XINERAMA:CAPS"></a><span class="term"><code class="literal">META_DEBUG_XINERAMA</code></span></p></td>
<td>Xinerama
</td>
</tr>
<tr>
<td><p><a name="META-DEBUG-KEYBINDINGS:CAPS"></a><span class="term"><code class="literal">META_DEBUG_KEYBINDINGS</code></span></p></td>
<td>keybindings
</td>
</tr>
<tr>
<td><p><a name="META-DEBUG-SYNC:CAPS"></a><span class="term"><code class="literal">META_DEBUG_SYNC</code></span></p></td>
<td>sync
</td>
</tr>
<tr>
<td><p><a name="META-DEBUG-ERRORS:CAPS"></a><span class="term"><code class="literal">META_DEBUG_ERRORS</code></span></p></td>
<td>errors
</td>
</tr>
<tr>
<td><p><a name="META-DEBUG-STARTUP:CAPS"></a><span class="term"><code class="literal">META_DEBUG_STARTUP</code></span></p></td>
<td>startup
</td>
</tr>
<tr>
<td><p><a name="META-DEBUG-PREFS:CAPS"></a><span class="term"><code class="literal">META_DEBUG_PREFS</code></span></p></td>
<td>preferences
</td>
</tr>
<tr>
<td><p><a name="META-DEBUG-GROUPS:CAPS"></a><span class="term"><code class="literal">META_DEBUG_GROUPS</code></span></p></td>
<td>groups
</td>
</tr>
<tr>
<td><p><a name="META-DEBUG-RESIZING:CAPS"></a><span class="term"><code class="literal">META_DEBUG_RESIZING</code></span></p></td>
<td>resizing
</td>
</tr>
<tr>
<td><p><a name="META-DEBUG-SHAPES:CAPS"></a><span class="term"><code class="literal">META_DEBUG_SHAPES</code></span></p></td>
<td>shapes
</td>
</tr>
<tr>
<td><p><a name="META-DEBUG-COMPOSITOR:CAPS"></a><span class="term"><code class="literal">META_DEBUG_COMPOSITOR</code></span></p></td>
<td>compositor
</td>
</tr>
<tr>
<td><p><a name="META-DEBUG-EDGE-RESISTANCE:CAPS"></a><span class="term"><code class="literal">META_DEBUG_EDGE_RESISTANCE</code></span></p></td>
<td>edge resistance
</td>
</tr>
<tr>
<td><p><a name="META-DEBUG-DBUS:CAPS"></a><span class="term"><code class="literal">META_DEBUG_DBUS</code></span></p></td>
<td></td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="meta-topic-real"></a><h3>meta_topic_real ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> meta_topic_real (<em class="parameter"><code><a class="link" href="meta-Utility-functions.html#MetaDebugTopic" title="enum MetaDebugTopic"><span class="type">MetaDebugTopic</span></a> topic</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *format</code></em>,
<em class="parameter"><code>...</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="meta-add-verbose-topic"></a><h3>meta_add_verbose_topic ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> meta_add_verbose_topic (<em class="parameter"><code><a class="link" href="meta-Utility-functions.html#MetaDebugTopic" title="enum MetaDebugTopic"><span class="type">MetaDebugTopic</span></a> topic</code></em>);</pre>
<p>
Ensure log messages for the given topic <em class="parameter"><code>topic</code></em>
will be printed.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>topic</code></em> :</span></p></td>
<td>Topic for which logging will be started</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="meta-remove-verbose-topic"></a><h3>meta_remove_verbose_topic ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> meta_remove_verbose_topic (<em class="parameter"><code><a class="link" href="meta-Utility-functions.html#MetaDebugTopic" title="enum MetaDebugTopic"><span class="type">MetaDebugTopic</span></a> topic</code></em>);</pre>
<p>
Stop printing log messages for the given topic <em class="parameter"><code>topic</code></em>. Note
that this method does not stack with <a class="link" href="meta-Utility-functions.html#meta-add-verbose-topic" title="meta_add_verbose_topic ()"><code class="function">meta_add_verbose_topic()</code></a>;
i.e. if two calls to <a class="link" href="meta-Utility-functions.html#meta-add-verbose-topic" title="meta_add_verbose_topic ()"><code class="function">meta_add_verbose_topic()</code></a> for the same
topic are made, one call to <a class="link" href="meta-Utility-functions.html#meta-remove-verbose-topic" title="meta_remove_verbose_topic ()"><code class="function">meta_remove_verbose_topic()</code></a> will
remove it.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>topic</code></em> :</span></p></td>
<td>Topic for which logging will be stopped</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="meta-push-no-msg-prefix"></a><h3>meta_push_no_msg_prefix ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> meta_push_no_msg_prefix (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="meta-pop-no-msg-prefix"></a><h3>meta_pop_no_msg_prefix ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> meta_pop_no_msg_prefix (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="meta-unsigned-long-equal"></a><h3>meta_unsigned_long_equal ()</h3>
<pre class="programlisting"><span class="returnvalue">gint</span> meta_unsigned_long_equal (<em class="parameter"><code><span class="type">gconstpointer</span> v1</code></em>,
<em class="parameter"><code><span class="type">gconstpointer</span> v2</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="meta-unsigned-long-hash"></a><h3>meta_unsigned_long_hash ()</h3>
<pre class="programlisting"><span class="returnvalue">guint</span> meta_unsigned_long_hash (<em class="parameter"><code><span class="type">gconstpointer</span> v</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="meta-frame-type-to-string"></a><h3>meta_frame_type_to_string ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> * meta_frame_type_to_string (<em class="parameter"><code><a class="link" href="meta-Common.html#MetaFrameType" title="enum MetaFrameType"><span class="type">MetaFrameType</span></a> type</code></em>);</pre>
<p>
Converts a frame type enum value to the name string that would
appear in the theme definition file.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
<td>a <a class="link" href="meta-Common.html#MetaFrameType" title="enum MetaFrameType"><span class="type">MetaFrameType</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the string value</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="meta-gravity-to-string"></a><h3>meta_gravity_to_string ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> * meta_gravity_to_string (<em class="parameter"><code><span class="type">int</span> gravity</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gettext-macro"></a><h3>_()</h3>
<pre class="programlisting">#define _(x) dgettext (GETTEXT_PACKAGE, x)
</pre>
</div>
<hr>
<div class="refsect2">
<a name="N-:CAPS"></a><h3>N_()</h3>
<pre class="programlisting">#define N_(x) x
</pre>
</div>
<hr>
<div class="refsect2">
<a name="meta-g-utf8-strndup"></a><h3>meta_g_utf8_strndup ()</h3>
<pre class="programlisting"><span class="returnvalue">char</span> * meta_g_utf8_strndup (<em class="parameter"><code>const <span class="type">gchar</span> *src</code></em>,
<em class="parameter"><code><span class="type">gsize</span> n</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="meta-free-gslist-and-elements"></a><h3>meta_free_gslist_and_elements ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> meta_free_gslist_and_elements (<em class="parameter"><code><span class="type">GSList</span> *list_to_deep_free</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>list_to_deep_free</code></em> :</span></p></td>
<td>list to deep free</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="meta-show-dialog"></a><h3>meta_show_dialog ()</h3>
<pre class="programlisting"><span class="returnvalue">GPid</span> meta_show_dialog (<em class="parameter"><code>const <span class="type">char</span> *type</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *message</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *timeout</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *display</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *ok_text</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *cancel_text</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *icon_name</code></em>,
<em class="parameter"><code>const <span class="type">int</span> transient_for</code></em>,
<em class="parameter"><code><span class="type">GSList</span> *columns</code></em>,
<em class="parameter"><code><span class="type">GSList</span> *entries</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
<td>type of dialog</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>message</code></em> :</span></p></td>
<td>message</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>timeout</code></em> :</span></p></td>
<td>timeout</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>display</code></em> :</span></p></td>
<td>display</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>ok_text</code></em> :</span></p></td>
<td>text for Ok button</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>cancel_text</code></em> :</span></p></td>
<td>text for Cancel button</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>icon_name</code></em> :</span></p></td>
<td>icon name</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>transient_for</code></em> :</span></p></td>
<td>window XID of parent</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>columns</code></em> :</span></p></td>
<td>columns</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>entries</code></em> :</span></p></td>
<td>entries</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="meta-debug-spew"></a><h3>meta_debug_spew</h3>
<pre class="programlisting">#define meta_debug_spew meta_debug_spew_real
</pre>
</div>
<hr>
<div class="refsect2">
<a name="meta-verbose"></a><h3>meta_verbose</h3>
<pre class="programlisting">#define meta_verbose meta_verbose_real
</pre>
</div>
<hr>
<div class="refsect2">
<a name="meta-topic"></a><h3>meta_topic</h3>
<pre class="programlisting">#define meta_topic meta_topic_real
</pre>
</div>
<hr>
<div class="refsect2">
<a name="MetaLaterType"></a><h3>enum MetaLaterType</h3>
<pre class="programlisting">typedef enum {
META_LATER_RESIZE,
META_LATER_CALC_SHOWING,
META_LATER_CHECK_FULLSCREEN,
META_LATER_SYNC_STACK,
META_LATER_BEFORE_REDRAW,
META_LATER_IDLE
} MetaLaterType;
</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><a name="META-LATER-RESIZE:CAPS"></a><span class="term"><code class="literal">META_LATER_RESIZE</code></span></p></td>
<td>call in a resize processing phase that is done
before GTK+ repainting (including window borders) is done.
</td>
</tr>
<tr>
<td><p><a name="META-LATER-CALC-SHOWING:CAPS"></a><span class="term"><code class="literal">META_LATER_CALC_SHOWING</code></span></p></td>
<td>used by Mutter to compute which windows should be mapped
</td>
</tr>
<tr>
<td><p><a name="META-LATER-CHECK-FULLSCREEN:CAPS"></a><span class="term"><code class="literal">META_LATER_CHECK_FULLSCREEN</code></span></p></td>
<td>used by Mutter to see if there's a fullscreen window
</td>
</tr>
<tr>
<td><p><a name="META-LATER-SYNC-STACK:CAPS"></a><span class="term"><code class="literal">META_LATER_SYNC_STACK</code></span></p></td>
<td>used by Mutter to send it's idea of the stacking order to the server
</td>
</tr>
<tr>
<td><p><a name="META-LATER-BEFORE-REDRAW:CAPS"></a><span class="term"><code class="literal">META_LATER_BEFORE_REDRAW</code></span></p></td>
<td>call before the stage is redrawn
</td>
</tr>
<tr>
<td><p><a name="META-LATER-IDLE:CAPS"></a><span class="term"><code class="literal">META_LATER_IDLE</code></span></p></td>
<td>call at a very low priority (can be blocked
by running animations or redrawing applications)
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="meta-later-add"></a><h3>meta_later_add ()</h3>
<pre class="programlisting"><span class="returnvalue">guint</span> meta_later_add (<em class="parameter"><code><a class="link" href="meta-Utility-functions.html#MetaLaterType" title="enum MetaLaterType"><span class="type">MetaLaterType</span></a> when</code></em>,
<em class="parameter"><code><span class="type">GSourceFunc</span> func</code></em>,
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>,
<em class="parameter"><code><span class="type">GDestroyNotify</span> notify</code></em>);</pre>
<p>
Sets up a callback to be called at some later time. <em class="parameter"><code>when</code></em> determines the
particular later occasion at which it is called. This is much like <code class="function">g_idle_add()</code>,
except that the functions interact properly with clutter event handling.
If a "later" function is added from a clutter event handler, and is supposed
to be run before the stage is redrawn, it will be run before that redraw
of the stage, not the next one.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>when</code></em> :</span></p></td>
<td>enumeration value determining the phase at which to run the callback</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
<td>callback to run later</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>data to pass to the callback</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>notify</code></em> :</span></p></td>
<td>function to call to destroy <em class="parameter"><code>data</code></em> when it is no longer in use, or <code class="literal">NULL</code>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>an integer ID (guaranteed to be non-zero) that can be used
to cancel the callback and prevent it from being run.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="meta-later-remove"></a><h3>meta_later_remove ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> meta_later_remove (<em class="parameter"><code><span class="type">guint</span> later_id</code></em>);</pre>
<p>
Removes a callback added with <a class="link" href="meta-Utility-functions.html#meta-later-add" title="meta_later_add ()"><code class="function">meta_later_add()</code></a>
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>later_id</code></em> :</span></p></td>
<td>the integer ID returned from <a class="link" href="meta-Utility-functions.html#meta-later-add" title="meta_later_add ()"><code class="function">meta_later_add()</code></a>
</td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.19.1</div>
</body>
</html>
|