Blob Blame History Raw
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GladePlaceholder: Glade User Interface Designer Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="Glade User Interface Designer Reference Manual">
<link rel="up" href="core.html" title="Part II. Glade Core">
<link rel="prev" href="GladeBaseEditor.html" title="GladeBaseEditor">
<link rel="next" href="gladeui-Xml-Utils.html" title="Xml Utils">
<meta name="generator" content="GTK-Doc V1.28 (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="#GladePlaceholder.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
                  <a href="#GladePlaceholder.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_interfaces">  <span class="dim">|</span> 
                  <a href="#GladePlaceholder.implemented-interfaces" class="shortcut">Implemented Interfaces</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.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="GladeBaseEditor.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="gladeui-Xml-Utils.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="GladePlaceholder"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GladePlaceholder.top_of_page"></a>GladePlaceholder</span></h2>
<p>GladePlaceholder — A <a href="/usr/share/gtk-doc/html/gtk3/GtkWidget.html#GtkWidget-struct"><span class="type">GtkWidget</span></a> to fill empty places.</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="GladePlaceholder.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">
<a href="/usr/share/gtk-doc/html/gtk3/GtkWidget.html#GtkWidget-struct"><span class="returnvalue">GtkWidget</span></a> *
</td>
<td class="function_name">
<a class="link" href="GladePlaceholder.html#glade-placeholder-new" title="glade_placeholder_new ()">glade_placeholder_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GladeWidget.html" title="GladeWidget"><span class="returnvalue">GladeWidget</span></a> *
</td>
<td class="function_name">
<a class="link" href="GladePlaceholder.html#glade-placeholder-get-parent" title="glade_placeholder_get_parent ()">glade_placeholder_get_parent</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GladePlaceholder.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="GladePlaceholder.html#GladePlaceholder-struct" title="struct GladePlaceholder">GladePlaceholder</a></td>
</tr></tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GladePlaceholder.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">    <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
    <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
        <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gtk3/GtkWidget.html#GtkWidget-struct">GtkWidget</a>
            <span class="lineart">╰──</span> GladePlaceholder
</pre>
</div>
<div class="refsect1">
<a name="GladePlaceholder.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GladePlaceholder implements
 AtkImplementorIface,  <a href="/usr/share/gtk-doc/html/gtk3/GtkBuildable.html#GtkBuildable-struct">GtkBuildable</a>,  <a href="/usr/share/gtk-doc/html/gtk3/GtkScrollable.html#GtkScrollable-struct">GtkScrollable</a> and  _GladeDrag.</p>
</div>
<div class="refsect1">
<a name="GladePlaceholder.description"></a><h2>Description</h2>
<p>Generally in Glade, container widgets are implemented with <a class="link" href="GladePlaceholder.html" title="GladePlaceholder"><span class="type">GladePlaceholder</span></a> 
children to allow users to 'click' and add thier widgets to a container. 
It is the responsability of the plugin writer to create placeholders for 
container widgets where appropriate; usually in <a class="link" href="gladeui-glade-widget-adaptor.html#GladePostCreateFunc" title="GladePostCreateFunc ()"><span class="type">GladePostCreateFunc</span></a> 
when the <a class="link" href="gladeui-glade-widget-adaptor.html#GladeCreateReason" title="enum GladeCreateReason"><span class="type">GladeCreateReason</span></a> is <a class="link" href="gladeui-glade-widget-adaptor.html#GLADE-CREATE-USER:CAPS"><code class="literal">GLADE_CREATE_USER</code></a>.</p>
</div>
<div class="refsect1">
<a name="GladePlaceholder.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="glade-placeholder-new"></a><h3>glade_placeholder_new ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gtk3/GtkWidget.html#GtkWidget-struct"><span class="returnvalue">GtkWidget</span></a> *
glade_placeholder_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<div class="refsect3">
<a name="glade-placeholder-new.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="GladePlaceholder.html" title="GladePlaceholder"><span class="type">GladePlaceholder</span></a> cast as a <a href="/usr/share/gtk-doc/html/gtk3/GtkWidget.html#GtkWidget-struct"><span class="type">GtkWidget</span></a></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="glade-placeholder-get-parent"></a><h3>glade_placeholder_get_parent ()</h3>
<pre class="programlisting"><a class="link" href="GladeWidget.html" title="GladeWidget"><span class="returnvalue">GladeWidget</span></a> *
glade_placeholder_get_parent (<em class="parameter"><code><a class="link" href="GladePlaceholder.html" title="GladePlaceholder"><span class="type">GladePlaceholder</span></a> *placeholder</code></em>);</pre>
</div>
</div>
<div class="refsect1">
<a name="GladePlaceholder.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GladePlaceholder-struct"></a><h3>struct GladePlaceholder</h3>
<pre class="programlisting">struct GladePlaceholder;</pre>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.28</div>
</body>
</html>