Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Widgetset
»
GTK
»
[Solved] ListView columns render '_' wrong
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
[ANN] fpGUI Toolkit v2.0....
by
Graeme
[
Today
at 12:04:47 am]
Problem with Generic Cons...
by
Martin_fr
[February 09, 2026, 11:47:40 pm]
[ANN] PasBuild 1.2.0 Rele...
by
Graeme
[February 09, 2026, 11:34:03 pm]
[SOLVED] TFPGObjectList s...
by
Phoenix
[February 09, 2026, 11:18:33 pm]
Fixing Lazarus 4.4 IDE la...
by
Curt Carpenter
[February 09, 2026, 11:14:30 pm]
The Future of FPC
by
LeP
[February 09, 2026, 11:04:17 pm]
Debian removes FPC/Lazaru...
by
PascalDragon
[February 09, 2026, 09:58:13 pm]
Pre-Specialize Generic Fu...
by
PascalDragon
[February 09, 2026, 09:36:02 pm]
TRichMemo EM_FORMATRANGE ...
by
rvk
[February 09, 2026, 09:32:39 pm]
ListBox MeasureItem
by
TheCompanionCube
[February 09, 2026, 08:43:49 pm]
How to determine the unkn...
by
LV
[February 09, 2026, 08:34:15 pm]
it2play - IT/S3M module r...
by
Lulu
[February 09, 2026, 08:28:38 pm]
MVP made easier.
by
cdbc
[February 09, 2026, 08:27:52 pm]
Article “Lazarus vs Delph...
by
anse
[February 09, 2026, 07:41:13 pm]
ThorVG - test (lightweigh...
by
ALLIGATOR
[February 09, 2026, 07:30:21 pm]
Erasing the Canvas???
by
BubikolRamios
[February 09, 2026, 06:34:49 pm]
[SOLVED] Locate current r...
by
1HuntnMan
[February 09, 2026, 05:28:45 pm]
Dumping preprocessed work...
by
Чебурашка
[February 09, 2026, 04:27:58 pm]
[SOLVED] LPC & API
by
Petrus Vorster
[February 09, 2026, 03:01:32 pm]
Lazaris IDE v4.4 - extrem...
by
CM630
[February 09, 2026, 02:30:01 pm]
Keyboard hook - platform ...
by
n7800
[February 09, 2026, 01:49:51 pm]
[SOLVED] How to disable a...
by
Zvoni
[February 09, 2026, 11:50:40 am]
Free Pascal for a small e...
by
cdbc
[February 09, 2026, 11:35:12 am]
IStreams
by
cdbc
[February 09, 2026, 11:09:34 am]
I want to port my LDL pr...
by
JordanCpp
[February 09, 2026, 10:05:41 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [Solved] ListView columns render '_' wrong (Read 3830 times)
AlexTP
Hero Member
Posts: 2671
[Solved] ListView columns render '_' wrong
«
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.
«
Last Edit: January 16, 2019, 03:29:12 pm by Alextp
»
Logged
CudaText editor
-
ATSynEdit
-
More from me
lucamar
Hero Member
Posts: 4217
Re: ListView header shows name "work_local" with underlined "l" instead of "_"
«
Reply #1 on:
January 15, 2019, 12:29:43 pm »
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.
Logged
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!)
Lazarus/FPC 2.0.8/3.0.4 & 2.0.12/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.
AlexTP
Hero Member
Posts: 2671
Re: ListView header shows name "work_local" with underlined "l" instead of "_"
«
Reply #2 on:
January 15, 2019, 07:41:23 pm »
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
Logged
CudaText editor
-
ATSynEdit
-
More from me
AlexTP
Hero Member
Posts: 2671
Re: ListView header shows name "work_local" with underlined "l" instead of "_"
«
Reply #3 on:
January 16, 2019, 03:28:28 pm »
Fix here
https://bugs.freepascal.org/view.php?id=34882
Someone pls adapt it for Gtk3 (I cannot compile it)
Logged
CudaText editor
-
ATSynEdit
-
More from me
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Widgetset
»
GTK
»
[Solved] ListView columns render '_' wrong
TinyPortal
© 2005-2018