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

Variables, Enums, etc. in the API #51

Open
ArsThaumaturgis opened this issue May 11, 2020 · 2 comments
Open

Variables, Enums, etc. in the API #51

ArsThaumaturgis opened this issue May 11, 2020 · 2 comments

Comments

@ArsThaumaturgis
Copy link

Right now, API entries seem to include methods, but not variables, enums, and the like.

The manual does document at least some of these--but not exhaustively, I think. And furthermore, in some cases it may be easier to find an appropriate reference page by examining the expected containing class than by guessing at where in the manual a desired value might be mentioned.

Thus, since such variables, enums, and the like can, I think, be quite useful and even important, I suggest that they be added alongside methods in the API reference.

@rdb
Copy link
Member

rdb commented May 11, 2020

I do see enums:
https://docs.panda3d.org/1.10/python/reference/panda3d.core.NodePath#_CPPv49ErrorType

Is there a page where you are missing one? Or perhaps there is something about the way they are shown that makes them hard to find?

@ArsThaumaturgis
Copy link
Author

Hmm, you're right. (Although looking at that page prompts another thought for an enhancement...)

That said, one example might be DirectGuiGlobals: I see none of the state, style, event, etc. values defined there.

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

No branches or pull requests

2 participants