This file is indexed.

/usr/share/gtk-doc/html/shell/shell-shell-app.html is in gnome-shell-common 3.18.4-0ubuntu3.

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
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>shell-app: Shell Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Shell Reference Manual">
<link rel="up" href="ch02.html" title="Application tracking">
<link rel="prev" href="ch02.html" title="Application tracking">
<link rel="next" href="shell-shell-app-usage.html" title="shell-app-usage">
<meta name="generator" content="GTK-Doc V1.24.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="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="#shell-shell-app.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
                  <a href="#shell-shell-app.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties">  <span class="dim">|</span> 
                  <a href="#shell-shell-app.properties" class="shortcut">Properties</a></span><span id="nav_signals">  <span class="dim">|</span> 
                  <a href="#shell-shell-app.signals" class="shortcut">Signals</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="ch02.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="ch02.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="shell-shell-app-usage.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="shell-shell-app"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="shell-shell-app.top_of_page"></a>shell-app</span></h2>
<p>shell-app — Object representing an application</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="shell-shell-app.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">const <span class="returnvalue">char</span> *
</td>
<td class="function_name">
<a class="link" href="shell-shell-app.html#shell-app-get-id" title="shell_app_get_id ()">shell_app_get_id</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="https://developer.gnome.org/gio/unstable/gio-Desktop-file-based-GAppInfo.html#GDesktopAppInfo-struct"><span class="returnvalue">GDesktopAppInfo</span></a> *
</td>
<td class="function_name">
<a class="link" href="shell-shell-app.html#shell-app-get-app-info" title="shell_app_get_app_info ()">shell_app_get_app_info</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">ClutterActor</span> *
</td>
<td class="function_name">
<a class="link" href="shell-shell-app.html#shell-app-create-icon-texture" title="shell_app_create_icon_texture ()">shell_app_create_icon_texture</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">char</span> *
</td>
<td class="function_name">
<a class="link" href="shell-shell-app.html#shell-app-get-name" title="shell_app_get_name ()">shell_app_get_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">char</span> *
</td>
<td class="function_name">
<a class="link" href="shell-shell-app.html#shell-app-get-description" title="shell_app_get_description ()">shell_app_get_description</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="shell-shell-app.html#shell-app-is-window-backed" title="shell_app_is_window_backed ()">shell_app_is_window_backed</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="shell-shell-app.html#shell-app-activate-window" title="shell_app_activate_window ()">shell_app_activate_window</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="shell-shell-app.html#shell-app-activate" title="shell_app_activate ()">shell_app_activate</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="shell-shell-app.html#shell-app-activate-full" title="shell_app_activate_full ()">shell_app_activate_full</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="shell-shell-app.html#shell-app-open-new-window" title="shell_app_open_new_window ()">shell_app_open_new_window</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="shell-shell-app.html#shell-app-can-open-new-window" title="shell_app_can_open_new_window ()">shell_app_can_open_new_window</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="shell-shell-app.html#ShellAppState" title="enum ShellAppState"><span class="returnvalue">ShellAppState</span></a>
</td>
<td class="function_name">
<a class="link" href="shell-shell-app.html#shell-app-get-state" title="shell_app_get_state ()">shell_app_get_state</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="shell-shell-app.html#shell-app-request-quit" title="shell_app_request_quit ()">shell_app_request_quit</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
</td>
<td class="function_name">
<a class="link" href="shell-shell-app.html#shell-app-get-n-windows" title="shell_app_get_n_windows ()">shell_app_get_n_windows</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="https://developer.gnome.org/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
</td>
<td class="function_name">
<a class="link" href="shell-shell-app.html#shell-app-get-windows" title="shell_app_get_windows ()">shell_app_get_windows</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="https://developer.gnome.org/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
</td>
<td class="function_name">
<a class="link" href="shell-shell-app.html#shell-app-get-pids" title="shell_app_get_pids ()">shell_app_get_pids</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="shell-shell-app.html#shell-app-is-on-workspace" title="shell_app_is_on_workspace ()">shell_app_is_on_workspace</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="shell-shell-app.html#shell-app-launch" title="shell_app_launch ()">shell_app_launch</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="shell-shell-app.html#shell-app-launch-action" title="shell_app_launch_action ()">shell_app_launch_action</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">int</span>
</td>
<td class="function_name">
<a class="link" href="shell-shell-app.html#shell-app-compare-by-name" title="shell_app_compare_by_name ()">shell_app_compare_by_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">int</span>
</td>
<td class="function_name">
<a class="link" href="shell-shell-app.html#shell-app-compare" title="shell_app_compare ()">shell_app_compare</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="shell-shell-app.html#shell-app-update-window-actions" title="shell_app_update_window_actions ()">shell_app_update_window_actions</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="shell-shell-app.html#shell-app-update-app-menu" title="shell_app_update_app_menu ()">shell_app_update_app_menu</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="shell-shell-app.html#shell-app-get-busy" title="shell_app_get_busy ()">shell_app_get_busy</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="shell-shell-app.properties"></a><h2>Properties</h2>
<div class="informaltable"><table 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">
<a href="https://developer.gnome.org/gio/unstable/GActionGroup.html#GActionGroup-struct"><span class="type">GActionGroup</span></a> *</td>
<td class="property_name"><a class="link" href="shell-shell-app.html#ShellApp--action-group" title="The “action-group” property">action-group</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
<td class="property_name"><a class="link" href="shell-shell-app.html#ShellApp--busy" title="The “busy” property">busy</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type">
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
<td class="property_name"><a class="link" href="shell-shell-app.html#ShellApp--id" title="The “id” property">id</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type">
<a href="https://developer.gnome.org/gio/unstable/GMenuModel.html#GMenuModel-struct"><span class="type">GMenuModel</span></a> *</td>
<td class="property_name"><a class="link" href="shell-shell-app.html#ShellApp--menu" title="The “menu” property">menu</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type"><a class="link" href="shell-shell-app.html#ShellAppState" title="enum ShellAppState"><span class="type">ShellAppState</span></a></td>
<td class="property_name"><a class="link" href="shell-shell-app.html#ShellApp--state" title="The “state” property">state</a></td>
<td class="property_flags">Read</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="shell-shell-app.signals"></a><h2>Signals</h2>
<div class="informaltable"><table border="0">
<colgroup>
<col width="150px" class="signals_return">
<col width="300px" class="signals_name">
<col width="200px" class="signals_flags">
</colgroup>
<tbody><tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="shell-shell-app.html#ShellApp-windows-changed" title="The “windows-changed” signal">windows-changed</a></td>
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
</tr></tbody>
</table></div>
</div>
<a name="ShellApp"></a><div class="refsect1">
<a name="shell-shell-app.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="shell-shell-app.html#SHELL-TYPE-APP:CAPS" title="SHELL_TYPE_APP">SHELL_TYPE_APP</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="shell-shell-app.html#ShellAppState" title="enum ShellAppState">ShellAppState</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="shell-shell-app.html#ShellApp-struct" title="ShellApp">ShellApp</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="shell-shell-app.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">    <a href="https://developer.gnome.org/gobject/unstable/gobject-Enumeration-and-Flag-Types.html">GEnum</a>
    <span class="lineart">╰──</span> ShellAppState
    <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
    <span class="lineart">╰──</span> ShellApp
