/usr/share/gtk-doc/html/evolution-util/evolution-util-EAccountsWindow.html is in evolution-dev 3.28.1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>EAccountsWindow: Evolution Utilities Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="Evolution Utilities Reference Manual">
<link rel="up" href="ch17.html" title="(Unsorted Sections)">
<link rel="prev" href="ch17.html" title="(Unsorted Sections)">
<link rel="next" href="evolution-util-EActionComboBox.html" title="EActionComboBox">
<meta name="generator" content="GTK-Doc V1.27 (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="#evolution-util-EAccountsWindow.description" class="shortcut">Description</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="ch17.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="ch17.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="evolution-util-EActionComboBox.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="evolution-util-EAccountsWindow"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="evolution-util-EAccountsWindow.top_of_page"></a>EAccountsWindow</span></h2>
<p>EAccountsWindow — Accounts Window</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="evolution-util-EAccountsWindow.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">
<span class="returnvalue">GtkWidget</span> *
</td>
<td class="function_name">
<a class="link" href="evolution-util-EAccountsWindow.html#e-accounts-window-new" title="e_accounts_window_new ()">e_accounts_window_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">ESourceRegistry</span> *
</td>
<td class="function_name">
<a class="link" href="evolution-util-EAccountsWindow.html#e-accounts-window-get-registry" title="e_accounts_window_get_registry ()">e_accounts_window_get_registry</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="evolution-util-EAccountsWindow.html#e-accounts-window-show-with-parent" title="e_accounts_window_show_with_parent ()">e_accounts_window_show_with_parent</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">ESource</span> *
</td>
<td class="function_name">
<a class="link" href="evolution-util-EAccountsWindow.html#e-accounts-window-ref-selected-source" title="e_accounts_window_ref_selected_source ()">e_accounts_window_ref_selected_source</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="evolution-util-EAccountsWindow.html#e-accounts-window-select-source" title="e_accounts_window_select_source ()">e_accounts_window_select_source</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="evolution-util-EAccountsWindow.html#e-accounts-window-insert-to-add-popup" title="e_accounts_window_insert_to_add_popup ()">e_accounts_window_insert_to_add_popup</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">GtkButtonBox</span> *
</td>
<td class="function_name">
<a class="link" href="evolution-util-EAccountsWindow.html#e-accounts-window-get-button-box" title="e_accounts_window_get_button_box ()">e_accounts_window_get_button_box</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gint</span>
</td>
<td class="function_name">
<a class="link" href="evolution-util-EAccountsWindow.html#e-accounts-window-add-page" title="e_accounts_window_add_page ()">e_accounts_window_add_page</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="evolution-util-EAccountsWindow.html#e-accounts-window-activate-page" title="e_accounts_window_activate_page ()">e_accounts_window_activate_page</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="evolution-util-EAccountsWindow.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">enum</td>
<td class="function_name"><a class="link" href="evolution-util-EAccountsWindow.html#ESourceEditingFlags" title="enum ESourceEditingFlags">ESourceEditingFlags</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="evolution-util-EAccountsWindow.html#EAccountsWindow" title="struct EAccountsWindow">EAccountsWindow</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="evolution-util-EAccountsWindow.includes"></a><h2>Includes</h2>
<pre class="synopsis">#include <e-util/e-util.h>
</pre>
</div>
<div class="refsect1">
<a name="evolution-util-EAccountsWindow.description"></a><h2>Description</h2>
<p><a class="link" href="evolution-util-EAccountsWindow.html#EAccountsWindow" title="struct EAccountsWindow"><span class="type">EAccountsWindow</span></a> shows all configured accounts in evolution-data-server
and allows also create new, modify or remove existing accounts as well.
It's extensible through <span class="type">EExtension</span>, thus it can be taught how to work
with particular account types as well.</p>
</div>
<div class="refsect1">
<a name="evolution-util-EAccountsWindow.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="e-accounts-window-new"></a><h3>e_accounts_window_new ()</h3>
<pre class="programlisting"><span class="returnvalue">GtkWidget</span> *
e_accounts_window_new (<em class="parameter"><code><span class="type">ESourceRegistry</span> *registry</code></em>);</pre>
<div class="warning"><p><code class="literal">e_accounts_window_new</code> is deprecated and should not be used in newly-written code.</p></div>
<p>Creates a new <a class="link" href="evolution-util-EAccountsWindow.html#EAccountsWindow" title="struct EAccountsWindow"><span class="type">EAccountsWindow</span></a> instance.</p>
<div class="refsect3">
<a name="e-accounts-window-new.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>registry</p></td>
<td class="parameter_description"><p>an <span class="type">ESourceRegistry</span></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="e-accounts-window-new.returns"></a><h4>Returns</h4>
<p>an <a class="link" href="evolution-util-EAccountsWindow.html#EAccountsWindow" title="struct EAccountsWindow"><span class="type">EAccountsWindow</span></a> as a <span class="type">GtkWidget</span>. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-accounts-window-get-registry"></a><h3>e_accounts_window_get_registry ()</h3>
<pre class="programlisting"><span class="returnvalue">ESourceRegistry</span> *
e_accounts_window_get_registry (<em class="parameter"><code><a class="link" href="evolution-util-EAccountsWindow.html#EAccountsWindow" title="struct EAccountsWindow"><span class="type">EAccountsWindow</span></a> *accounts_window</code></em>);</pre>
<div class="warning"><p><code class="literal">e_accounts_window_get_registry</code> is deprecated and should not be used in newly-written code.</p></div>
<p>Returns the <span class="type">ESourceRegistry</span> passed to <a class="link" href="evolution-util-EAccountsWindow.html#e-accounts-window-new" title="e_accounts_window_new ()"><code class="function">e_accounts_window_new()</code></a>.</p>
<div class="refsect3">
<a name="e-accounts-window-get-registry.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>accounts_window</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-util-EAccountsWindow.html#EAccountsWindow" title="struct EAccountsWindow"><span class="type">EAccountsWindow</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="e-accounts-window-get-registry.returns"></a><h4>Returns</h4>
<p>an <span class="type">ESourceRegistry</span>. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-accounts-window-show-with-parent"></a><h3>e_accounts_window_show_with_parent ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
e_accounts_window_show_with_parent (<em class="parameter"><code><a class="link" href="evolution-util-EAccountsWindow.html#EAccountsWindow" title="struct EAccountsWindow"><span class="type">EAccountsWindow</span></a> *accounts_window</code></em>,
<em class="parameter"><code><span class="type">GtkWindow</span> *parent</code></em>);</pre>
<div class="warning"><p><code class="literal">e_accounts_window_show_with_parent</code> is deprecated and should not be used in newly-written code.</p></div>
<p>Shows the <em class="parameter"><code>accounts_window</code></em>
on top of the <em class="parameter"><code>parent</code></em>
, if not <code class="literal">NULL</code>.</p>
<div class="refsect3">
<a name="e-accounts-window-show-with-parent.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>accounts_window</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-util-EAccountsWindow.html#EAccountsWindow" title="struct EAccountsWindow"><span class="type">EAccountsWindow</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>parent</p></td>
<td class="parameter_description"><p>a <span class="type">GtkWindow</span>, parent to show the <em class="parameter"><code>accounts_window</code></em>
on top of, or <code class="literal">NULL</code>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-accounts-window-ref-selected-source"></a><h3>e_accounts_window_ref_selected_source ()</h3>
<pre class="programlisting"><span class="returnvalue">ESource</span> *
e_accounts_window_ref_selected_source (<em class="parameter"><code><a class="link" href="evolution-util-EAccountsWindow.html#EAccountsWindow" title="struct EAccountsWindow"><span class="type">EAccountsWindow</span></a> *accounts_window</code></em>);</pre>
<div class="warning"><p><code class="literal">e_accounts_window_ref_selected_source</code> is deprecated and should not be used in newly-written code.</p></div>
<div class="refsect3">
<a name="e-accounts-window-ref-selected-source.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>accounts_window</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-util-EAccountsWindow.html#EAccountsWindow" title="struct EAccountsWindow"><span class="type">EAccountsWindow</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="e-accounts-window-ref-selected-source.returns"></a><h4>Returns</h4>
<p>Referenced selected <span class="type">ESource</span>, which should be unreffed
with <code class="function">g_object_unref()</code>, when no longer needed, or <code class="literal">NULL</code>, when there is no source selected. </p>
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-accounts-window-select-source"></a><h3>e_accounts_window_select_source ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
e_accounts_window_select_source (<em class="parameter"><code><a class="link" href="evolution-util-EAccountsWindow.html#EAccountsWindow" title="struct EAccountsWindow"><span class="type">EAccountsWindow</span></a> *accounts_window</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *uid</code></em>);</pre>
<div class="warning"><p><code class="literal">e_accounts_window_select_source</code> is deprecated and should not be used in newly-written code.</p></div>
<p>Selects an <span class="type">ESource</span> with the given <em class="parameter"><code>uid</code></em>
. If no such is available in time
of this call, then it is remembered and selected once it appears.
The function doesn't change selection, when <em class="parameter"><code>uid</code></em>
is <code class="literal">NULL</code>, but it
unsets remembered UID from any previous call.</p>
<div class="refsect3">
<a name="e-accounts-window-select-source.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>accounts_window</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-util-EAccountsWindow.html#EAccountsWindow" title="struct EAccountsWindow"><span class="type">EAccountsWindow</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>uid</p></td>
<td class="parameter_description"><p>an <span class="type">ESource</span> UID to select. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-28.html#api-index-3.28">3.28</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-accounts-window-insert-to-add-popup"></a><h3>e_accounts_window_insert_to_add_popup ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
e_accounts_window_insert_to_add_popup (<em class="parameter"><code><a class="link" href="evolution-util-EAccountsWindow.html#EAccountsWindow" title="struct EAccountsWindow"><span class="type">EAccountsWindow</span></a> *accounts_window</code></em>,
<em class="parameter"><code><span class="type">GtkMenuShell</span> *popup_menu</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *kind</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *label</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *icon_name</code></em>);</pre>
<div class="warning"><p><code class="literal">e_accounts_window_insert_to_add_popup</code> is deprecated and should not be used in newly-written code.</p></div>
<p>Adds a new item into the <em class="parameter"><code>popup_menu</code></em>
, which will be labeled with <em class="parameter"><code>label</code></em>
.
Items added this way are executed with EAccountsWindow::add-source signal.</p>
<p>Special case "-" can be used for the <em class="parameter"><code>label</code></em>
to add a separator. In that
case the <em class="parameter"><code>kind</code></em>
and the <em class="parameter"><code>icon_name</code></em>
parameters are ignored.</p>
<div class="refsect3">
<a name="e-accounts-window-insert-to-add-popup.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>accounts_window</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-util-EAccountsWindow.html#EAccountsWindow" title="struct EAccountsWindow"><span class="type">EAccountsWindow</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>popup_menu</p></td>
<td class="parameter_description"><p>a <span class="type">GtkMenuShell</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>kind</p></td>
<td class="parameter_description"><p>item kind, or <code class="literal">NULL</code>, when <em class="parameter"><code>label</code></em>
is "-". </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>label</p></td>
<td class="parameter_description"><p>item label, possibly with a mnemonic</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>icon_name</p></td>
<td class="parameter_description"><p>optional icon name to use for the menu item, or <code class="literal">NULL</code>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-accounts-window-get-button-box"></a><h3>e_accounts_window_get_button_box ()</h3>
<pre class="programlisting"><span class="returnvalue">GtkButtonBox</span> *
e_accounts_window_get_button_box (<em class="parameter"><code><a class="link" href="evolution-util-EAccountsWindow.html#EAccountsWindow" title="struct EAccountsWindow"><span class="type">EAccountsWindow</span></a> *accounts_window</code></em>);</pre>
<div class="warning"><p><code class="literal">e_accounts_window_get_button_box</code> is deprecated and should not be used in newly-written code.</p></div>
<div class="refsect3">
<a name="e-accounts-window-get-button-box.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>accounts_window</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-util-EAccountsWindow.html#EAccountsWindow" title="struct EAccountsWindow"><span class="type">EAccountsWindow</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="e-accounts-window-get-button-box.returns"></a><h4>Returns</h4>
<p>the button box of the main page, where action
buttons are stored. It can be used to add other actions to it. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-accounts-window-add-page"></a><h3>e_accounts_window_add_page ()</h3>
<pre class="programlisting"><span class="returnvalue">gint</span>
e_accounts_window_add_page (<em class="parameter"><code><a class="link" href="evolution-util-EAccountsWindow.html#EAccountsWindow" title="struct EAccountsWindow"><span class="type">EAccountsWindow</span></a> *accounts_window</code></em>,
<em class="parameter"><code><span class="type">GtkWidget</span> *content</code></em>);</pre>
<div class="warning"><p><code class="literal">e_accounts_window_add_page</code> is deprecated and should not be used in newly-written code.</p></div>
<p>Adds a new hidden page to the account window with content <em class="parameter"><code>content</code></em>
.
The returned integer is the index of the added page, which can be used
with <a class="link" href="evolution-util-EAccountsWindow.html#e-accounts-window-activate-page" title="e_accounts_window_activate_page ()"><code class="function">e_accounts_window_activate_page()</code></a> to make that page active.</p>
<div class="refsect3">
<a name="e-accounts-window-add-page.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>accounts_window</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-util-EAccountsWindow.html#EAccountsWindow" title="struct EAccountsWindow"><span class="type">EAccountsWindow</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>content</p></td>
<td class="parameter_description"><p>a <span class="type">GtkWidget</span>, the page content</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="e-accounts-window-add-page.returns"></a><h4>Returns</h4>
<p> index of the added page, or -1 on error.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-accounts-window-activate-page"></a><h3>e_accounts_window_activate_page ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
e_accounts_window_activate_page (<em class="parameter"><code><a class="link" href="evolution-util-EAccountsWindow.html#EAccountsWindow" title="struct EAccountsWindow"><span class="type">EAccountsWindow</span></a> *accounts_window</code></em>,
<em class="parameter"><code><span class="type">gint</span> page_index</code></em>);</pre>
<div class="warning"><p><code class="literal">e_accounts_window_activate_page</code> is deprecated and should not be used in newly-written code.</p></div>
<p>Activates certain page in the <em class="parameter"><code>accounts_window</code></em>
. The <em class="parameter"><code>page_index</code></em>
should
be the one returned by <a class="link" href="evolution-util-EAccountsWindow.html#e-accounts-window-add-page" title="e_accounts_window_add_page ()"><code class="function">e_accounts_window_add_page()</code></a>. Using value out of
bounds selects the main page, which shows listing of configured accounts.</p>
<div class="refsect3">
<a name="e-accounts-window-activate-page.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>accounts_window</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-util-EAccountsWindow.html#EAccountsWindow" title="struct EAccountsWindow"><span class="type">EAccountsWindow</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>page_index</p></td>
<td class="parameter_description"><p>an index of the page to activate</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
</div>
<div class="refsect1">
<a name="evolution-util-EAccountsWindow.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="ESourceEditingFlags"></a><h3>enum ESourceEditingFlags</h3>
<div class="warning"><p><code class="literal">ESourceEditingFlags</code> is deprecated and should not be used in newly-written code.</p></div>
<div class="refsect3">
<a name="ESourceEditingFlags.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="E-SOURCE-EDITING-FLAG-NONE:CAPS"></a>E_SOURCE_EDITING_FLAG_NONE</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="E-SOURCE-EDITING-FLAG-CAN-ENABLE:CAPS"></a>E_SOURCE_EDITING_FLAG_CAN_ENABLE</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="E-SOURCE-EDITING-FLAG-CAN-EDIT:CAPS"></a>E_SOURCE_EDITING_FLAG_CAN_EDIT</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="E-SOURCE-EDITING-FLAG-CAN-DELETE:CAPS"></a>E_SOURCE_EDITING_FLAG_CAN_DELETE</p></td>
<td> </td>
<td> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="EAccountsWindow"></a><h3>struct EAccountsWindow</h3>
<pre class="programlisting">struct EAccountsWindow {
GtkWindow parent;
EAccountsWindowPrivate *priv;
};
</pre>
<div class="warning"><p><code class="literal">EAccountsWindow</code> is deprecated and should not be used in newly-written code.</p></div>
<p>Contains only private data that should be read and manipulated using
the functions below.</p>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.27</div>
</body>
</html>
|