Re: Re:
- From: Culpian Camilo Martin <camiloculpian gmail com>
- To: Krzesimir Nowak <qdlacz gmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: Re:
- Date: Sat, 04 Dec 2010 16:31:09 -0300
El sáb, 04-12-2010 a las 20:07 +0100, Krzesimir Nowak escribió:
> 2010/12/4 Culpian Camilo Martin <camiloculpian gmail com>:
> > yes, i've called it like this:
> > my_dialog->add_events(Gdk::KEY_PRESS_MASK);
>
> Please use reply to all or something in your mail client, so it will
> preserve the topic.
>
> Also, you are connecting to this event that way:
> my_dialog->signal_key_press_event().connect(sigc::mem_fun(*this,
> &class_my_dialog::on_key_press_event));
>
> try it that way (it was mentioned in the docs):
>
> my_dialog->signal_key_press_event().connect(sigc::mem_fun(*this,
> &class_my_dialog::on_key_press_event), false);
>
> Note the additional 'false' at the end.
That's what i want, it works, thank you and cheers
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]