Re: Control user change of SpinButton value



Josepo,

You can try connecting to Glib::SignalProxy1<bool,GdkEventKey*> Gtk::Widget::signal_key_press_event().
The callback then is a good place to check whether it was an arrow key that got pressed.

Btw, using a mutex for this purpose, as Bob had suggested, seems like a huge overkill to me.


Regards,

Nickolai


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