1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
6
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
7
<link rel="home" href="index.html" title="GTK+ 2 Reference Manual">
8
<link rel="up" href="AbstractObjects.html" title="Abstract Base Classes">
9
<link rel="prev" href="AbstractObjects.html" title="Abstract Base Classes">
10
<link rel="next" href="GtkBox.html" title="GtkBox">
11
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
12
<link rel="stylesheet" href="style.css" type="text/css">
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
17
<td><a accesskey="p" href="AbstractObjects.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
<td><a accesskey="u" href="AbstractObjects.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20
<th width="100%" align="center">GTK+ 2 Reference Manual</th>
21
<td><a accesskey="n" href="GtkBox.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
23
<tr><td colspan="5" class="shortcuts">
24
<a href="#GtkBin.synopsis" class="shortcut">Top</a>
26
<a href="#GtkBin.description" class="shortcut">Description</a>
28
<a href="#GtkBin.object-hierarchy" class="shortcut">Object Hierarchy</a>
30
<a href="#GtkBin.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
33
<div class="refentry">
34
<a name="GtkBin"></a><div class="titlepage"></div>
35
<div class="refnamediv"><table width="100%"><tr>
37
<h2><span class="refentrytitle"><a name="GtkBin.top_of_page"></a>GtkBin</span></h2>
38
<p>GtkBin — A container with just one child</p>
40
<td valign="top" align="right"></td>
42
<div class="refsynopsisdiv">
43
<a name="GtkBin.synopsis"></a><h2>Synopsis</h2>
44
<pre class="synopsis">
45
#include <gtk/gtk.h>
47
struct <a class="link" href="GtkBin.html#GtkBin-struct" title="struct GtkBin">GtkBin</a>;
48
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="GtkBin.html#gtk-bin-get-child" title="gtk_bin_get_child ()">gtk_bin_get_child</a> (<em class="parameter"><code><a class="link" href="GtkBin.html" title="GtkBin"><span class="type">GtkBin</span></a> *bin</code></em>);
51
<div class="refsect1">
52
<a name="GtkBin.object-hierarchy"></a><h2>Object Hierarchy</h2>
53
<pre class="synopsis">
55
+----GInitiallyUnowned
56
+----<a class="link" href="GtkObject.html" title="GtkObject">GtkObject</a>
57
+----<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
58
+----<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a>
60
+----<a class="link" href="GtkWindow.html" title="GtkWindow">GtkWindow</a>
61
+----<a class="link" href="GtkAlignment.html" title="GtkAlignment">GtkAlignment</a>
62
+----<a class="link" href="GtkFrame.html" title="GtkFrame">GtkFrame</a>
63
+----<a class="link" href="GtkButton.html" title="GtkButton">GtkButton</a>
64
+----<a class="link" href="GtkItem.html" title="GtkItem">GtkItem</a>
65
+----<a class="link" href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a>
66
+----<a class="link" href="GtkEventBox.html" title="GtkEventBox">GtkEventBox</a>
67
+----<a class="link" href="GtkExpander.html" title="GtkExpander">GtkExpander</a>
68
+----<a class="link" href="GtkHandleBox.html" title="GtkHandleBox">GtkHandleBox</a>
69
+----<a class="link" href="GtkToolItem.html" title="GtkToolItem">GtkToolItem</a>
70
+----<a class="link" href="GtkScrolledWindow.html" title="GtkScrolledWindow">GtkScrolledWindow</a>
71
+----<a class="link" href="GtkViewport.html" title="GtkViewport">GtkViewport</a>
74
<div class="refsect1">
75
<a name="GtkBin.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
78
AtkImplementorIface and <a class="link" href="GtkBuildable.html" title="GtkBuildable">GtkBuildable</a>.</p>
80
<div class="refsect1">
81
<a name="GtkBin.description"></a><h2>Description</h2>
83
The <a class="link" href="GtkBin.html" title="GtkBin"><span class="type">GtkBin</span></a> widget is a container with just one child.
84
It is not very useful itself, but it is useful for deriving subclasses,
85
since it provides common code needed for handling a single child widget.
88
Many GTK+ widgets are subclasses of <a class="link" href="GtkBin.html" title="GtkBin"><span class="type">GtkBin</span></a>, including <a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a>,
89
<a class="link" href="GtkButton.html" title="GtkButton"><span class="type">GtkButton</span></a>, <a class="link" href="GtkFrame.html" title="GtkFrame"><span class="type">GtkFrame</span></a>, <a class="link" href="GtkHandleBox.html" title="GtkHandleBox"><span class="type">GtkHandleBox</span></a> or <a class="link" href="GtkScrolledWindow.html" title="GtkScrolledWindow"><span class="type">GtkScrolledWindow</span></a>.
92
<div class="refsect1">
93
<a name="GtkBin.details"></a><h2>Details</h2>
94
<div class="refsect2">
95
<a name="GtkBin-struct"></a><h3>struct GtkBin</h3>
96
<pre class="programlisting">struct GtkBin;</pre>
101
<div class="refsect2">
102
<a name="gtk-bin-get-child"></a><h3>gtk_bin_get_child ()</h3>
103
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * gtk_bin_get_child (<em class="parameter"><code><a class="link" href="GtkBin.html" title="GtkBin"><span class="type">GtkBin</span></a> *bin</code></em>);</pre>
105
Gets the child of the <a class="link" href="GtkBin.html" title="GtkBin"><span class="type">GtkBin</span></a>, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if the bin contains
106
no child widget. The returned widget does not have a reference
107
added, so you do not need to unref it.
109
<div class="variablelist"><table border="0" class="variablelist">
111
<col align="left" valign="top">
116
<td><p><span class="term"><em class="parameter"><code>bin</code></em> :</span></p></td>
117
<td>a <a class="link" href="GtkBin.html" title="GtkBin"><span class="type">GtkBin</span></a>
121
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
122
<td>pointer to child of the <a class="link" href="GtkBin.html" title="GtkBin"><span class="type">GtkBin</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
132
Generated by GTK-Doc V1.18</div>
b'\\ No newline at end of file'