Task: Clear the tab-selection focus in the viewer

TASK-DESCRIPTION

Selecting a tab makes GtkNotebook focus the first focusable child of the new page. In the vCard and About tabs that child is a selectable title label, so the title arrives selected. After the page switch settles, clear the window focus; the values remain selectable by hand, but opening a tab selects nothing. Clear the initial focus after the window is presented in the same way.

TASK-OUTPUT

Produce these complete files in this order, then the VERIFICATION: line: 1. sources/tools/vcard_viewer_ui.cpp 2. prompts/features/06-command-line-tools.md 3. prompts/tasks/00-tasks.md 4. TODO.md

TASK-CONTEXT

The focus is cleared with gtk_window_set_focus(window, NULL) from an idle callback connected to the notebook’s switch-page signal, and once after gtk_window_present.

Keep the labels selectable when a person clicks them; clear only the automatic focus and selection that a tab switch causes.

TASK-FILES

Operation Path
modify sources/tools/vcard_viewer_ui.cpp
modify prompts/features/06-command-line-tools.md
modify prompts/tasks/00-tasks.md
modify TODO.md

TASK-VERIFY

TASK-FEATURES

TASK-ACCEPTANCE

OUTPUT: the complete files in the order listed, ending with the VERIFICATION: line.