Gtk::AccelKey key names on Windows



Hi to all!

The following piece of code

	action_group_->add( Gtk::Action::create( "Front", "Front" ),
Gtk::AccelKey( "KP_1", "<Actions>//Front" ),
			    mem_fun( editor_, &Editor::FrontView ) );

does not seem to do anything on Windows. The accelerator that is
defined here is shown in the menu, but when I press the "1" key on the
numeric keypad, nothing happens (neither with nor without Num lock).
I'm told by the original author that this works as intended on Linux
(I'm just the porting guy).

I've already looked into the parts of the gtkmm and gtk source that
are called here, but I couldn't find anything suspicious. Are the
accepted key names the same on Win32 and Linux, or are there major
differences? Is there at least a common set of key names that works on
both platforms?

I would be grateful if someone could shed some light on this issue.

--
(defun f(p x)(If(Eq x nil)nil(If(p(Car x))(Cons(Car x)(f p(Cdr x)))(f p
(Cdr x)))))(defun q(x)(Q nil x))(defun Q(a x)(If(Eq x nil)a(Q(Cons(Car
x)(Q a(f(Lt(Car x))(Cdr x))))(f(Gt(Car x))(Cdr x)))))



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