On 17-08-2022 13:48, Dejan Lekic wrote:

I am trying to figure out why Notebook tabs lose underscores.

Say I want to have a Notebook with 3 tabs:

  ______  ______  _________________
/ Tab1 \/ Tab2 \/ with_underscore \

(I use all the default settings, these are all Labels behind the

scenes if I recall)

What I get with GtkD is the following:

  ______  ______  ________________
/ Tab1 \/ Tab2 \/ withunderscore \

What am I doing wrong?

By default the underscore is treated as a mark for the mnemonic. You can
use a double underscore to get an literal underscore in the label.