Files
Emil ErnerfeldtandClaude Fable 5.1 235f24eb9e Rename Ui::id to Ui::scope_id and clarify its docstring (#8542)
`Ui::id` was easy to confuse with `Ui::unique_id`. It is the id of the
_scope_ the `Ui` belongs to: stable across frames, shared by sibling
`Ui`s, and the base for widget state ids. `Ui::unique_id` is unique per
`Ui` but unstable.

This renames `Ui::id` to `Ui::scope_id` (old name deprecated) and
rewrites both docstrings to say so.

Follow-up to discussion in:
* https://github.com/emilk/egui/pull/8534#discussion_r3969041538

* [x] I have followed the instructions in the PR template

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-15 19:38:48 +02:00
..