Re: signals with parameters
- From: Armin Burgmeier <armin arbur net>
- To: gtkmm-list gnome org
- Subject: Re: signals with parameters
- Date: Fri, 05 Aug 2005 15:11:22 +0200
Seems like you want to use sigc::bind like that:
hscale->signal_value_changed().connect(sigc::bind(sigc::mem_fun(*this,
&Application::on_target_hscale_changed), hscale));
The callback function (on_target_hscale_changed), now takes a
Gtk::HScale* parameter as last argument.
- Armin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]