forwarding a signal
- From: picca synchrotron-soleil fr
- To: gtkmm-list gnome org
- Subject: forwarding a signal
- Date: Wed, 2 Aug 2006 11:52:00 +0200
Hello
I created a widget like this:
class AxeWidget : public Gtk::VBox
{
public:
AxeWidget(hkl::Axe & axe);
virtual ~AxeWidget(void);
void update(bool const & connect);
protected:
virtual void on_spinbutton_value_changed();
hkl::Axe & m_axe;
Gtk::Label m_label;
Gtk::SpinButton m_spinbutton;
sigc::connection m_on_value_changed;
};
I would like for another class to connect to a signal AxeWidget.signal_value_changed() with is in fact the m_spinbutton.signal_value_changed().
How can I proceed ?
Have a nice day.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]