<?xml version="1.0"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" 
               "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<refentry id="epiphany-EphyEmbedFactory">
<refmeta>
<refentrytitle role="top_of_page" id="epiphany-EphyEmbedFactory.top_of_page">EphyEmbedFactory</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>EPIPHANY Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>EphyEmbedFactory</refname>
<refpurpose>Factory for creating new embed objects</refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>

<refsynopsisdiv id="epiphany-EphyEmbedFactory.synopsis" role="synopsis">
<title role="synopsis.title">Synopsis</title>

<synopsis>
<link linkend="GObject">GObject</link>*            <link linkend="ephy-embed-factory-new-object">ephy_embed_factory_new_object</link>       (<link linkend="GType">GType</link> type);
</synopsis>
</refsynopsisdiv>









<refsect1 id="epiphany-EphyEmbedFactory.description" role="desc">
<title role="desc.title">Description</title>
<para>
<link linkend="EphyEmbed"><type>EphyEmbed</type></link>, <link linkend="EphyEmbedPersist"><type>EphyEmbedPersist</type></link> and <link linkend="EphyEmbedSingle"><type>EphyEmbedSingle</type></link> are all interfaces. In the
interest of abstraction, the only recommended way to create new instances of
the objects which implement these interfaces is to use <link linkend="EphyEmbedFactory"><type>EphyEmbedFactory</type></link>.
</para>
<para>
To create a new instance of an <link linkend="EphyEmbed"><type>EphyEmbed</type></link>, <link linkend="EphyEmbedPersist"><type>EphyEmbedPersist</type></link> or
<link linkend="EphyEmbedSingle"><type>EphyEmbedSingle</type></link>, use <link linkend="ephy-embed-factory-new-object"><function>ephy_embed_factory_new_object()</function></link>.
</para>
</refsect1>

<refsect1 id="epiphany-EphyEmbedFactory.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="ephy-embed-factory-new-object" role="function">
<title>ephy_embed_factory_new_object ()</title>
<indexterm zone="ephy-embed-factory-new-object"><primary>ephy_embed_factory_new_object</primary></indexterm><programlisting><link linkend="GObject">GObject</link>*            ephy_embed_factory_new_object       (<link linkend="GType">GType</link> type);</programlisting>
<para>
Create an instance of an object implementing the <parameter>type</parameter> interface.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>type</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="GType"><type>GType</type></link> specifying which object to create
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> the object instance
</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>




</refentry>
