[gtkmm] Two beginners questions to signal handling



Hi, itīs me again :-)

The callback function of form B should trigger
the values displayed in form A to update.
form A: build by constructor of class A
form B: build by constructor of class B

1. Is there a way to connect the signal handler
   B::something_in_B_selected() to A::update_values_in_A()?
   class A : public Gtk::VBox
   class B : public Gtk::VBox

2. If I want to update the values in a already
   displayed form A is it ok to just re-set the values
   and invoke show_all()?


TIA,
Andi




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]