Re: Reprogramming keyboard keys


What you're asking doesn't make sense - unless you're planning to drive your users crazy.

You probably don't want to change the value that key returns; it's more likely you're trying to connect to a Gtk::Widget::signal_key_press_event().  That lets you do what you want with the signal when a user presses a key.

Check the documentation- you have to enable a mask to use this signal.


On 28/10/16 04:35, Glus Xof wrote:
Hi guys,

I'm looking for the way, in Gtk+, to reprogram the keyboard keys values...

Maybe, should be possible from using: (I don't know)

Glib::RefPtr<Gdk::Device> device_keyboard = ...get_display()->get_default_seat()->get_keyboard();

(I don't know if I explained it so clearly...but I hope so though)


gtkmm-list mailing list
gtkmm-list gnome org

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]