This file is indexed.

/usr/share/gtk-doc/html/muffin/MetaPlugin.html is in muffin-doc 3.6.0-1.

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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>MetaPlugin: Muffin Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="Muffin Reference Manual">
<link rel="up" href="core-reference.html" title="Part III. Muffin Core Reference">
<link rel="prev" href="muffin-Errors.html" title="Errors">
<link rel="next" href="MetaRectangle.html" title="MetaRectangle">
<meta name="generator" content="GTK-Doc V1.27 (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="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#MetaPlugin.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
                  <a href="#MetaPlugin.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties">  <span class="dim">|</span> 
                  <a href="#MetaPlugin.properties" class="shortcut">Properties</a></span>
</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="muffin-Errors.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="MetaRectangle.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="MetaPlugin"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="MetaPlugin.top_of_page"></a>MetaPlugin</span></h2>
<p>MetaPlugin — Entry point for plugins</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="MetaPlugin.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="MetaPlugin.html#meta-plugin-running" title="meta_plugin_running ()">meta_plugin_running</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="MetaPlugin.html#meta-plugin-debug-mode" title="meta_plugin_debug_mode ()">meta_plugin_debug_mode</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a class="link" href="MetaPlugin.html#MetaPluginInfo" title="struct MetaPluginInfo"><span class="returnvalue">MetaPluginInfo</span></a> *
</td>
<td class="function_name">
<a class="link" href="MetaPlugin.html#meta-plugin-get-info" title="meta_plugin_get_info ()">meta_plugin_get_info</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="MetaPlugin.html#META-PLUGIN-DECLARE:CAPS" title="META_PLUGIN_DECLARE()">META_PLUGIN_DECLARE</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="MetaPlugin.html#meta-plugin-switch-workspace-completed" title="meta_plugin_switch_workspace_completed ()">meta_plugin_switch_workspace_completed</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="MetaPlugin.html#meta-plugin-minimize-completed" title="meta_plugin_minimize_completed ()">meta_plugin_minimize_completed</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="MetaPlugin.html#meta-plugin-maximize-completed" title="meta_plugin_maximize_completed ()">meta_plugin_maximize_completed</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="MetaPlugin.html#meta-plugin-unmaximize-completed" title="meta_plugin_unmaximize_completed ()">meta_plugin_unmaximize_completed</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="MetaPlugin.html#meta-plugin-tile-completed" title="meta_plugin_tile_completed ()">meta_plugin_tile_completed</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="MetaPlugin.html#meta-plugin-map-completed" title="meta_plugin_map_completed ()">meta_plugin_map_completed</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="MetaPlugin.html#meta-plugin-destroy-completed" title="meta_plugin_destroy_completed ()">meta_plugin_destroy_completed</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="MetaPlugin.html#meta-plugin-begin-modal" title="meta_plugin_begin_modal ()">meta_plugin_begin_modal</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="MetaPlugin.html#meta-plugin-end-modal" title="meta_plugin_end_modal ()">meta_plugin_end_modal</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="MetaScreen.html" title="MetaScreen"><span class="returnvalue">MetaScreen</span></a> *
</td>
<td class="function_name">
<a class="link" href="MetaPlugin.html#meta-plugin-get-screen" title="meta_plugin_get_screen ()">meta_plugin_get_screen</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="MetaPlugin.html#meta-plugin-manager-set-plugin-type" title="meta_plugin_manager_set_plugin_type ()">meta_plugin_manager_set_plugin_type</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="MetaPlugin.properties"></a><h2>Properties</h2>
<div class="informaltable"><table class="informaltable" border="0">
<colgroup>
<col width="150px" class="properties_type">
<col width="300px" class="properties_name">
<col width="200px" class="properties_flags">
</colgroup>
<tbody>
<tr>
<td class="property_type"><span class="type">gboolean</span></td>
<td class="property_name"><a class="link" href="MetaPlugin.html#MetaPlugin--debug-mode" title="The “debug-mode” property">debug-mode</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type">
<a class="link" href="MetaScreen.html" title="MetaScreen"><span class="type">MetaScreen</span></a> *</td>
<td class="property_name"><a class="link" href="MetaPlugin.html#MetaPlugin--screen" title="The “screen” property">screen</a></td>
<td class="property_flags">Read / Write</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="MetaPlugin.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="MetaPlugin.html#MetaPlugin-struct" title="struct MetaPlugin">MetaPlugin</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="MetaPlugin.html#MetaPluginClass" title="struct MetaPluginClass">MetaPluginClass</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="MetaPlugin.html#MetaPluginInfo" title="struct MetaPluginInfo">MetaPluginInfo</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="MetaPlugin.html#MetaPluginVersion" title="struct MetaPluginVersion">MetaPluginVersion</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="MetaPlugin.html#MetaModalOptions" title="enum MetaModalOptions">MetaModalOptions</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="MetaPlugin.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">    GObject
    <span class="lineart">╰──</span> MetaPlugin
