BWindow docs: Improve function descriptions
* Clarify what information BWindow::WorkspacesChanged provides * Clarify when BWindow::WorkspaceActivated is called Change-Id: Ifcb041bcf67db1ee5c1c514a2b97baa49f8c4dcc Reviewed-on: https://review.haiku-os.org/c/haiku/+/6257 Tested-by: Automation <[email protected]> Reviewed-by: Adrien Destugues <[email protected]>
This commit is contained in:
@@ -1056,10 +1056,11 @@
|
|||||||
/*!
|
/*!
|
||||||
\fn void BWindow::WorkspacesChanged(uint32 oldWorkspaces,
|
\fn void BWindow::WorkspacesChanged(uint32 oldWorkspaces,
|
||||||
uint32 newWorkspaces)
|
uint32 newWorkspaces)
|
||||||
\brief Hook method that gets called when the number of workspaces changes.
|
\brief Hook method that gets called whenever the workspaces the window is
|
||||||
|
in changes.
|
||||||
|
|
||||||
\param oldWorkspaces The old number of workspaces.
|
\param oldWorkspaces The old set of workspaces the window was visible in.
|
||||||
\param newWorkspaces The new number of workspaces.
|
\param newWorkspaces The new set of workspaces the window is visible in.
|
||||||
|
|
||||||
\since BeOS R3
|
\since BeOS R3
|
||||||
*/
|
*/
|
||||||
@@ -1069,6 +1070,9 @@
|
|||||||
\fn void BWindow::WorkspaceActivated(int32 workspace, bool state)
|
\fn void BWindow::WorkspaceActivated(int32 workspace, bool state)
|
||||||
\brief Hook method that gets called when the active workspace changes.
|
\brief Hook method that gets called when the active workspace changes.
|
||||||
|
|
||||||
|
This method is only called when a workspace in which the window resides
|
||||||
|
is activated or deactivated.
|
||||||
|
|
||||||
\param workspace The \a workspace number that was activated/deactivated.
|
\param workspace The \a workspace number that was activated/deactivated.
|
||||||
\param state \c true if activated, \c false if deactivated.
|
\param state \c true if activated, \c false if deactivated.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user