|
| | ShellFrame (IViewBackend &backend, ContainerWidget *parent, ShellFrameOptions options) |
| | The frame, appended to parent.
|
|
| ShellFrame (ShellFrame const &)=delete |
|
ShellFrame & | operator= (ShellFrame const &)=delete |
|
| ShellFrame (ShellFrame &&)=delete |
|
ShellFrame & | operator= (ShellFrame &&)=delete |
| ContainerWidget & | page () noexcept |
| | The container the client places the workspace in.
|
| Navigator & | navigator () noexcept |
| | The navigator in the sidebar.
|
| ContainerWidget & | headSlot () noexcept |
| | The container in the top bar a client mounts the active screen's head row into, beside the title.
|
| void | setTitle (std::string_view title) |
| | Shows the shown screen's title in the top bar.
|
| void | setPrincipal (std::string_view principal) |
| | Shows who is signed in, in the top bar.
|
| void | showSignedIn (bool signedIn) |
| | Shows or hides the sidebar and the top bar: signed out, the page is all there is.
|
| void | showToast (std::string_view text, Tone tone) |
| | Shows a passive, transient message over the frame's main content area. Made the first time it is asked for; a later call replaces its text and tone and restarts its dismiss interval, whether or not it is still showing.
|
The frame around a client's screens.
A row filling the window: the sidebar (surface sidebar, kShellSidebarWidth units wide), holding the application's name and a Navigator, and the main column holding the top bar (surface toolbar: the shown screen's title, a slot for its active tab's head row, the principal and a sign-out button) above the page (surface page), where the client places the workspace. Signed out, the sidebar and the top bar are hidden and the page is all there is. Neither copyable nor movable; owned by the owner thread of its backend.
Definition at line 42 of file shell_frame.hpp.