#73385 - gtk_label_new_with_mnemonic() works wrong with '\n'



Hi,

The bug #73385 was closed as not a bug. I understand now that 1000000 may be
used but why gtk_label_get_mnemonic_keyval() returns this value? Why not
GDK_Return (0xFF0D) (or GDK_Linefeed (0xFF0A))?

Test case.
---------
#include <gtk/gtk.h>

int
main (int argc, char** argv)
{

GtkWidget* label;

gtk_init (&argc, &argv);

label = gtk_label_new_with_mnemonic ("qwe_\nrty");
printf ("mnemonic keyval = %x\n", gtk_label_get_mnemonic_keyval (GTK_LABEL
(label)));

}

Output:
-------
mnemonic keyval = 100000a


Thanks,
    Vitaly.





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