Lazarus
Programming => Widgetset => GTK => Topic started by: AlexTP on January 15, 2019, 08:07:49 am
-
Seems some GTK2 caveat. name "work_local" in column title of listview. Shows as "worklocal" with underlined "l" char.
Pls fix.
-
It's a widgetset gotcha, I think. IIRC the underline character is used in the GTK API for the same purpose the ampersand is in the Windows API.
-
https://developer.gnome.org/gtk3/3.5/GtkButton.html
If characters in label are preceded by an underscore, they are underlined. If you need a literal underscore character in a label, use “__” (two underscores). The first underlined character represents a keyboard accelerator called a mnemonic.
//Maybe will try making a patch
-
Fix here https://bugs.freepascal.org/view.php?id=34882
Someone pls adapt it for Gtk3 (I cannot compile it)