Skip to content

Python ImGui_MenuItem SyntaxError #4

@lucaromagnoli

Description

@lucaromagnoli

Hi,

First thank you so much for this amazing project.

I was playing around with the Python bindings. I just run the example https://github.com/cfillion/reaimgui/blob/master/examples/track_manager.py and came across this syntax error.

 File "/Applications/Reaper/Scripts/ReaTeam Extensions/API/imgui_python.py", line 3045
    def ImGui_MenuItem(ctx, label, shortcutInOptional = None, p_selectedInOut, enabledInOptional = None):
                                                                               ^
SyntaxError: non-default argument follows default argument

I have been able to fix my local imgui_python.py module and it seems to work. If I knew how that module is generated I'd make a PR but unfortunately I have zero c++ knowledge.

Cheers

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions