Re: connecting a callback to a boolean value
- From: Murray Cumming <murrayc murrayc com>
- To: tc6 <tc6 free fr>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: connecting a callback to a boolean value
- Date: Sun, 17 Apr 2005 11:52:52 +0200
On Sun, 2005-04-17 at 09:11 +0200, tc6 wrote:
> unfortunately no widget causes the boolean to change its value. Indeed
> it is gnet_udp_socket_has_packet return value.
>
> Any idea about how this function may call a callback when changing value?
if(result)
signal_your_sigc_signal.emit(your_signal_parameters);
See the libsigc++ documentation for more help on creating your own
signals.
--
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]