~ubuntu-branches/ubuntu/trusty/libbonobo/trusty

« back to all changes in this revision

Viewing changes to doc/api/html/libbonobo-bonobo-event-source.html

  • Committer: Bazaar Package Importer
  • Author(s): Loic Minier
  • Date: 2008-01-28 16:44:09 UTC
  • mfrom: (1.1.19 upstream)
  • Revision ID: james.westby@ubuntu.com-20080128164409-85v32401um8c7vuw
Tags: 2.20.4-1
* New patch, 20_server-files-gettext, adapted from Ubuntu (to lookup
  both of debian-gettext-domain and ubuntu-gettext-domain):
  - activation-server/object-directory-load.c, parse_oaf_server_attrs():
    Check <oaf_server> tag attributes values for "debian-gettext-domain" or
    "ubuntu-gettext-domain" and store the latest in the previously unused
    'domain' field of the server struct.
  - bonobo-activation/bonobo-activation-server-info.c,
    bonobo_server_info_prop_lookup(): If 'domain' field is set, try
    gettext() before looking up a translation in the .server file itself.
* New upstream stable release; no API change; bug fixes.
  - Drop relibtoolizing patch, 90_relibtoolize, as the new upstream tarball
    doesn't have the x86_64 ltmain.sh snippet hardcoding the library path to
    /usr/lib64.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
<th width="100%" align="center">Libbonobo Reference Manual</th>
29
29
<td><a accesskey="n" href="libbonobo-bonobo-listener.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
30
30
</tr>
31
 
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2612462" class="shortcut">Top</a>
 
31
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2916670" class="shortcut">Top</a>
32
32
                  &#160;|&#160;
33
 
                  <a href="#id2613557" class="shortcut">Description</a></nobr></td></tr>
 
33
                  <a href="#id2917765" class="shortcut">Description</a></nobr></td></tr>
34
34
</table>
35
35
<div class="refentry" lang="en">
36
36
<a name="libbonobo-bonobo-event-source"></a><div class="titlepage"></div>
37
37
<div class="refnamediv"><table width="100%"><tr>
38
38
<td valign="top">
39
39
<h2>
40
 
<a name="id2612462"></a><span class="refentrytitle">bonobo-event-source</span>
 
40
<a name="id2916670"></a><span class="refentrytitle">bonobo-event-source</span>
41
41
</h2>
42
42
<p>bonobo-event-source &#8212; An Event Source where clients can connect to listen to events.</p>
43
43
</td>
99
99
</pre>
100
100
</div>
101
101
<div class="refsect1" lang="en">
102
 
<a name="id2613557"></a><h2>Description</h2>
 
102
<a name="id2917765"></a><h2>Description</h2>
103
103
<p>
104
104
An event source object is responsible for channeling the emission
105
105
of signals on an object to the appropriate attached listeners.
118
118
sub-type to the property name:
119
119
  </p>
120
120
<div class="example">
121
 
<a name="id2613599"></a><p class="title"><b>Example&#160;9.&#160;An example event source notification</b></p>
 
