Thanks a lot for your response, José.

Maybe, you are reason but,... I don't reach to understand all things.
For example, how introduce and control an specific key (i.e.: F12)...

The exact situation is a Gtk toplevel Window which contains an Entry
default focus widget. The idea is capture different function keys in
order to switch data on the screen, even when writing in Entry box.

Could help ?

S.

El 21 / maig / 2009 21:41, José Alburquerque <[email protected]> ha escrit:
> On Thu, 2009-05-21 at 20:11 +0200, Sever P A wrote:
>> Hi,
>>
>> Problably, I complicated the question asking for complete code examples...
>>
>> I need to connect a method after F12 key pressed... just this !
>>
>> Is it possible ?
>
> Maybe by enabling keyboard events on your toplevel widget (or another, I
> don't konw) by using Gtk::Widget::set_events() or
> Gtk::Widget::add_events() and then connecting your widget to the
> Gtk::Widget::signal_key_press_event().  See the Gtk::Widget docs:
> http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1Widget.html.
>
> --
> José Alburquerque
>
>
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to