aboutsummaryrefslogtreecommitdiffstats
path: root/doc/reference/tmpl/ephy-embed-single.sgml
blob: 3368ee788d48806d08f2488292532585d1093d23 (plain) (blame)
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
<!-- ##### SECTION Title ##### -->
EphyEmbedSingle

<!-- ##### SECTION Short_Description ##### -->
An interface to the global embedded browser

<!-- ##### SECTION Long_Description ##### -->
<para>
While Epiphany is running, its global embed_shell variable (an #EphyEmbedShell)
holds a reference to an #EphyEmbedSingle. The only class which implements
#EphyEmbedSingle is #MozillaEmbedSingle, so the two types are interchangeable
via casting.
</para>
<para>
<example>
<title>Acquiring an <structname>EphyEmbedSingle</structname></title>
<programlisting>#<![CDATA[include <ephy-embed-shell.h>]]>
#<![CDATA[include <ephy-embed-single.h>

EphyEmbedSingle *ephy_single;

/* embed_shell is a global variable, initialized as Epiphany starts */
ephy_single = ephy_embed_shell_get_embed_single (embed_shell);
]]></programlisting>
</example>
</para>
<para>
Since there is only one #EphyEmbedShell, there is only one #EphyEmbedSingle. It
is used to perform browser-related actions which do not refer to an individual
#EphyEmbed.
</para>

<!-- ##### SECTION See_Also ##### -->
<para>

</para>

<!-- ##### FUNCTION ephy_embed_single_clear_cache ##### -->
<para>

</para>

@single: 
<!-- # Unused Parameters # -->
@shell: 


<!-- ##### FUNCTION ephy_embed_single_clear_auth_cache ##### -->
<para>

</para>

@single: 
<!-- # Unused Parameters # -->
@shell: 


<!-- ##### FUNCTION ephy_embed_single_set_offline_mode ##### -->
<para>

</para>

@single: 
@offline: 
<!-- # Unused Parameters # -->
@shell: 


<!-- ##### FUNCTION ephy_embed_single_load_proxy_autoconf ##### -->
<para>

</para>

@single: 
@url: 
<!-- # Unused Parameters # -->
@shell: 


<!-- ##### FUNCTION ephy_embed_single_get_font_list ##### -->
<para>

</para>

@single: 
@lang_group: 
@Returns: 
<!-- # Unused Parameters # -->
@shell: 
@langGroup: