Hi Ian, 2016-10-28 4:31 GMT+02:00 Ian Martin <martin...@vodafone.co.nz>:
> You probably don't want to change the value that key returns; > That's exactly what I'm trying to do... ... I need a method, or some way, capable to fix, in the scope of the application, another values to a physical keyboard keys. ... I'm wonder if Gdk::Device::set_key () should be the suitable tool. If so, if I'm not wrong... could you link me the info about the macros index... the first parameter ? 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. > In my case is a very bad option... Thanks Glus > Ian. > > 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) > > Glus > > > _______________________________________________ > gtkmm-list mailing > listgtkmm-list@gnome.orghttps://mail.gnome.org/mailman/listinfo/gtkmm-list > > > > _______________________________________________ > gtkmm-list mailing list > gtkmm-list@gnome.org > https://mail.gnome.org/mailman/listinfo/gtkmm-list > >
_______________________________________________ gtkmm-list mailing list gtkmm-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtkmm-list