Re: Added tooltip to display details of items in TreeView

2005-05-13 Thread Chris Vine
On Friday 06 May 2005 15:41, Andrew E. Makeev wrote: Bob Caryl wrote: Tony Yum wrote: That connection syntax should probably be: signal().connect(sigc::bindbool(sigc::mem_fun(object, mem_fun), false)); where mem_fun expects the boolean value as a formal parmater. I don't think

Re: Added tooltip to display details of items in TreeView

2005-05-13 Thread Murray Cumming
On Fri, 2005-05-13 at 21:52 +0100, Chris Vine wrote: On Friday 06 May 2005 15:41, Andrew E. Makeev wrote: Bob Caryl wrote: Tony Yum wrote: That connection syntax should probably be: signal().connect(sigc::bindbool(sigc::mem_fun(object, mem_fun), false)); where mem_fun

Re: Added tooltip to display details of items in TreeView

2005-05-06 Thread Tony Yum
On Fri, 2005-05-06 at 09:58 +0400, Andrew E. Makeev wrote: Tony Yum wrote: In your case you should use Gdk namespace: Gdk::POINTER_MOTION_MASK. Ah, I just noticed the warning Gtk-CRITICAL **: gtk_widget_set_events: assertion `!GTK_WIDGET_REALIZED (widget)' failed So I cannot

Re: Added tooltip to display details of items in TreeView

2005-05-06 Thread Bob Caryl
Tony Yum wrote: On Fri, 2005-05-06 at 09:58 +0400, Andrew E. Makeev wrote: Tony Yum wrote: In your case you should use Gdk namespace: Gdk::POINTER_MOTION_MASK. Ah, I just noticed the warning Gtk-CRITICAL **: gtk_widget_set_events: assertion `!GTK_WIDGET_REALIZED (widget)'

Re: Added tooltip to display details of items in TreeView

2005-05-06 Thread Andrew E. Makeev
Bob Caryl wrote: Tony Yum wrote: That connection syntax should probably be: signal().connect(sigc::bindbool(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()

Re: Added tooltip to display details of items in TreeView

2005-05-05 Thread Andrew E. Makeev
Tony Yum wrote: Dear all, I have just started using gtkmm and forgive me if the question might be a bit silly. But I don't seemed to be able to add tooltip to treeview items. i.e. I wish to display detail of the items in the treeview when I hover hover it. The tooltip object sets the text for

Re: Added tooltip to display details of items in TreeView

2005-05-05 Thread Andrew E. Makeev
Tony Yum wrote: I don't think I understand what you mean by generating an ENTER notify event? Doesn't gtkmm widget know that when a mouse is entered anyway? If not do I have to attach the signal_enter_notify_event to some slot? What slot do I have to attached it to? If you look closer at my