☰ Menu
Home›Command-line Tools›libsigc++
CLI Open source 26 installs/mo

libsigc++ for Mac

libsigc++

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++

  1. Open Terminal (press ⌘ + Space and type “Terminal”).
  2. If Homebrew is not installed yet, run the command below first.
  3. Run this command:

Latest 10 releases

Last updated 2026-05-17; current version 3.8.1, with the latest 10 releases listed.

VersionReleasedTypeSizemacOSWindowsLinux
3.8.12026-05-17Stable973 KBDownload——
2.12.22026-05-17Stable5.1 MB———
3.8.02025-10-26Stable972 KB———
3.6.02023-10-01Stable968 KB———
2.12.12023-10-01Stable4.8 MB———
3.4.02022-12-23Stable927 KB———
2.12.02022-12-23Stable4.8 MB———
3.2.02022-02-11Stable767 KB———
2.10.82022-02-11Stable4.8 MB———
3.0.72021-05-20Stable772 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:

Compared with similar apps

Only public metadata is compared, with no subjective recommendation; see the compare pages for field-by-field comparisons.

Compared with similar apps
AppVersionLicenseArchitecture30-day installs
libsigc++3.8.1LGPL-3.0-or-laterCLI26
libsigc++@23.8.1LGPL-2.1-or-laterCLI19
eventppv0.1.3Apache-2.0CLI1
openssl@4openssl-4.1.0Apache-2.0CLI494,798

Similar apps: Command-line Tools

Leave a comment

评论表单加载中…