File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 1212
1313#include < iostream>
1414
15+ #define PROPAGATE_SIG true
16+ #define DO_NOT_PROPAGATE_SIG false
17+
1518
1619/* *
1720 * @brief AppWindow Constructor.
@@ -183,15 +186,15 @@ void AppWindow::handle_display_update()
183186 * @param[in] scroll_type The type of "scrolling" event that triggered this callback.
184187 * @param[in] radix_new The new value after the "scrolling" event, which will be the new radix value.
185188 *
186- * @returns
189+ * @returns (boolean) Whether this signal should propagate further to other handlers after this.
187190 */
188191bool AppWindow::handle_radix_change (
189192 Gtk::ScrollType const & scroll_type
190193 , double const & radix_new
191194)
192195{
193196 short int count = 0 ;
194-
197+
195198 for (auto const & btn_ptr : btn_arr)
196199 {
197200 btn_ptr->set_sensitive (
@@ -200,7 +203,7 @@ bool AppWindow::handle_radix_change(
200203 count += 1 ;
201204 }
202205
203- return (false );
206+ return (DO_NOT_PROPAGATE_SIG );
204207}
205208
206209
You can’t perform that action at this time.
0 commit comments