Re: [gtkmm] mem_fun arg !
- From: Daniel Sundberg <dss home se>
- To: junk siology net
- Cc: gtkmm-list gnome org
- Subject: Re: [gtkmm] mem_fun arg !
- Date: Sat, 08 May 2004 15:29:25 +0200
junk siology net wrote:
hmm this would explain alot of problems ive been having :-) would you care to explain how i can go about using 2.0 ?
It depends on if you want to use Gtkmm-2.2 or gtkmm-2.4. The tutorial is
obviously based on how to do it in gtkmm-2.4. If you have got gtkmm-2.2
installed you should use "slot" instead of "mem_fun".
You probably have got gtkmm-2.2 installed since gtkmm-2.4 would not have
compiled with libsigc++-1.2...
Regards
Daniel Sundberg
---
http://sumpan.com
On Sat, 08 May 2004 15:07:07 +0200
Daniel Sundberg <dansun-8 student ltu se> wrote:
junk siology net wrote:
ok, during implementing this threaded system i was recommended a few days ago (thanks for that) ive run into this
m_button_df.signal_clicked().connect( SigC::mem_fun(*this, &PSKWindow::getcpuinfo) );
which errors with "mem_fun undeclared in namespace SigC"
also i have to use "SigC" not "sigc" thats in the examples. is this a gcc 3.2.x issue ? i notice the example's code uses no namespace or related lines of code.
It looks like your program is trying to use libsigc++-1.2 instead of 2.0...
/Daniel
_______________________________________________
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]