Re: Block a signal for a hierarchy of widget

2017-04-20 Thread Paul Davis
let's take the example of a button. the button may serve one or both of two purposes: 1) to provide a target for the user to operate on in order to change the state of some part of the "model" within the program (e.g. the state of some variable) - for example, by clicking/pressing it 2)

Re: Block a signal for a hierarchy of widget

2017-04-20 Thread Emmanuel Pacaud
Hi Paul, Le mer. 19 avril 2017 à 20:57, Paul Davis a écrit : This normally means that you're not using appropriate model-view-controller design. Could you elaborate a bit ? I fail to see where the design of my application could solve this issue I have with the

Re: Block a signal for a hierarchy of widget

2017-04-19 Thread Paul Davis
This normally means that you're not using appropriate model-view-controller design. On Wed, Apr 19, 2017 at 2:19 PM, Emmanuel Pacaud wrote: > Hi, > > Is there a way to unblock/block the emission of signals for a hierarchy of > widgets ? > > The reason I'm asking is because

Block a signal for a hierarchy of widget

2017-04-19 Thread Emmanuel Pacaud
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