libsigc++ for Mac
Callback framework for C++
libsigc++ — overview
libsigc++ Typesafe Callback Framework for C++
Introduction
libsigc++ (a.k.a. libsigcplusplus) implements a typesafe callback system for standard C++. It allows you to define signals and to connect those signals to any callback function, either global or a member function, regardless of whether it is static or virtual.
libsigc++ is used by gtkmm to wrap the GTK signal system. It does not depend on GTK or gtkmm.
sigc++-2.0 and sigc++-3.0 are different parallel-installable ABIs. This file describes sigc++-3.0.
License
Distribution of library and components is under the LGPL as listed in the file COPYING. Examples and tests are Public Domain.
Compatibility
Compatible compilers must support C++17, such as the decltype(auto) specifier (from C++14) and std::invoke().
General information
Web site https://libsigcplusplus.github.io/libsigcplusplus/
Download location https://download.gnome.org/sources/libsigc++/ (until 3.6.0) https://github.com/libsigcplusplus/libsigcplusplus/releases/
Reference documentation https://libsigcplusplus.github.io/libsigcplusplus/reference/html/
Tarballs contain reference documentation. In tarballs generated with Meson, see the untracked/docs/docs/reference/html directory.
Discussion on GNOME's discourse forum https://discourse.gnome.org/tag/cplusplus https://discourse.gnome.org/c/platform
Git repository https://github.com/libsigcplusplus/libsigcplusplus
Bugs can be reported to https://github.com/libsigcplusplus/libsigcplusplus/issues
Patches can be submitted to https://github.com/libsigcplusplus/libsigcplusplus/pulls
Building
Whenever possible, you should use the official binary packages approved by the supplier of your operating system, such as your Linux distribution. For instance, Ubuntu Linux, Debian Linux and Fedora Linux have official libsigc++ packages.
Building the documentation
The reference documentaion is built with Doxygen.
The manual is a DocBook 5.0 document. These packages are recommended when building the manual (can have other names in other distros): docbook5-xml (Ubuntu and Debian) or docbook5-schemas (Fedora) docbook-xsl (Ubuntu and Debian) or docbook-style-xsl (Fedora)
It may be possible to build without these packages, but it will be slow and error prone. The xmllint command is told to read files from http://docbook.org. The xsltproc command is told to read files from http://docbook.sourceforge.net. The commands first search for local copies of those files. If local copies exist and are installed at expected locations, the commands make no network accesses.
Building from a release tarball
Building from a release tarball is easier than building from git.
It's easiest to build with Meson, if the tarball was made with Meson, and to build with Autotools, if the tarball was made with Autotools. Then you don't have to use maintainer-mode.
Details
C语言回调框架
How to install libsigc++
- Open Terminal (press ⌘ + Space and type “Terminal”).
- If Homebrew is not installed yet, run the command below first.
- Run this command:
Latest 10 releases
Last updated 2026-05-17; current version 3.8.1, with the latest 10 releases listed.
| Version | Released | Type | Size | macOS | Windows | Linux |
|---|---|---|---|---|---|---|
| 3.8.1 | 2026-05-17 | Stable | 973 KB | Download | — | — |
| 2.12.2 | 2026-05-17 | Stable | 5.1 MB | — | — | — |
| 3.8.0 | 2025-10-26 | Stable | 972 KB | — | — | — |
| 3.6.0 | 2023-10-01 | Stable | 968 KB | — | — | — |
| 2.12.1 | 2023-10-01 | Stable | 4.8 MB | — | — | — |
| 3.4.0 | 2022-12-23 | Stable | 927 KB | — | — | — |
| 2.12.0 | 2022-12-23 | Stable | 4.8 MB | — | — | — |
| 3.2.0 | 2022-02-11 | Stable | 767 KB | — | — | — |
| 2.10.8 | 2022-02-11 | Stable | 4.8 MB | — | — | — |
| 3.0.7 | 2021-05-20 | Stable | 772 KB | — | — | — |
Data from GitHub Releases; stable releases first, each group sorted newest first.
Depended on by 7 apps
The following apps install it automatically, ranked by 30-day installs:
- glibmm161 installs/mo
- graph-tool60 installs/mo
- pangomm58 installs/mo
- cairomm37 installs/mo
- gtkmm431 installs/mo
- atkmm21 installs/mo
- atkmm21 installs/mo
Compared with similar apps
Only public metadata is compared, with no subjective recommendation; see the compare pages for field-by-field comparisons.
| App | Version | License | Architecture | 30-day installs |
|---|---|---|---|---|
| libsigc++ | 3.8.1 | LGPL-3.0-or-later | CLI | 26 |
| libsigc++@2 | 3.8.1 | LGPL-2.1-or-later | CLI | 19 |
| eventpp | v0.1.3 | Apache-2.0 | CLI | 1 |
| openssl@4 | openssl-4.1.0 | Apache-2.0 | CLI | 494,798 |
Similar apps: Command-line Tools
libsigc++@2
Callback framework for C++eventpp
eventpp -- C++ library for event dispatcher and callback list eventpp -- C++ library for event…openssl@4
Cryptography and SSL/TLS Toolkitxz
General-purpose data compression with high compression ratiopkgconf
pkgconf is a program which helps to configure compiler and linker flags for development…node
Node.js is an open-source, cross-platform JavaScript runtime environment.Categories: Command-line Tools