Re: connecting signal_timeout()



On 2006-02-24 (friday), at 17:29:24 "Jonathon Jongsma" wrote:

> Try this:
> Glib::signal_timeout().connect(sigc::mem_fun(*this,
> &SystemBar::update_gui_info), 1234);
Oki, thanks - it works

> i.e. use sigc::mem_fun instead of sigc::ptr_fun.  ptr_fun is for
> "plain" C-style functions.  mem_fun is for functions that are
> non-static class members
maybe this explanation should be added somewhere in documentation ?



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