121
<a name="id2917808"></a><p class="title"><b>Example&#160;9.&#160;An example event source notification</b></p>
122
122
<div class="example-contents"><pre class="programlisting">
123
123
static void
124
124
notify_listeners (BonoboPropertyBag *pb,
142
142
a structure. eg.
143
143
  </p>
144
144
<div class="example">
145
 
<a name="id2613632"></a><p class="title"><b>Example&#160;10.&#160;Passing a structure in an event</b></p>
 
145
<a name="id2917841"></a><p class="title"><b>Example&#160;10.&#160;Passing a structure in an event</b></p>
146
146
<div class="example-contents">
147
147
<pre class="programlisting">
148
148
module GNOME {
188
188
</p>
189
189
</div>
190
190
<div class="refsect1" lang="en">
191
 
<a name="id2613685"></a><h2>Details</h2>
 
191
<a name="id2917894"></a><h2>Details</h2>
192
192
<div class="refsect2" lang="en">
193
 
<a name="id2613696"></a><h3>
 
193
<a name="id2917904"></a><h3>
194
194
<a name="bonobo-event-source-new"></a>bonobo_event_source_new ()</h3>
195
 
<a class="indexterm" name="id2613708"></a><pre class="programlisting">BonoboEventSource*  bonobo_event_source_new             (void);</pre>
 
195
<a class="indexterm" name="id2917917"></a><pre class="programlisting">BonoboEventSource*  bonobo_event_source_new             (void);</pre>
196
196
<p>
197
197
Creates a new BonoboEventSource object.  Typically this
198
198
object will be exposed to clients through CORBA and they
216
216
</div>
217
217
<hr>
218
218
<div class="refsect2" lang="en">
219
 
<a name="id2613776"></a><h3>
 
219
<a name="id2917985"></a><h3>
220
220
<a name="bonobo-event-source-notify-listeners"></a>bonobo_event_source_notify_listeners ()</h3>
221
 
<a class="indexterm" name="id2613790"></a><pre class="programlisting">void                bonobo_event_source_notify_listeners
 
221
<a class="indexterm" name="id2917998"></a><pre class="programlisting">void                bonobo_event_source_notify_listeners
222
222
                                                        (BonoboEventSource *event_source,
223
223
                                                         const char *event_name,
224
224
                                                         const CORBA_any *opt_value,
264
264
</div>
265
265
<hr>
266
266
<div class="refsect2" lang="en">
267
 
<a name="id2613937"></a><h3>
 
267
<a name="id2918145"></a><h3>
268
268
<a name="bonobo-event-source-notify-listeners-full"></a>bonobo_event_source_notify_listeners_full ()</h3>
269
 
<a class="indexterm" name="id2613951"></a><pre class="programlisting">void                bonobo_event_source_notify_listeners_full
 
269
<a class="indexterm" name="id2918160"></a><pre class="programlisting">void                bonobo_event_source_notify_listeners_full
270
270
                                                        (BonoboEventSource *event_source,
271
271
                                                         const char *path,
272
272
                                                         const char *type,
316
316
</div>
317
317
<hr>
318
318
<div class="refsect2" lang="en">
319
 
<a name="id2614106"></a><h3>
 
319
<a name="id2918315"></a><h3>
320
320
<a name="bonobo-event-source-client-remove-listener"></a>bonobo_event_source_client_remove_listener ()</h3>
321
 
<a class="indexterm" name="id2614122"></a><pre class="programlisting">void                bonobo_event_source_client_remove_listener
 
321
<a class="indexterm" name="id2918330"></a><pre class="programlisting">void                bonobo_event_source_client_remove_listener
322
322
                                                        (Bonobo_Unknown object,
323
323
                                                         Bonobo_Listener listener,
324
324
                                                         CORBA_Environment *opt_ev);</pre>
350
350
</div>
351
351
<hr>
352
352
<div class="refsect2" lang="en">
353
 
<a name="id2614212"></a><h3>
 
353
<a name="id2918421"></a><h3>
354
354
<a name="bonobo-event-source-client-add-listener"></a>bonobo_event_source_client_add_listener ()</h3>
355
 
<a class="indexterm" name="id2614226"></a><pre class="programlisting">void                bonobo_event_source_client_add_listener
 
355
<a class="indexterm" name="id2918434"></a><pre class="programlisting">void                bonobo_event_source_client_add_listener
356
356
                                                        (Bonobo_Unknown object,
357
357
                                                         <a class="link" href="libbonobo-bonobo-listener.html#BonoboListenerCallbackFn">BonoboListenerCallbackFn</a> event_callback,
358
358
                                                         const char *opt_mask,
398
398
</div>
399
399
<hr>
400
400
<div class="refsect2" lang="en">
401
 
<a name="id2614361"></a><h3>
 
401
<a name="id2918570"></a><h3>
402
402
<a name="bonobo-event-source-has-listener"></a>bonobo_event_source_has_listener ()</h3>
403
 
<a class="indexterm" name="id2614374"></a><pre class="programlisting"><a
 
403
<a class="indexterm" name="id2918583"></a><pre class="programlisting"><a
404
404
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
405
405
>gboolean</a>            bonobo_event_source_has_listener    (BonoboEventSource *event_source,
406
406
                                                         const char *event_name);</pre>
435
435
</div>
436
436
<hr>
437
437
<div class="refsect2" lang="en">
438
 
<a name="id2614462"></a><h3>
 
438
<a name="id2918671"></a><h3>
439
439
<a name="bonobo-event-source-client-add-listener-closure"></a>bonobo_event_source_client_add_listener_closure ()</h3>
440
 
<a class="indexterm" name="id2614476"></a><pre class="programlisting">void                bonobo_event_source_client_add_listener_closure
 
440
<a class="indexterm" name="id2918685"></a><pre class="programlisting">void                bonobo_event_source_client_add_listener_closure
441
441
                                                        (Bonobo_Unknown object,
442
442
                                                         <a
443
443
href="/usr/share/gtk-doc/html/gobject/gobject-Closures.html#GClosure"
477
477
</div>
478
478
<hr>
479
479
<div class="refsect2" lang="en">
480
 
<a name="id2614589"></a><h3>
 
480
<a name="id2918797"></a><h3>
481
481
<a name="bonobo-event-source-client-add-listener-full"></a>bonobo_event_source_client_add_listener_full ()</h3>
482
 
<a class="indexterm" name="id2614603"></a><pre class="programlisting">Bonobo_Listener     bonobo_event_source_client_add_listener_full
 
482
<a class="indexterm" name="id2918811"></a><pre class="programlisting">Bonobo_Listener     bonobo_event_source_client_add_listener_full
483
483
                                                        (Bonobo_Unknown object,
484
484
                                                         <a
485
485
href="/usr/share/gtk-doc/html/gobject/gobject-Closures.html#GClosure"
524
524
</div>
525
525
<hr>
526
526
<div class="refsect2" lang="en">
527
 
<a name="id2614726"></a><h3>
 
527
<a name="id2918934"></a><h3>
528
528
<a name="bonobo-event-source-ignore-listeners"></a>bonobo_event_source_ignore_listeners ()</h3>
529
 
<a class="indexterm" name="id2614740"></a><pre class="programlisting">void                bonobo_event_source_ignore_listeners
 
529
<a class="indexterm" name="id2918949"></a><pre class="programlisting">void                bonobo_event_source_ignore_listeners
530
530
                                                        (BonoboEventSource *event_source);</pre>
531
531
<p>
532
532
Instructs the event source to de-register any listeners
545
545
</div>
546
546
</div>
547
547
<div class="refsect1" lang="en">
548
 
<a name="id2614794"></a><h2>See Also</h2>
 
548
<a name="id2919003"></a><h2>See Also</h2>
549
549
<p>
550
550
  <a class="link" href="libbonobo-bonobo-listener.html#BonoboListener"><span class="type">BonoboListener</span></a> <a class="link" href="libbonobo-bonobo-arg.html#BonoboArg"><span class="type">BonoboArg</span></a>
551
551
</p>
552
552
</div>
553
553
<div class="refsect1" lang="en">
554
 
<a name="id2614820"></a><div class="refsect2" lang="en"><a name="id2614821"></a></div>
 
554
<a name="id2919029"></a><div class="refsect2" lang="en"><a name="id2919030"></a></div>
555
555
<hr>
556
 
<div class="refsect2" lang="en"><a name="id2614822"></a></div>
 
556
<div class="refsect2" lang="en"><a name="id2919031"></a></div>
557
557
</div>
558
558
</div>
559
559
</body>