7
7
<link rel="home" href="index.html" title="Cheese Reference Manual">
8
8
<link rel="up" href="libcheese-gtk.html" title="libcheese-gtk">
9
9
<link rel="prev" href="cheese-Initializing-libcheese-gtk.html" title="Initializing libcheese-gtk">
10
<link rel="next" href="CheeseFlash.html" title="CheeseFlash">
11
<meta name="generator" content="GTK-Doc V1.19.1 (XML mode)">
10
<link rel="next" href="CheeseAvatarWidget.html" title="CheeseAvatarWidget">
11
<meta name="generator" content="GTK-Doc V1.20.1 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
14
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="10"><tr valign="middle">
16
<td width="100%" align="left">
17
<a href="#" class="shortcut">Top</a>
19
<a href="#CheeseAvatarChooser.description" class="shortcut">Description</a>
21
<a href="#CheeseAvatarChooser.object-hierarchy" class="shortcut">Object Hierarchy</a>
23
<a href="#CheeseAvatarChooser.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
25
<a href="#CheeseAvatarChooser.properties" class="shortcut">Properties</a>
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
16
<td width="100%" align="left" class="shortcuts">
17
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
18
<a href="#CheeseAvatarChooser.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
19
<a href="#CheeseAvatarChooser.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_interfaces"> <span class="dim">|</span>
20
<a href="#CheeseAvatarChooser.implemented-interfaces" class="shortcut">Implemented Interfaces</a></span><span id="nav_properties"> <span class="dim">|</span>
21
<a href="#CheeseAvatarChooser.properties" class="shortcut">Properties</a></span>
27
23
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
28
24
<td><a accesskey="u" href="libcheese-gtk.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
29
25
<td><a accesskey="p" href="cheese-Initializing-libcheese-gtk.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
30
<td><a accesskey="n" href="CheeseFlash.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
26
<td><a accesskey="n" href="CheeseAvatarWidget.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
32
28
<div class="refentry">
33
29
<a name="CheeseAvatarChooser"></a><div class="titlepage"></div>
36
32
<h2><span class="refentrytitle"><a name="CheeseAvatarChooser.top_of_page"></a>CheeseAvatarChooser</span></h2>
37
33
<p>CheeseAvatarChooser — A photo capture dialog for avatars</p>
39
<td valign="top" align="right"></td>
35
<td class="gallery_image" valign="top" align="right"></td>
40
36
</tr></table></div>
41
37
<div class="refsect1">
42
38
<a name="CheeseAvatarChooser.stability-level"></a><h2>Stability Level</h2>
43
Unstable, unless otherwise indicated
45
<div class="refsynopsisdiv">
46
<a name="CheeseAvatarChooser.synopsis"></a><h2>Synopsis</h2>
47
<pre class="synopsis">
48
#include <cheese/cheese-avatar-chooser.h>
50
struct <a class="link" href="CheeseAvatarChooser.html#CheeseAvatarChooser-struct" title="struct CheeseAvatarChooser">CheeseAvatarChooser</a>;
51
<a href="http://developer.gnome.org/gtk2/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="CheeseAvatarChooser.html#cheese-avatar-chooser-new" title="cheese_avatar_chooser_new ()">cheese_avatar_chooser_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
52
<span class="returnvalue">GdkPixbuf</span> * <a class="link" href="CheeseAvatarChooser.html#cheese-avatar-chooser-get-picture" title="cheese_avatar_chooser_get_picture ()">cheese_avatar_chooser_get_picture</a> (<em class="parameter"><code><a class="link" href="CheeseAvatarChooser.html" title="CheeseAvatarChooser"><span class="type">CheeseAvatarChooser</span></a> *chooser</code></em>);
39
<acronym title="Unstable interfaces are experimental or transitional. They are typically used to
40
give outside developers early access to new or rapidly changing technology, or
41
to provide an interim solution to a problem where a more general solution is
42
anticipated. No claims are made about either source or binary compatibility from
43
one minor release to the next.
45
The Unstable interface level is a warning that these interfaces are subject to
46
change without warning and should not be used in unbundled products.
48
Given such caveats, customer impact need not be a factor when considering
49
incompatible changes to an Unstable interface in a major or minor release.
50
Nonetheless, when such changes are introduced, the changes should still be
51
mentioned in the release notes for the affected release.
52
"><span class="acronym">Unstable</span></acronym>, unless otherwise indicated
54
<div class="refsect1">
55
<a name="CheeseAvatarChooser.functions"></a><h2>Functions</h2>
56
<div class="informaltable"><table width="100%" border="0">
58
<col width="150px" class="functions_return">
59
<col class="functions_name">
63
<td class="function_type">
64
<a href="http://developer.gnome.org/gtk2/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *
66
<td class="function_name">
67
<a class="link" href="CheeseAvatarChooser.html#cheese-avatar-chooser-new" title="cheese_avatar_chooser_new ()">cheese_avatar_chooser_new</a> <span class="c_punctuation">()</span>
71
<td class="function_type">
72
<span class="returnvalue">GdkPixbuf</span> *
74
<td class="function_name">
75
<a class="link" href="CheeseAvatarChooser.html#cheese-avatar-chooser-get-picture" title="cheese_avatar_chooser_get_picture ()">cheese_avatar_chooser_get_picture</a> <span class="c_punctuation">()</span>
81
<div class="refsect1">
82
<a name="CheeseAvatarChooser.properties"></a><h2>Properties</h2>
83
<div class="informaltable"><table border="0">
85
<col width="150px" class="properties_type">
86
<col width="300px" class="properties_name">
87
<col width="200px" class="properties_flags">
90
<td class="property_type">
91
<span class="type">GdkPixbuf</span> *</td>
92
<td class="property_name"><a class="link" href="CheeseAvatarChooser.html#CheeseAvatarChooser--pixbuf" title="The “pixbuf” property">pixbuf</a></td>
93
<td class="property_flags">Read</td>
97
<div class="refsect1">
98
<a name="CheeseAvatarChooser.other"></a><h2>Types and Values</h2>
99
<div class="informaltable"><table width="100%" border="0">
101
<col width="150px" class="name">
102
<col class="description">
105
<td class="datatype_keyword">struct</td>
106
<td class="function_name"><a class="link" href="CheeseAvatarChooser.html#CheeseAvatarChooser-struct" title="struct CheeseAvatarChooser">CheeseAvatarChooser</a></td>
55
110
<div class="refsect1">
56
111
<a name="CheeseAvatarChooser.object-hierarchy"></a><h2>Object Hierarchy</h2>
57
<pre class="synopsis">
58
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
59
+----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
60
+----<a href="http://developer.gnome.org/gtk2/GtkWidget.html">GtkWidget</a>
61
+----<a href="http://developer.gnome.org/gtk2/GtkContainer.html">GtkContainer</a>
62
+----<a href="http://developer.gnome.org/gtk2/GtkBin.html">GtkBin</a>
63
+----<a href="http://developer.gnome.org/gtk2/GtkWindow.html">GtkWindow</a>
64
+----<a href="http://developer.gnome.org/gtk2/GtkDialog.html">GtkDialog</a>
65
+----CheeseAvatarChooser
112
<pre class="screen"> <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
113
<span class="lineart">╰──</span> <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
114
<span class="lineart">╰──</span> <a href="http://developer.gnome.org/gtk2/GtkWidget.html">GtkWidget</a>
115
<span class="lineart">╰──</span> <a href="http://developer.gnome.org/gtk2/GtkContainer.html">GtkContainer</a>
116
<span class="lineart">╰──</span> <a href="http://developer.gnome.org/gtk2/GtkBin.html">GtkBin</a>
117
<span class="lineart">╰──</span> <a href="http://developer.gnome.org/gtk2/GtkWindow.html">GtkWindow</a>
118
<span class="lineart">╰──</span> <a href="http://developer.gnome.org/gtk2/GtkDialog.html">GtkDialog</a>
119
<span class="lineart">╰──</span> CheeseAvatarChooser
68
122
<div class="refsect1">
72
126
AtkImplementorIface and <a href="http://developer.gnome.org/gtk2/GtkBuildable.html">GtkBuildable</a>.</p>
74
128
<div class="refsect1">
75
<a name="CheeseAvatarChooser.properties"></a><h2>Properties</h2>
76
<pre class="synopsis">
77
"<a class="link" href="CheeseAvatarChooser.html#CheeseAvatarChooser--pixbuf" title='The "pixbuf" property'>pixbuf</a>" <span class="type">GdkPixbuf</span>* : Read
129
<a name="CheeseAvatarChooser.includes"></a><h2>Includes</h2>
130
<pre class="synopsis">#include <cheese/cheese-avatar-chooser.h>
80
133
<div class="refsect1">
81
134
<a name="CheeseAvatarChooser.description"></a><h2>Description</h2>
83
<a class="link" href="CheeseAvatarChooser.html" title="CheeseAvatarChooser"><span class="type">CheeseAvatarChooser</span></a> presents a simple window to the user for taking a photo
87
<div class="refsect1">
88
<a name="CheeseAvatarChooser.details"></a><h2>Details</h2>
135
<p><a class="link" href="CheeseAvatarChooser.html" title="CheeseAvatarChooser"><span class="type">CheeseAvatarChooser</span></a> presents a simple window to the user for taking a photo
136
for use as an avatar.</p>
138
<div class="refsect1">
139
<a name="CheeseAvatarChooser.functions_details"></a><h2>Functions</h2>
140
<div class="refsect2">
141
<a name="cheese-avatar-chooser-new"></a><h3>cheese_avatar_chooser_new ()</h3>
142
<pre class="programlisting"><a href="http://developer.gnome.org/gtk2/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *
143
cheese_avatar_chooser_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
144
<p>Creates a new <a class="link" href="CheeseAvatarChooser.html" title="CheeseAvatarChooser"><span class="type">CheeseAvatarChooser</span></a> dialogue.</p>
145
<div class="refsect3">
146
<a name="id-1.4.4.11.2.5"></a><h4>Returns</h4>
147
<p> a <a class="link" href="CheeseAvatarChooser.html" title="CheeseAvatarChooser"><span class="type">CheeseAvatarChooser</span></a></p>
152
<div class="refsect2">
153
<a name="cheese-avatar-chooser-get-picture"></a><h3>cheese_avatar_chooser_get_picture ()</h3>
154
<pre class="programlisting"><span class="returnvalue">GdkPixbuf</span> *
155
cheese_avatar_chooser_get_picture (<em class="parameter"><code><a class="link" href="CheeseAvatarChooser.html" title="CheeseAvatarChooser"><span class="type">CheeseAvatarChooser</span></a> *chooser</code></em>);</pre>
156
<p>Returns the portion of image selected through the builtin cropping tool,
157
after a picture has been captured on the webcam.</p>
158
<div class="refsect3">
159
<a name="id-1.4.4.11.3.5"></a><h4>Parameters</h4>
160
<div class="informaltable"><table width="100%" border="0">
162
<col width="150px" class="parameters_name">
163
<col class="parameters_description">
164
<col width="200px" class="parameters_annotations">
167
<td class="parameter_name"><p>chooser</p></td>
168
<td class="parameter_description"><p>a <a class="link" href="CheeseAvatarChooser.html" title="CheeseAvatarChooser"><span class="type">CheeseAvatarChooser</span></a> dialogue</p></td>
169
<td class="parameter_annotations"> </td>
173
<div class="refsect3">
174
<a name="id-1.4.4.11.3.6"></a><h4>Returns</h4>
175
<p> a <span class="type">GdkPixbuf</span> object, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no picture has been taken yet</p>
180
<div class="refsect1">
181
<a name="CheeseAvatarChooser.other_details"></a><h2>Types and Values</h2>
89
182
<div class="refsect2">
90
183
<a name="CheeseAvatarChooser-struct"></a><h3>struct CheeseAvatarChooser</h3>
91
184
<pre class="programlisting">struct CheeseAvatarChooser;</pre>
93
Use the accessor functions below.
97
<div class="refsect2">
98
<a name="cheese-avatar-chooser-new"></a><h3>cheese_avatar_chooser_new ()</h3>
99
<pre class="programlisting"><a href="http://developer.gnome.org/gtk2/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * cheese_avatar_chooser_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
101
Creates a new <a class="link" href="CheeseAvatarChooser.html" title="CheeseAvatarChooser"><span class="type">CheeseAvatarChooser</span></a> dialogue.
103
<div class="variablelist"><table border="0" class="variablelist">
105
<col align="left" valign="top">
109
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
110
<td>a <a class="link" href="CheeseAvatarChooser.html" title="CheeseAvatarChooser"><span class="type">CheeseAvatarChooser</span></a>
116
<div class="refsect2">
117
<a name="cheese-avatar-chooser-get-picture"></a><h3>cheese_avatar_chooser_get_picture ()</h3>
118
<pre class="programlisting"><span class="returnvalue">GdkPixbuf</span> * cheese_avatar_chooser_get_picture (<em class="parameter"><code><a class="link" href="CheeseAvatarChooser.html" title="CheeseAvatarChooser"><span class="type">CheeseAvatarChooser</span></a> *chooser</code></em>);</pre>
120
Returns the portion of image selected through the builtin cropping tool,
121
after a picture has been captured on the webcam.
123
<div class="variablelist"><table border="0" class="variablelist">
125
<col align="left" valign="top">
130
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
131
<td>a <a class="link" href="CheeseAvatarChooser.html" title="CheeseAvatarChooser"><span class="type">CheeseAvatarChooser</span></a> dialogue</td>
134
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
135
<td>a <span class="type">GdkPixbuf</span> object, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no picture has been taken yet</td>
185
<p>Use the accessor functions below.</p>
141
188
<div class="refsect1">
142
189
<a name="CheeseAvatarChooser.property-details"></a><h2>Property Details</h2>
143
190
<div class="refsect2">
144
<a name="CheeseAvatarChooser--pixbuf"></a><h3>The <code class="literal">"pixbuf"</code> property</h3>
145
<pre class="programlisting"> "pixbuf" <span class="type">GdkPixbuf</span>* : Read</pre>
147
A <span class="type">GdkPixbuf</span> object representing the cropped area of the picture, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
191
<a name="CheeseAvatarChooser--pixbuf"></a><h3>The <code class="literal">“pixbuf”</code> property</h3>
192
<pre class="programlisting"> “pixbuf” <span class="type">GdkPixbuf</span> *</pre>
193
<p>A <span class="type">GdkPixbuf</span> object representing the cropped area of the picture, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
152
198
<div class="footer">
154
Generated by GTK-Doc V1.19.1</div>
200
Generated by GTK-Doc V1.20.1</div>
b'\\ No newline at end of file'