Re: Added tooltip to display details of items in TreeView
- From: "Andrew E. Makeev" <andrew solvo ru>
- To: Bob Caryl <bob fis-cal com>
- Cc: Tony Yum <tony tony-yum co uk>, Gtkmm <gtkmm-list gnome org>
- Subject: Re: Added tooltip to display details of items in TreeView
- Date: Fri, 06 May 2005 18:41:01 +0400
Bob Caryl wrote:
Tony Yum wrote:
That connection syntax should probably be:
signal().connect(sigc::bind<bool>(sigc::mem_fun(object, &mem_fun),
false));
where mem_fun expects the boolean value as a formal parmater.
I don't think that was changed in Gtkmm-2.6 comparing to Gtkmm-2.4, but
connect() function has 2 arguments: 1 - connection slot, 2 - flag after
= true by default. So, if you would your callback to be called before
other handlers you should to pass false as second argument. Instead, you
may wish to use connect_notify() function that "sending" after = false.
Regards,
-andrew
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]