Win32 problem with accels and layouts.



Hello.

I have problems with mnemonics and accels when I switch win keyboard layout. Version of gtk is 2.2.4.1 from sf.net. I have to layouts - US and RU (cp1251). 

How to reproduce problems: run gtk-demo, start Application example (first). Try Alt+F, all works, close application, switch layout, start it again. Nothing happend when you press Alt+F again.

Another example:

#include <gtk/gtk.h>

int main( int   argc,
          char *argv[] )
{
    GtkWidget *window;
    GtkWidget *label;
    
    gtk_init (&argc, &argv);
    
    window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
    label = gtk_button_new_with_mnemonic ("_");
    gtk_container_add (GTK_CONTAINER(window), label);
    gtk_widget_show_all  (window);
    
    gtk_main ();
    
    return 0;
}


this label contains russian utf8-text with shortcut, but it can't be used. 

Is it right place to look for code in gdk/win32/gdkkeys-win32.c?



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