</pre>
</div>
<div class="refsect1">
<a name="shell-shell-app.description"></a><h2>Description</h2>
<p>This object wraps a <a href="https://developer.gnome.org/gio/unstable/gio-Desktop-file-based-GAppInfo.html#GDesktopAppInfo-struct"><span class="type">GDesktopAppInfo</span></a>, providing methods and signals
primarily useful for running applications.</p>
</div>
<div class="refsect1">
<a name="shell-shell-app.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="shell-app-get-id"></a><h3>shell_app_get_id ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *
shell_app_get_id (<em class="parameter"><code><a class="link" href="shell-shell-app.html#ShellApp"><span class="type">ShellApp</span></a> *app</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="shell-app-get-app-info"></a><h3>shell_app_get_app_info ()</h3>
<pre class="programlisting"><a href="https://developer.gnome.org/gio/unstable/gio-Desktop-file-based-GAppInfo.html#GDesktopAppInfo-struct"><span class="returnvalue">GDesktopAppInfo</span></a> *
shell_app_get_app_info (<em class="parameter"><code><a class="link" href="shell-shell-app.html#ShellApp"><span class="type">ShellApp</span></a> *app</code></em>);</pre>
<div class="refsect3">
<a name="shell-app-get-app-info.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table 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>app</p></td>
<td class="parameter_description"><p>a <a class="link" href="shell-shell-app.html#ShellApp"><span class="type">ShellApp</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="shell-app-get-app-info.returns"></a><h4>Returns</h4>
<p> The <a href="https://developer.gnome.org/gio/unstable/gio-Desktop-file-based-GAppInfo.html#GDesktopAppInfo-struct"><span class="type">GDesktopAppInfo</span></a> for this app, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if backed by a window. </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="shell-app-create-icon-texture"></a><h3>shell_app_create_icon_texture ()</h3>
<pre class="programlisting"><span class="returnvalue">ClutterActor</span> *
shell_app_create_icon_texture (<em class="parameter"><code><a class="link" href="shell-shell-app.html#ShellApp"><span class="type">ShellApp</span></a> *app</code></em>,
                               <em class="parameter"><code><span class="type">int</span> size</code></em>);</pre>
<p>Look up the icon for this application, and create a <span class="type">ClutterTexture</span>
for it at the given size.</p>
<div class="refsect3">
<a name="shell-app-create-icon-texture.returns"></a><h4>Returns</h4>
<p> A floating <span class="type">ClutterActor</span>. </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="shell-app-get-name"></a><h3>shell_app_get_name ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *
shell_app_get_name (<em class="parameter"><code><a class="link" href="shell-shell-app.html#ShellApp"><span class="type">ShellApp</span></a> *app</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="shell-app-get-description"></a><h3>shell_app_get_description ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *
shell_app_get_description (<em class="parameter"><code><a class="link" href="shell-shell-app.html#ShellApp"><span class="type">ShellApp</span></a> *app</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="shell-app-is-window-backed"></a><h3>shell_app_is_window_backed ()</h3>
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
shell_app_is_window_backed (<em class="parameter"><code><a class="link" href="shell-shell-app.html#ShellApp"><span class="type">ShellApp</span></a> *app</code></em>);</pre>
<p>A window backed application is one which represents just an open
window, i.e. there's no .desktop file assocation, so we don't know
how to launch it again.</p>
</div>
<hr>
<div class="refsect2">
<a name="shell-app-activate-window"></a><h3>shell_app_activate_window ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
shell_app_activate_window (<em class="parameter"><code><a class="link" href="shell-shell-app.html#ShellApp"><span class="type">ShellApp</span></a> *app</code></em>,
                           <em class="parameter"><code><span class="type">MetaWindow</span> *window</code></em>,
                           <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> timestamp</code></em>);</pre>
<p>Bring all windows for the given app to the foreground,
but ensure that <em class="parameter"><code>window</code></em>
 is on top.  If <em class="parameter"><code>window</code></em>
 is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>,
the window with the most recent user time for the app
will be used.</p>
<p>This function has no effect if <em class="parameter"><code>app</code></em>
 is not currently running.</p>
<div class="refsect3">
<a name="shell-app-activate-window.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table 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>app</p></td>
<td class="parameter_description"><p>a <a class="link" href="shell-shell-app.html#ShellApp"><span class="type">ShellApp</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>window</p></td>
<td class="parameter_description"><p> Window to be focused. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>timestamp</p></td>
<td class="parameter_description"><p>Event timestamp</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="shell-app-activate"></a><h3>shell_app_activate ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
shell_app_activate (<em class="parameter"><code><a class="link" href="shell-shell-app.html#ShellApp"><span class="type">ShellApp</span></a> *app</code></em>);</pre>
<p>Like <a class="link" href="shell-shell-app.html#shell-app-activate-full" title="shell_app_activate_full ()"><code class="function">shell_app_activate_full()</code></a>, but using the default workspace and
event timestamp.</p>
<div class="refsect3">
<a name="shell-app-activate.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table 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>app</p></td>
<td class="parameter_description"><p>a <a class="link" href="shell-shell-app.html#ShellApp"><span class="type">ShellApp</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="shell-app-activate-full"></a><h3>shell_app_activate_full ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
shell_app_activate_full (<em class="parameter"><code><a class="link" href="shell-shell-app.html#ShellApp"><span class="type">ShellApp</span></a> *app</code></em>,
                         <em class="parameter"><code><span class="type">int</span> workspace</code></em>,
                         <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> timestamp</code></em>);</pre>
<p>Perform an appropriate default action for operating on this application,
dependent on its current state.  For example, if the application is not
currently running, launch it.  If it is running, activate the most
recently used NORMAL window (or if that window has a transient, the most
recently used transient for that window).</p>
<div class="refsect3">
<a name="shell-app-activate-full.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table 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>app</p></td>
<td class="parameter_description"><p>a <a class="link" href="shell-shell-app.html#ShellApp"><span class="type">ShellApp</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>workspace</p></td>
<td class="parameter_description"><p>launch on this workspace, or -1 for default. Ignored if
activating an existing window</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>timestamp</p></td>
<td class="parameter_description"><p>Event timestamp</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="shell-app-open-new-window"></a><h3>shell_app_open_new_window ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
shell_app_open_new_window (<em class="parameter"><code><a class="link" href="shell-shell-app.html#ShellApp"><span class="type">ShellApp</span></a> *app</code></em>,
                           <em class="parameter"><code><span class="type">int</span> workspace</code></em>);</pre>
<p>Request that the application create a new window.</p>
<div class="refsect3">
<a name="shell-app-open-new-window.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table 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>app</p></td>
<td class="parameter_description"><p>a <a class="link" href="shell-shell-app.html#ShellApp"><span class="type">ShellApp</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>workspace</p></td>
<td class="parameter_description"><p>open on this workspace, or -1 for default</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="shell-app-can-open-new-window"></a><h3>shell_app_can_open_new_window ()</h3>
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
shell_app_can_open_new_window (<em class="parameter"><code><a class="link" href="shell-shell-app.html#ShellApp"><span class="type">ShellApp</span></a> *app</code></em>);</pre>
<p>Returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the app supports opening a new window through
<a class="link" href="shell-shell-app.html#shell-app-open-new-window" title="shell_app_open_new_window ()"><code class="function">shell_app_open_new_window()</code></a> (ie, if calling that function will
result in actually opening a new window and not something else,
like presenting the most recently active one)</p>
<div class="refsect3">
<a name="shell-app-can-open-new-window.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table 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>app</p></td>
<td class="parameter_description"><p>a <a class="link" href="shell-shell-app.html#ShellApp"><span class="type">ShellApp</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="shell-app-get-state"></a><h3>shell_app_get_state ()</h3>
<pre class="programlisting"><a class="link" href="shell-shell-app.html#ShellAppState" title="enum ShellAppState"><span class="returnvalue">ShellAppState</span></a>
shell_app_get_state (<em class="parameter"><code><a class="link" href="shell-shell-app.html#ShellApp"><span class="type">ShellApp</span></a> *app</code></em>);</pre>
<div class="refsect3">
<a name="shell-app-get-state.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table 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>app</p></td>
<td class="parameter_description"><p>a <a class="link" href="shell-shell-app.html#ShellApp"><span class="type">ShellApp</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="shell-app-get-state.returns"></a><h4>Returns</h4>
<p> State of the application</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="shell-app-request-quit"></a><h3>shell_app_request_quit ()</h3>
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
shell_app_request_quit (<em class="parameter"><code><a class="link" href="shell-shell-app.html#ShellApp"><span class="type">ShellApp</span></a> *app</code></em>);</pre>
<p>Initiate an asynchronous request to quit this application.
The application may interact with the user, and the user
might cancel the quit request from the application UI.</p>
<p>This operation may not be supported for all applications.</p>
<div class="refsect3">
<a name="shell-app-request-quit.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table 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>app</p></td>
<td class="parameter_description"><p>A <a class="link" href="shell-shell-app.html#ShellApp"><span class="type">ShellApp</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="shell-app-request-quit.returns"></a><h4>Returns</h4>
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if a quit request is supported for this application</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="shell-app-get-n-windows"></a><h3>shell_app_get_n_windows ()</h3>
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
shell_app_get_n_windows (<em class="parameter"><code><a class="link" href="shell-shell-app.html#ShellApp"><span class="type">ShellApp</span></a> *app</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="shell-app-get-windows"></a><h3>shell_app_get_windows ()</h3>
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
shell_app_get_windows (<em class="parameter"><code><a class="link" href="shell-shell-app.html#ShellApp"><span class="type">ShellApp</span></a> *app</code></em>);</pre>
<p>Get the windows which are associated with this application. The
returned list will be sorted first by whether they're on the
active workspace, then by whether they're visible, and finally
by the time the user last interacted with them.</p>
<div class="refsect3">
<a name="shell-app-get-windows.returns"></a><h4>Returns</h4>
<p> List of windows. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> MetaWindow]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="shell-app-get-pids"></a><h3>shell_app_get_pids ()</h3>
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
shell_app_get_pids (<em class="parameter"><code><a class="link" href="shell-shell-app.html#ShellApp"><span class="type">ShellApp</span></a> *app</code></em>);</pre>
<div class="refsect3">
<a name="shell-app-get-pids.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table 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>app</p></td>
<td class="parameter_description"><p>a <a class="link" href="shell-shell-app.html#ShellApp"><span class="type">ShellApp</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="shell-app-get-pids.returns"></a><h4>Returns</h4>
<p> An unordered list of process identifers associated with this application. </p>
<p><span class="annotation">[<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> int]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="shell-app-is-on-workspace"></a><h3>shell_app_is_on_workspace ()</h3>
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
shell_app_is_on_workspace (<em class="parameter"><code><a class="link" href="shell-shell-app.html#ShellApp"><span class="type">ShellApp</span></a> *app</code></em>,
                           <em class="parameter"><code><span class="type">MetaWorkspace</span> *workspace</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="shell-app-launch"></a><h3>shell_app_launch ()</h3>
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
shell_app_launch (<em class="parameter"><code><a class="link" href="shell-shell-app.html#ShellApp"><span class="type">ShellApp</span></a> *app</code></em>,
                  <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> timestamp</code></em>,
                  <em class="parameter"><code><span class="type">int</span> workspace</code></em>,
                  <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<div class="refsect3">
<a name="shell-app-launch.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table 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>timestamp</p></td>
<td class="parameter_description"><p>Event timestamp, or 0 for current event timestamp</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>workspace</p></td>
<td class="parameter_description"><p>Start on this workspace, or -1 for default</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>A <a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="shell-app-launch-action"></a><h3>shell_app_launch_action ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
shell_app_launch_action (<em class="parameter"><code><a class="link" href="shell-shell-app.html#ShellApp"><span class="type">ShellApp</span></a> *app</code></em>,
                         <em class="parameter"><code>const <span class="type">char</span> *action_name</code></em>,
                         <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> timestamp</code></em>,
                         <em class="parameter"><code><span class="type">int</span> workspace</code></em>);</pre>
<div class="refsect3">
<a name="shell-app-launch-action.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table 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>app</p></td>
<td class="parameter_description"><p>the <a class="link" href="shell-shell-app.html#ShellApp"><span class="type">ShellApp</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>action_name</p></td>
<td class="parameter_description"><p>the name of the action to launch (as obtained by
<a href="https://developer.gnome.org/gio/unstable/gio-Desktop-file-based-GAppInfo.html#g-desktop-app-info-list-actions"><code class="function">g_desktop_app_info_list_actions()</code></a>)</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>timestamp</p></td>
<td class="parameter_description"><p>Event timestamp, or 0 for current event timestamp</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>workspace</p></td>
<td class="parameter_description"><p>Start on this workspace, or -1 for default</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="shell-app-compare-by-name"></a><h3>shell_app_compare_by_name ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span>
shell_app_compare_by_name (<em class="parameter"><code><a class="link" href="shell-shell-app.html#ShellApp"><span class="type">ShellApp</span></a> *app</code></em>,
                           <em class="parameter"><code><a class="link" href="shell-shell-app.html#ShellApp"><span class="type">ShellApp</span></a> *other</code></em>);</pre>
<p>Order two applications by name.</p>
<div class="refsect3">
<a name="shell-app-compare-by-name.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table 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>app</p></td>
<td class="parameter_description"><p>One app</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>other</p></td>
<td class="parameter_description"><p>The other app</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="shell-app-compare-by-name.returns"></a><h4>Returns</h4>
<p> -1, 0, or 1; suitable for use as a comparison function
for e.g. <a href="https://developer.gnome.org/glib/unstable/glib-Singly-Linked-Lists.html#g-slist-sort"><code class="function">g_slist_sort()</code></a></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="shell-app-compare"></a><h3>shell_app_compare ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span>
shell_app_compare (<em class="parameter"><code><a class="link" href="shell-shell-app.html#ShellApp"><span class="type">ShellApp</span></a> *app</code></em>,
                   <em class="parameter"><code><a class="link" href="shell-shell-app.html#ShellApp"><span class="type">ShellApp</span></a> *other</code></em>);</pre>
<p>Compare one <a class="link" href="shell-shell-app.html#ShellApp"><span class="type">ShellApp</span></a> instance to another, in the following way:</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>Running applications sort before not-running applications.</p></li>
<li class="listitem"><p>The application which the user interacted with most recently
compares earlier.</p></li>
</ul></div>
<div class="refsect3">
<a name="shell-app-compare.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table 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>other</p></td>
<td class="parameter_description"><p>A <a class="link" href="shell-shell-app.html#ShellApp"><span class="type">ShellApp</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="shell-app-update-window-actions"></a><h3>shell_app_update_window_actions ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
shell_app_update_window_actions (<em class="parameter"><code><a class="link" href="shell-shell-app.html#ShellApp"><span class="type">ShellApp</span></a> *app</code></em>,
                                 <em class="parameter"><code><span class="type">MetaWindow</span> *window</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="shell-app-update-app-menu"></a><h3>shell_app_update_app_menu ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
shell_app_update_app_menu (<em class="parameter"><code><a class="link" href="shell-shell-app.html#ShellApp"><span class="type">ShellApp</span></a> *app</code></em>,
                           <em class="parameter"><code><span class="type">MetaWindow</span> *window</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="shell-app-get-busy"></a><h3>shell_app_get_busy ()</h3>
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
shell_app_get_busy (<em class="parameter"><code><a class="link" href="shell-shell-app.html#ShellApp"><span class="type">ShellApp</span></a> *app</code></em>);</pre>
</div>
</div>
<div class="refsect1">
<a name="shell-shell-app.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="SHELL-TYPE-APP:CAPS"></a><h3>SHELL_TYPE_APP</h3>
<pre class="programlisting">#define SHELL_TYPE_APP              (shell_app_get_type ())
</pre>
</div>
<hr>
<div class="refsect2">
<a name="ShellAppState"></a><h3>enum ShellAppState</h3>
<div class="refsect3">
<a name="ShellAppState.members"></a><h4>Members</h4>
<div class="informaltable"><table 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="SHELL-APP-STATE-STOPPED:CAPS"></a>SHELL_APP_STATE_STOPPED</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="SHELL-APP-STATE-STARTING:CAPS"></a>SHELL_APP_STATE_STARTING</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="SHELL-APP-STATE-RUNNING:CAPS"></a>SHELL_APP_STATE_RUNNING</p></td>
<td> </td>
<td> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="ShellApp-struct"></a><h3>ShellApp</h3>
<pre class="programlisting">typedef struct _ShellApp ShellApp;</pre>
</div>
</div>
<div class="refsect1">
<a name="shell-shell-app.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="ShellApp--action-group"></a><h3>The <code class="literal">“action-group”</code> property</h3>
<pre class="programlisting">  “action-group”             <a href="https://developer.gnome.org/gio/unstable/GActionGroup.html#GActionGroup-struct"><span class="type">GActionGroup</span></a> *</pre>
<p>The <a href="https://developer.gnome.org/gio/unstable/GDBusActionGroup.html#GDBusActionGroup-struct"><span class="type">GDBusActionGroup</span></a> associated with this ShellApp, if any. See the
documentation of <a href="https://developer.gnome.org/gio/unstable/GApplication.html#GApplication-struct"><span class="type">GApplication</span></a> and <a href="https://developer.gnome.org/gio/unstable/GActionGroup.html#GActionGroup-struct"><span class="type">GActionGroup</span></a> for details.</p>
<p>Flags: Read</p>
</div>
<hr>
<div class="refsect2">
<a name="ShellApp--busy"></a><h3>The <code class="literal">“busy”</code> property</h3>
<pre class="programlisting">  “busy”                     <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
<p>Whether the application has marked itself as busy.</p>
<p>Flags: Read</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2">
<a name="ShellApp--id"></a><h3>The <code class="literal">“id”</code> property</h3>
<pre class="programlisting">  “id”                       <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
<p>The id of this application (a desktop filename, or a special string
like window:0xabcd1234)</p>
<p>Flags: Read</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="ShellApp--menu"></a><h3>The <code class="literal">“menu”</code> property</h3>
<pre class="programlisting">  “menu”                     <a href="https://developer.gnome.org/gio/unstable/GMenuModel.html#GMenuModel-struct"><span class="type">GMenuModel</span></a> *</pre>
<p>The <span class="type">GMenuProxy</span> associated with this ShellApp, if any. See the
documentation of <a href="https://developer.gnome.org/gio/unstable/GMenuModel.html#GMenuModel-struct"><span class="type">GMenuModel</span></a> for details.</p>
<p>Flags: Read</p>
</div>
<hr>
<div class="refsect2">
<a name="ShellApp--state"></a><h3>The <code class="literal">“state”</code> property</h3>
<pre class="programlisting">  “state”                    <a class="link" href="shell-shell-app.html#ShellAppState" title="enum ShellAppState"><span class="type">ShellAppState</span></a></pre>
<p>The high-level state of the application, effectively whether it's
running or not, or transitioning between those states.</p>
<p>Flags: Read</p>
<p>Default value: SHELL_APP_STATE_STOPPED</p>
</div>
</div>
<div class="refsect1">
<a name="shell-shell-app.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2">
<a name="ShellApp-windows-changed"></a><h3>The <code class="literal">“windows-changed”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="shell-shell-app.html#ShellApp"><span class="type">ShellApp</span></a> *shellapp,
               <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>  user_data)</pre>
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24.1</div>
</body>
</html>