Re: [gtkmm] `slot' undeclared in namespace `SigC'



On Sun, Sep 26, 2004 at 01:39:41AM +1000, Russell Shaw wrote:
>   ...
>   button.signal_clicked().
>            connect(SigC::slot(*this,&Database::parts_button_cb));
> 
> I'm using gtmm-2.4 on debian and converting a program from gtk2.4 in C.

hi,

see /usr/share/doc/libglibmm-2.4-dev/CHANGES on your debian system.
glibmm-2.4 uses libsigc++ 2 and your call should look like

button.signal_clicked().
        connect(sigc::mem_fun(*this,&Database::parts_button_cb));

now.

-- 
Florian Schmidt			      schmidt_florian gmx de 
GCS d? s+: a-- C++++ UL+++ P--- L+++ E W- N+ o+ K++ w--- O-
M-- V- PS+ PE Y PGP- t++ 5- X+ R- tv+ b+ DI D G e+ h+ r-- y?



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