Re: [gtkmm] signal_focus_out_event()
- From: Roger Leigh <roger whinlatter uklinux net>
- To: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: [gtkmm] signal_focus_out_event()
- Date: Tue, 13 Apr 2004 14:41:11 +0100
"Andreas B. Thun" <abt gmx de> writes:
>> has somebody an example for me how I connect signal_focus_out_event()
>> to a signal handler
>> and the argument list of the callback?
>> I get "no matching function to call..."
> No suggestions?
Have a look at the signal prototype:
Glib::SignalProxy1< bool, GdkEventFocus* > signal_focus_out_event ()
so your handler is like this:
bool on_foo_focus_out(GdkEventFocus *focus)
{
// do stuff
return true;
}
You might find the libsigc++ documentation useful here.
--
Roger Leigh
Printing on GNU/Linux? http://gimp-print.sourceforge.net/
GPG Public Key: 0x25BFB848. Please sign and encrypt your mail.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]