~ubuntu-branches/ubuntu/wily/libsigc++-2.0/wily-proposed

« back to all changes in this revision

Viewing changes to docs/manual/html/ch02s04.html

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Burrows
  • Date: 2005-07-10 14:34:54 UTC
  • mfrom: (2.1.1 sarge)
  • Revision ID: james.westby@ubuntu.com-20050710143454-1lickjxb8hzzupx7
Tags: 2.0.10-3
Fix dh_makeshlibs call (it WOULD be the one that I didn't check that
needed to be changed; Closes: #317682).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Disconnecting</title><meta name="generator" content="DocBook XSL Stylesheets V1.65.1"><link rel="home" href="index.html" title="LibSigC++"><link rel="up" href="ch02.html" title="Chapter�2.�Connecting your code to signals"><link rel="previous" href="ch02s03.html" title="Signals with parameters"><link rel="next" href="ch03.html" title="Chapter�3.�Writing your own signals"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Disconnecting</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch02s03.html">Prev</a>�</td><th width="60%" align="center">Chapter�2.�Connecting your code to signals</th><td width="20%" align="right">�<a accesskey="n" href="ch03.html">Next</a></td></tr></table><hr></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2447495"></a>Disconnecting</h2></div></div><div></div></div><p>If you decide you no longer want your code to be called whenever a signal is
 
2
        emitted, you must remember the return value of <tt class="literal">connect()</tt>, which we've been
 
3
        ignoring until now.</p><p><tt class="literal">connect()</tt> returns a <tt class="literal">sigc::connection</tt> object, which has a <tt class="literal">disconnect()</tt> member method. This does just what you think it does.</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch02s03.html">Prev</a>�</td><td width="20%" align="center"><a accesskey="u" href="ch02.html">Up</a></td><td width="40%" align="right">�<a accesskey="n" href="ch03.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Signals with parameters�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">�Chapter�3.�Writing your own signals</td></tr></table></div></body></html>