Re: Problem with sigc::bind
- From: Armin Burgmeier <armin arbur net>
- To: Johnson Zhao <tianqi1981 gmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: Problem with sigc::bind
- Date: Fri, 18 Nov 2005 17:02:05 +0100
Normally, you tell sigc::bind via the first template argument which
argument to bind to and not what type. I do not know whether there is
some magic to decide whether to interpret this argument as type or
argument number, but you may also try this:
m_TreeView.signal_row_activated().connect(
sigc::bind(
sigc::mem_fun(*this, &ComInfo::on_company_activated),
sigc::ref(window)
)
);
-- armin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]