Re: Forming reference to reference



Am Montag, den 12.09.2005, 16:16 +0530 schrieb Surya Kiran Gullapalli:
> Hi,
> I've recently updated gnome 2.10 to 2.12, and my small application, 
> which was using old gtkmm, now not working.
> 
> Thanks to sigc in this respect.
> 
> I've this function call for CellRendererText,
> ==================
> signal_edited ().connect (sigc::bind<Gtk::Widget&>
>             (sigc::mem_fun (*this, &CXCellRendererText::editing_over), 
> widget)) ;
> ===================
> where widget is Gtk::Widget&.
> 
> The compile error i'm getting is
> 
> 
> sigc++-2.0/sigc++/adaptors/bound_argument.h:57: error: forming reference 
> to reference type `Gtk::Widget&'
> sigc++-2.0/sigc++/adaptors/bound_argument.h:64: error: forming reference 
> to reference type `Gtk::Widget&'
> sigc++-2.0/sigc++/adaptors/bound_argument.h:70: error: forming reference 
> to reference type `Gtk::Widget&'
> 
> 
> Any body have this kind of problem??
> 
> I looked at libsigc list, where a similar question has been put (in the 
> month of june), but no answer to that..
> 
> Any help would be greatly appreciated.
> 
> Thanks in advance.
> Surya
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
> 

I haven'T used GTK in its erly versions but I use now some thing like:

this->signal_edited().connect(sigc::mem_fun (this,
&CXCellRendererText::editing_over)); 

A good place to look into is the tutorial in the GTK dokumentation...

Sean







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]