Re: Accessing combo box text
- From: Daniel Boles <dboles src gmail com>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: Accessing combo box text
- Date: Sat, 22 Jul 2017 10:36:47 +0100
You only connect the signal handler that does the print, if the Builder returned a non-null pointer. Have you checked whether the Builder actually returns a non-null pointer, i.e. successfully looks up the widget with name Product_Combo to m_combo!?
I would recommend, as always, assert()ing that all points are non-nullptr before dereferencing them, and if possible compiling with UBsan so that it can often catch that if you don't.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]