Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AT-SPI: add "getRole" #172

Open
spectranaut opened this issue Apr 1, 2024 · 0 comments
Open

AT-SPI: add "getRole" #172

spectranaut opened this issue Apr 1, 2024 · 0 comments

Comments

@spectranaut
Copy link
Contributor

We currently have getRoleName which wraps atspi_accessible_get_role_name. We should also have a getRole, which would wrap atspi_accessible_get_role.

In general, for functions that return a constant or enum, we convert the name of the constant or enum to a string. Such as the windows getAccRole and in linux getStates.

I wonder if we should instead return the constant or enum directly, and provide a utility for the user of the library to convert it into a readable string.. but that can be a future change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant