Re: connecting signal_timeout()
- From: Emilian Nowak <emiml wp pl>
- To: "Jonathon Jongsma" <jonathon jongsma gmail com>, gtkmm-list gnome org
- Cc:
- Subject: Re: connecting signal_timeout()
- Date: Sat, 25 Feb 2006 15:44:24 +0100
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]