</pre>
</div>
<div class="refsect1">
<a name="MetaPlugin.description"></a><h2>Description</h2>
</div>
<div class="refsect1">
<a name="MetaPlugin.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="meta-plugin-running"></a><h3>meta_plugin_running ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
meta_plugin_running (<em class="parameter"><code><a class="link" href="MetaPlugin.html" title="MetaPlugin"><span class="type">MetaPlugin</span></a> *plugin</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="meta-plugin-debug-mode"></a><h3>meta_plugin_debug_mode ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
meta_plugin_debug_mode (<em class="parameter"><code><a class="link" href="MetaPlugin.html" title="MetaPlugin"><span class="type">MetaPlugin</span></a> *plugin</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="meta-plugin-get-info"></a><h3>meta_plugin_get_info ()</h3>
<pre class="programlisting">const <a class="link" href="MetaPlugin.html#MetaPluginInfo" title="struct MetaPluginInfo"><span class="returnvalue">MetaPluginInfo</span></a> *
meta_plugin_get_info (<em class="parameter"><code><a class="link" href="MetaPlugin.html" title="MetaPlugin"><span class="type">MetaPlugin</span></a> *plugin</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="META-PLUGIN-DECLARE:CAPS"></a><h3>META_PLUGIN_DECLARE()</h3>
<pre class="programlisting">#define             META_PLUGIN_DECLARE(ObjectName, object_name)</pre>
</div>
<hr>
<div class="refsect2">
<a name="meta-plugin-switch-workspace-completed"></a><h3>meta_plugin_switch_workspace_completed ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
meta_plugin_switch_workspace_completed
                               (<em class="parameter"><code><a class="link" href="MetaPlugin.html" title="MetaPlugin"><span class="type">MetaPlugin</span></a> *plugin</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="meta-plugin-minimize-completed"></a><h3>meta_plugin_minimize_completed ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
meta_plugin_minimize_completed (<em class="parameter"><code><a class="link" href="MetaPlugin.html" title="MetaPlugin"><span class="type">MetaPlugin</span></a> *plugin</code></em>,
                                <em class="parameter"><code><a class="link" href="MetaWindowActor.html" title="MetaWindowActor"><span class="type">MetaWindowActor</span></a> *actor</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="meta-plugin-maximize-completed"></a><h3>meta_plugin_maximize_completed ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
meta_plugin_maximize_completed (<em class="parameter"><code><a class="link" href="MetaPlugin.html" title="MetaPlugin"><span class="type">MetaPlugin</span></a> *plugin</code></em>,
                                <em class="parameter"><code><a class="link" href="MetaWindowActor.html" title="MetaWindowActor"><span class="type">MetaWindowActor</span></a> *actor</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="meta-plugin-unmaximize-completed"></a><h3>meta_plugin_unmaximize_completed ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
meta_plugin_unmaximize_completed (<em class="parameter"><code><a class="link" href="MetaPlugin.html" title="MetaPlugin"><span class="type">MetaPlugin</span></a> *plugin</code></em>,
                                  <em class="parameter"><code><a class="link" href="MetaWindowActor.html" title="MetaWindowActor"><span class="type">MetaWindowActor</span></a> *actor</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="meta-plugin-tile-completed"></a><h3>meta_plugin_tile_completed ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
meta_plugin_tile_completed (<em class="parameter"><code><a class="link" href="MetaPlugin.html" title="MetaPlugin"><span class="type">MetaPlugin</span></a> *plugin</code></em>,
                            <em class="parameter"><code><a class="link" href="MetaWindowActor.html" title="MetaWindowActor"><span class="type">MetaWindowActor</span></a> *actor</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="meta-plugin-map-completed"></a><h3>meta_plugin_map_completed ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
meta_plugin_map_completed (<em class="parameter"><code><a class="link" href="MetaPlugin.html" title="MetaPlugin"><span class="type">MetaPlugin</span></a> *plugin</code></em>,
                           <em class="parameter"><code><a class="link" href="MetaWindowActor.html" title="MetaWindowActor"><span class="type">MetaWindowActor</span></a> *actor</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="meta-plugin-destroy-completed"></a><h3>meta_plugin_destroy_completed ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
meta_plugin_destroy_completed (<em class="parameter"><code><a class="link" href="MetaPlugin.html" title="MetaPlugin"><span class="type">MetaPlugin</span></a> *plugin</code></em>,
                               <em class="parameter"><code><a class="link" href="MetaWindowActor.html" title="MetaWindowActor"><span class="type">MetaWindowActor</span></a> *actor</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="meta-plugin-begin-modal"></a><h3>meta_plugin_begin_modal ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
meta_plugin_begin_modal (<em class="parameter"><code><a class="link" href="MetaPlugin.html" title="MetaPlugin"><span class="type">MetaPlugin</span></a> *plugin</code></em>,
                         <em class="parameter"><code><span class="type">Window</span> grab_window</code></em>,
                         <em class="parameter"><code><span class="type">Cursor</span> cursor</code></em>,
                         <em class="parameter"><code><a class="link" href="MetaPlugin.html#MetaModalOptions" title="enum MetaModalOptions"><span class="type">MetaModalOptions</span></a> options</code></em>,
                         <em class="parameter"><code><span class="type">guint32</span> timestamp</code></em>);</pre>
<p>This function is used to grab the keyboard and mouse for the exclusive
use of the plugin. Correct operation requires that both the keyboard
and mouse are grabbed, or thing will break. (In particular, other
passive X grabs in Meta can trigger but not be handled by the normal
keybinding handling code.) However, the plugin can establish the keyboard
and/or mouse grabs ahead of time and pass in the
<a class="link" href="MetaPlugin.html#META-MODAL-POINTER-ALREADY-GRABBED:CAPS"><code class="literal">META_MODAL_POINTER_ALREADY_GRABBED</code></a> and/or <a class="link" href="MetaPlugin.html#META-MODAL-KEYBOARD-ALREADY-GRABBED:CAPS"><code class="literal">META_MODAL_KEYBOARD_ALREADY_GRABBED</code></a>
options. This facility is provided for two reasons: first to allow using
this function to establish modality after a passive grab, and second to
allow using obscure features of <code class="function">XGrabPointer()</code> and <code class="function">XGrabKeyboard()</code> without
having to add them to this API.</p>
<div class="refsect3">
<a name="meta-plugin-begin-modal.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>plugin</p></td>
<td class="parameter_description"><p>a <a class="link" href="MetaPlugin.html" title="MetaPlugin"><span class="type">MetaPlugin</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>grab_window</p></td>
<td class="parameter_description"><p>the X window to grab the keyboard and mouse on</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cursor</p></td>
<td class="parameter_description"><p>the cursor to use for the pointer grab, or None,
to use the normal cursor for the grab window and
its descendants.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>options</p></td>
<td class="parameter_description"><p>flags that modify the behavior of the modal grab</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>timestamp</p></td>
<td class="parameter_description"><p>the timestamp used for establishing grabs</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="meta-plugin-begin-modal.returns"></a><h4>Returns</h4>
<p> whether we successfully grabbed the keyboard and
mouse and made the plugin modal.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="meta-plugin-end-modal"></a><h3>meta_plugin_end_modal ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
meta_plugin_end_modal (<em class="parameter"><code><a class="link" href="MetaPlugin.html" title="MetaPlugin"><span class="type">MetaPlugin</span></a> *plugin</code></em>,
                       <em class="parameter"><code><span class="type">guint32</span> timestamp</code></em>);</pre>
<p>Ends the modal operation begun with <a class="link" href="MetaPlugin.html#meta-plugin-begin-modal" title="meta_plugin_begin_modal ()"><code class="function">meta_plugin_begin_modal()</code></a>. This
ungrabs both the mouse and keyboard even when
<a class="link" href="MetaPlugin.html#META-MODAL-POINTER-ALREADY-GRABBED:CAPS"><code class="literal">META_MODAL_POINTER_ALREADY_GRABBED</code></a> or
<a class="link" href="MetaPlugin.html#META-MODAL-KEYBOARD-ALREADY-GRABBED:CAPS"><code class="literal">META_MODAL_KEYBOARD_ALREADY_GRABBED</code></a> were provided as options
when beginnning the modal operation.</p>
<div class="refsect3">
<a name="meta-plugin-end-modal.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>plugin</p></td>
<td class="parameter_description"><p>a <a class="link" href="MetaPlugin.html" title="MetaPlugin"><span class="type">MetaPlugin</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>timestamp</p></td>
<td class="parameter_description"><p>the time used for releasing grabs</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="meta-plugin-get-screen"></a><h3>meta_plugin_get_screen ()</h3>
<pre class="programlisting"><a class="link" href="MetaScreen.html" title="MetaScreen"><span class="returnvalue">MetaScreen</span></a> *
meta_plugin_get_screen (<em class="parameter"><code><a class="link" href="MetaPlugin.html" title="MetaPlugin"><span class="type">MetaPlugin</span></a> *plugin</code></em>);</pre>
<p>Gets the <a class="link" href="MetaScreen.html" title="MetaScreen"><span class="type">MetaScreen</span></a> corresponding to a plugin. Each plugin instance
is associated with exactly one screen; if Metacity is managing
multiple screens, multiple plugin instances will be created.</p>
<div class="refsect3">
<a name="meta-plugin-get-screen.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>plugin</p></td>
<td class="parameter_description"><p>a <a class="link" href="MetaPlugin.html" title="MetaPlugin"><span class="type">MetaPlugin</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="meta-plugin-get-screen.returns"></a><h4>Returns</h4>
<p>the <a class="link" href="MetaScreen.html" title="MetaScreen"><span class="type">MetaScreen</span></a> for the plugin. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="meta-plugin-manager-set-plugin-type"></a><h3>meta_plugin_manager_set_plugin_type ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
meta_plugin_manager_set_plugin_type (<em class="parameter"><code><span class="type">GType</span> gtype</code></em>);</pre>
</div>
</div>
<div class="refsect1">
<a name="MetaPlugin.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="MetaPlugin-struct"></a><h3>struct MetaPlugin</h3>
<pre class="programlisting">struct MetaPlugin;</pre>
</div>
<hr>
<div class="refsect2">
<a name="MetaPluginClass"></a><h3>struct MetaPluginClass</h3>
<pre class="programlisting">struct MetaPluginClass {
  GObjectClass parent_class;

  void (*start)            (MetaPlugin         *plugin);

  void (*minimize)         (MetaPlugin         *plugin,
                            MetaWindowActor    *actor);

  void (*maximize)         (MetaPlugin         *plugin,
                            MetaWindowActor    *actor,
                            gint                x,
                            gint                y,
                            gint                width,
                            gint                height);

  void (*unmaximize)       (MetaPlugin         *plugin,
                            MetaWindowActor    *actor,
                            gint                x,
                            gint                y,
                            gint                width,
                            gint                height);

  void (*tile)             (MetaPlugin         *plugin,
                            MetaWindowActor    *actor,
                            gint                x,
                            gint                y,
                            gint                width,
                            gint                height);

  void (*map)              (MetaPlugin         *plugin,
                            MetaWindowActor    *actor);

  void (*destroy)          (MetaPlugin         *plugin,
                            MetaWindowActor    *actor);

  void (*switch_workspace) (MetaPlugin         *plugin,
                            gint                from,
                            gint                to,
                            MetaMotionDirection direction);

  void (*show_tile_preview) (MetaPlugin         *plugin,
                             MetaWindow         *window,
                             MetaRectangle      *tile_rect,
                             int                tile_monitor_number,
                             guint              snap_queued);

  void (*hide_tile_preview) (MetaPlugin         *plugin);

  void (*show_hud_preview) (MetaPlugin          *plugin,
                            guint               current_proximity_zone,
                            MetaRectangle       *work_area,
                            guint               snap_queued);

  void (*hide_hud_preview) (MetaPlugin         *plugin);

  /*
   * Called if an effects should be killed prematurely; the plugin must
   * call the completed() callback as if the effect terminated naturally.
   */
  void (*kill_window_effects)      (MetaPlugin      *plugin,
                                    MetaWindowActor *actor);

  /* General XEvent filter. This is fired *before* meta itself handles
   * an event. Return TRUE to block any further processing.
   */
  gboolean (*xevent_filter) (MetaPlugin       *plugin,
                             XEvent           *event);

  const MetaPluginInfo * (*plugin_info) (MetaPlugin *plugin);
};
</pre>
</div>
<hr>
<div class="refsect2">
<a name="MetaPluginInfo"></a><h3>struct MetaPluginInfo</h3>
<pre class="programlisting">struct MetaPluginInfo {
  const gchar *name;
  const gchar *version;
  const gchar *author;
  const gchar *license;
  const gchar *description;
};
</pre>
</div>
<hr>
<div class="refsect2">
<a name="MetaPluginVersion"></a><h3>struct MetaPluginVersion</h3>
<pre class="programlisting">struct MetaPluginVersion {
  /*
   * Version information; the first three numbers match the Meta version
   * with which the plugin was compiled (see clutter-plugins/simple.c for sample
   * code).
   */
  guint version_major;
  guint version_minor;
  guint version_micro;

  /*
   * Version of the plugin API; this is unrelated to the matacity version
   * per se. The API version is checked by the plugin manager and must match
   * the one used by it (see clutter-plugins/default.c for sample code).
   */
  guint version_api;
};
</pre>
</div>
<hr>
<div class="refsect2">
<a name="MetaModalOptions"></a><h3>enum MetaModalOptions</h3>
<p>Options that can be provided when calling <a class="link" href="MetaPlugin.html#meta-plugin-begin-modal" title="meta_plugin_begin_modal ()"><code class="function">meta_plugin_begin_modal()</code></a>.</p>
<div class="refsect3">
<a name="MetaModalOptions.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="META-MODAL-POINTER-ALREADY-GRABBED:CAPS"></a>META_MODAL_POINTER_ALREADY_GRABBED</p></td>
<td class="enum_member_description">
<p>if set the pointer is already
  grabbed by the plugin and should not be grabbed again.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="META-MODAL-KEYBOARD-ALREADY-GRABBED:CAPS"></a>META_MODAL_KEYBOARD_ALREADY_GRABBED</p></td>
<td class="enum_member_description">
<p>if set the keyboard is already
  grabbed by the plugin and should not be grabbed again.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="MetaPlugin.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="MetaPlugin--debug-mode"></a><h3>The <code class="literal">“debug-mode”</code> property</h3>
<pre class="programlisting">  “debug-mode”               <span class="type">gboolean</span></pre>
<p>Debug Mode.</p>
<p>Flags: Read</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="MetaPlugin--screen"></a><h3>The <code class="literal">“screen”</code> property</h3>
<pre class="programlisting">  “screen”                   <a class="link" href="MetaScreen.html" title="MetaScreen"><span class="type">MetaScreen</span></a> *</pre>
<p>MetaScreen.</p>
<p>Flags: Read / Write</p>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.27</div>
</body>
</html>