I have just noticed an odd challenge with my GTKsharp applications.

Just having started to use Monodevelop to write applications I notice
that the accelerators I set for menus can be changen at runtime by the
user.

I am using a Debian 6 stable ie. Monodeveloper 2.4.

I tried going back to basics and followed the Monodeveloper tutorial
for making the "logviewer" software example
(http://monodevelop.com/Documentation/Stetic_GUI_Designer)

When I make the menubar with the typical File -> Open / Close / Exit
and set the accelerators for Open, Close and Exit they show up nicely
in the menu as expected.

Ie. like this :
File
Open   ctrl-O
Close   ctrl-L
Exit    ctrl-X

Now when running the program - open the menu and highlight a menu entry
and press a key that is not assigned to one of the accelerators - the
highlighted entrys accelerator changes to the key I pressed.

Is this normal behaviour - and not least - how do I disable this
behaviour?


-- 
ordo ab chao!
_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to