nanogui: flnx callback functions


Previous by date: 27 Sep 2005 10:14:28 +0100 Problem with event capture -- code added, amareesh
Next by date: 27 Sep 2005 10:14:28 +0100 Re: Hi greg reagrding Displaying menu in microwindows, Harshapvstus
Previous in thread:
Next in thread:

Subject: flnx callback functions
From: "Marcel Karras" ####@####.####
Date: 27 Sep 2005 10:14:28 +0100
Message-Id: <3650.217.246.152.23.1127812461.squirrel@freebits.de>

Hello,

I know that this might be the wrong group for this matter but I hope
someone can help me even though.
I want to call a class member function whenever a button is pressed. The
button is a class variable and is initialized inside the constructor. The
attempt to call "b_answer->callback(&SipPhone::cb_answer)" fails out of
some casting problems. How to cast the function "void SipPhone ::
cb_answer(Fl_Widget *w, void *data)" to a function type of "void
(*)(Fl_Widget*, void*)"?

Regards
- Marcel Karras




Previous by date: 27 Sep 2005 10:14:28 +0100 Problem with event capture -- code added, amareesh
Next by date: 27 Sep 2005 10:14:28 +0100 Re: Hi greg reagrding Displaying menu in microwindows, Harshapvstus
Previous in thread:
Next in thread:


Powered by ezmlm-browse 0.20.