Re: [gtkmm] Objects and signal errors?



Ok.. I willl check.

Also, why in this example doesnt have SigC::Object:

class some_class
{
    void on_button_clicked();
};

some_class some_object;

main()
{
    Gtk::Button button;
    button.signal_clicked().connect( SigC::slot(&on_button_clicked) );
    button.signal_clicked().connect( SigC::slot(some_object,
&some_class::on_button_clicked) );
}



El dom, 03-11-2002 a las 15:06, ERDI Gergo escribió:
> On 3 Nov 2002, Pablo Fischer wrote:
> 
> > Hi, Im starting with gtkmm2, and well, I cant compile this little this:
> > 
> > 
> > class prueba5 {
> 
> You need to derive prueba5 from SigC::Object
> 
> -- 
>    .--= ULLA! =---------------------.   `We are not here to give users what
>    \     http://cactus.rulez.org     \   they want'  -- RMS, at GUADEC 2001
>     `---= cactus cactus rulez org =---'
> BEFA: Bad Excuse For an Acronym
> 
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
> 





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