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

Documentation error in wx.aui.AuiManager.GetDockSizeConstraint #2623

Open
komoto48g opened this issue Oct 12, 2024 · 0 comments
Open

Documentation error in wx.aui.AuiManager.GetDockSizeConstraint #2623

komoto48g opened this issue Oct 12, 2024 · 0 comments

Comments

@komoto48g
Copy link
Contributor

komoto48g commented Oct 12, 2024

Operating system: Windows 10
wxPython version & source: 4.2.2 (pypi)
Python version & source: 3.12

Description of the problem:
https://docs.wxpython.org/wx.aui.AuiManager.html#wx.aui.AuiManager.GetDockSizeConstraint
The argument description is incorrect.

>>> help(wx.aui.AuiManager.GetDockSizeConstraint)
Help on built-in function GetDockSizeConstraint:

GetDockSizeConstraint(...)
    GetDockSizeConstraint(widthpct, heightpct)

    Returns the current dock constraint values.

The correct description is:

GetDockSizeConstraint(...)
    GetDockSizeConstraint()

    Returns the current dock constraint values (widthpct, heightpct).
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

1 participant