Disable 'select all' behavior on grab focus at Label

I’m using GtkNotebook, and when switching the tab, page grabs focus on Label content. But it also make this text auto selected.

Can I disable that behavior, or focus remove to another widget is only the one solution?

1 Like

Assign the focus on page switch, or mark the label as not selectable.

GTK has to assign a key focus to a widget on the page, but only you know which widget should have it; it’s your UI.

2 Likes

Thanks for reply, I’ll change focus to another object so

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.