Block a signal for a hierarchy of widget
- From: Emmanuel Pacaud <emmanuel gnome org>
- To: gtk-list gnome org
- Subject: Block a signal for a hierarchy of widget
- Date: Wed, 19 Apr 2017 15:19:12 +0200
Hi,
Is there a way to unblock/block the emission of signals for a hierarchy
of widgets ?
The reason I'm asking is because of this sort of code I'm using:
https://github.com/AravisProject/aravis/blob/master/viewer/arvviewer.c#L588
It is not very convenient and error prone to register every connected
signals and block/unblock them when one want to update some widgets
programmatically.
Cheers,
Emmanuel.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]